Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 15 Nov 1999 20:04:53 -0800 (PST)
From:      Kris Kennaway <kris@hub.freebsd.org>
To:        Mike Meyer <mwm@phone.net>
Cc:        freebsd-stable@FreeBSD.ORG
Subject:   Re: ldconfig finding libraries, but ld is not.
Message-ID:  <Pine.BSF.4.10.9911151957160.33838-100000@hub.freebsd.org>
In-Reply-To: <14380.47942.986074.382586@guru.phone.net>

next in thread | previous in thread | raw e-mail | index | archive | help
On Fri, 12 Nov 1999, Mike Meyer wrote:

> But that's the wrong question. Part of the install process includes
> selecting packages to load. That's all nice & user-friendly &
> GUI-ish. The question is: can I set PREFIX for packages that are
> installed at that point?

No, because the GUI tool is intended for people who are not comfortable or
capable with the command-line. If you want to do something advanced like
hand-tune which filesystem hierarchy your packages get installed, you have
to do it the old-fashioned way. Adding a knob to sysinstall asking people
where they want to install the package would only confuse the primary
target demographic of sysinstall, newish system users, for whom /usr/local
is likely to be quite adequate.

You seem to be very much in a minority of people who are unhappy with the
/usr/local system..given that there exists a simple way for you to get
what you want (see below), it's not reasonable to ask FreeBSD to
reorganise around you.

> For that matter, if those packages have references to things in
> /usr/include and I do "pkg_add -p /usr/pkg" - what happens to those
> references?

David already answered this one. Packages, by necessity, often need to
have some hardcoded prefix in them. If you don't like the default, you're
free to build the port by hand by doing cd /usr/ports/foo/bar && make
install PREFIX=/usr/mumble. Ports which don't allow this are broken and
must be send-pr'ed so we can fix them. Vague complaints don't count :-)

Kris

----
Cthulhu for President! For when you're tired of choosing the _lesser_ of
two evils..



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?Pine.BSF.4.10.9911151957160.33838-100000>