From owner-freebsd-stable Fri Nov 12 17:14:23 1999 Delivered-To: freebsd-stable@freebsd.org Received: from guru.phone.net (guru.phone.net [216.240.39.120]) by hub.freebsd.org (Postfix) with SMTP id 04F3415150 for ; Fri, 12 Nov 1999 17:13:49 -0800 (PST) (envelope-from mwm@phone.net) Received: (qmail 40670 invoked by uid 100); 13 Nov 1999 01:13:43 -0000 From: Mike Meyer MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Message-ID: <14380.47942.986074.382586@guru.phone.net> Date: Fri, 12 Nov 1999 17:13:42 -0800 (PST) To: freebsd-stable@FreeBSD.ORG Subject: Re: ldconfig finding libraries, but ld is not. In-Reply-To: <19991112165241.E69871@relay.nuxi.com> References: <14379.17630.340446.163663@guru.phone.net> <199911121710.MAA06277@server.baldwin.cx> <14380.20173.800799.137562@guru.phone.net> <19991112165241.E69871@relay.nuxi.com> X-Mailer: VM 6.72 under 21.1 (patch 3) "Acadia" XEmacs Lucid X-face: "5Mnwy%?j>IIV\)A=):rjWL~NB2aH[}Yq8Z=u~vJ`"(,&SiLvbbz2W`;h9L,Yg`+vb1>RG% *h+%X^n0EZd>TM8_IB;a8F?(Fb"lw'IgCoyM.[Lg#r\ Sender: owner-freebsd-stable@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG David O'Brien writes: ;->On Fri, Nov 12, 1999 at 09:30:53AM -0800, Mike Meyer wrote: ;->> That's the same headache, only in a different place. The traffic on the ;->> ports list suggests that support for PREFIX isn't universal as well. ;->In what way? Just - well, you noted it yourself right here: ;->> Come to think of it - does the OS install let me specify what PREFIX ;->> should be when installing packages? ;->Yes, ``pkg_add -p /usr/foo''. The problem of course is that the value of ;->PREFIX is burned into many packages. You'd be sucessful if you build the ;->ports yourself, setting "PREFIX=/foo" (or even PREFIX=/) 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? 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? ;->> Ports and packages *do* come with the OS. When I boot from the FreeBSD ;->They do come with the OS, but the code is not maintained by FreeBSD ;->developers. Right. That's a good reason for them not to go in /usr. That they come with the OS is a good reason for them not to go in /usr/local.