Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 12 Nov 1999 12:10:02 -0500 (EST)
From:      John Baldwin <jobaldwi@vt.edu>
To:        Mike Meyer <mwm@phone.net>
Cc:        freebsd-stable@FreeBSD.ORG
Subject:   Re: ldconfig finding libraries, but ld is not.
Message-ID:  <199911121710.MAA06277@server.baldwin.cx>
In-Reply-To: <14379.17630.340446.163663@guru.phone.net>

next in thread | previous in thread | raw e-mail | index | archive | help

On 11-Nov-99 Mike Meyer wrote:
> John Baldwin writes:
> ;->On 11-Nov-99 Mike Meyer wrote:
> ;->> I still curse at regular intervals at the ports/packages
> collection
> ;->> installing things in /usr/local. That means I need another place
> for
> ;->> things that I maintain, instead of came with FreeBSD. Putting
> ;->> everything in /usr is one such solution. /opt is another (but
> having
> ;->> everything have it's own hierarchy pretty much sucks).
> ;->Try maintaining a lab of 40-80 identical machines.  Then imagine
> ;->distributing /usr/local and /usr/X11R6 via NFS.  Then you only
> have to
> ;->install the package on one machine to install it everywhere.  That
> ;->doesn't work when installed under /usr.  Are you enlightened yet?
> 
> Yes, but not about what you hoped. Back when I did that kind of
> thing,
> I did a better job than that.  Let's see - off the top of my head,
> I've network mounted /usr (the Linux solution to this problem), /opt
> (the Solaris solution), and used rdist, rsync and perforce to do the
> distribution.
> 
> The bottom line is that taking the name people have standardized on
> for installing *local* packages and installing system-provided
> packages there is a bad thing(TM). None of the solutions I used
> suffered from that flaw.

Umm, if the name /usr/local disturbs you greatly, then set PREFIX in
/etc/make.conf to whatever name you do like (/usr/global), etc.  Also,
ports are not system-provided packages, they are 3rd party software.  I
also don't see how installing 3rd party software directly under /usr so
that it is mixed up with system-provided software (what is in /usr that
comes with OS, i.e. not 3rd party software) is easier to administer. 
Then you are having to distribute a lot more and increasing your
network load, espeically your NFS load.  To each his own I suppose. 
Personally, I think sticking everything under the sun in /usr/bin is
not organized.

>       <mike

---

John Baldwin <jobaldwi@vt.edu> -- http://www.cslab.vt.edu/~jobaldwi/
PGP Key: http://www.cslab.vt.edu/~jobaldwi/pgpkey.asc
"Power Users Use the Power to Serve!"  -  http://www.FreeBSD.org/


To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-stable" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199911121710.MAA06277>