Subject: Re: Auto-generating PLIST vs. FAKE
To: Hubert Feyrer <hubert.feyrer@informatik.fh-regensburg.de>
From: Marc Espie <Marc.Espie@liafa.jussieu.fr>
List: tech-pkg
Date: 09/11/2000 13:46:58
On Mon, Sep 11, 2000 at 01:44:11PM +0200, Hubert Feyrer wrote:
> On Mon, 11 Sep 2000, Marc Espie wrote:
> > Finding these dependencies can be non-obvious, having a list of all library
> > names might be very handy to try a build that would find those errors.
> 
> I don't see how having PLISTs around helps with linking against the wrong
> libs. 

If you have the list around, you can create a virgin machine which has
stub libraries initially... those will be replaced by the real libraries
as dependencies are installed, but they will be enough to trip up anything
that tries to install using an incorrect path.

> And yes, NetBSD's affected by this problem too, in various ways.
> One solution you can do is following the FreeBSD model and install all
> dependencies in the chroot area, then don't use -L$LOCALBASE/X11BASE.

Well, considering that we're not paying the chroot toll, this is slightly
harder, but yes, installing dependencies only in the fake area and tweaking
the -L to refer to them ought to work.
-- 
	Marc Espie		
|anime, sf, juggling, unicycle, acrobatics, comics...
|AmigaOS, OpenBSD, C++, perl, Icon, PostScript...
| `real programmers don't die, they just get out of beta'