From owner-freebsd-questions Tue Mar 12 11:20:22 2002 Delivered-To: freebsd-questions@freebsd.org Received: from mclean.mail.mindspring.net (mclean.mail.mindspring.net [207.69.200.57]) by hub.freebsd.org (Postfix) with ESMTP id E619B37B483 for ; Tue, 12 Mar 2002 11:20:04 -0800 (PST) Received: from user-2ini9ed.dialup.mindspring.com ([165.121.37.205] helo=jayk1) by mclean.mail.mindspring.net with smtp (Exim 3.33 #1) id 16kroT-0002HS-00; Tue, 12 Mar 2002 14:19:58 -0500 Message-ID: <001701c1c9fa$dd588ee0$0100a8c0@jayk1> From: "Jay Krell" To: "Mike Meyer" Cc: References: <000701c1c9a5$224e7b00$0100a8c0@jayk1><15501.51763.23175.569530@guru.mired.org><002301c1c9f3$1e939970$4600a8c0@mshome.net> <15502.21329.449926.531499@guru.mired.org> Subject: Re: ports -- recursive make vs. recursive make install vs. su Date: Tue, 12 Mar 2002 11:19:40 -0800 MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 6.00.2600.0000 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2600.0000 Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG Ah..make depends. I'll try that..since most of the dependencies I figure are runtime *.so rather than buildtime m4/autoconf/gmake. I did make /usr/ports writable by everyone..there only really being root and myself.. Thanks, - Jay ----- Original Message ----- From: "Mike Meyer" To: "Jay Krell" Cc: Sent: Tuesday, March 12, 2002 11:13 AM Subject: Re: ports -- recursive make vs. recursive make install vs. su > [Context lost to top posting.] > > > I didn't realize some of the dependencies were only build dependencies..I > > guess stuff like autoconf/make/m4 are build only. > > Yup. They pretty much have to be installed to work. > > > > you generally don't want non-root users installing software. > > Right..but I was hoping to minimize what root did..like not do the build, > > takes a while, only do the quicker install..I was kind of thinking there's > > this ideal -- "minimize time running as root" -- I should try to live by..I > > guess that's at odds with *nix in a nonprofessional (home) environment and > > its infinite configurability, maybe I should always be root.. (yes, yes, I > > know that's considered a cardinal sin.) > > That's not a bad attitude, but ports is built to make installation > quick and easy, not minimize the time as root. > > > So the generally accepted practise is to make and make install ports as > > root? > > Yup. Unless you leave the work directories writable by someone else. > > > Or to manually follow the dependencies yourself? Make, su, make install each > > one, so that when it comes time to make, all deps are already met? > > Actually, there are tools for doing all that for you. You could, for > isntance, try doing "make depends" and "make" as non-root, then "make > install" as root, which should install all that stuff. You may need to > do soemthing magic with "make build-depends" as well, but I haven't > chased it down. > > Anoher nice one is "make fetch-recursive", which will fetch *all* the > tarballs needed to build a port, and anything it depends on. I use > that fairly often. > > -- > Mike Meyer http://www.mired.org/home/mwm/ > Independent WWW/Perforce/FreeBSD/Unix consultant, email for more information. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message