Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 30 Jun 2008 14:08:16 +0400
From:      Ruslan Ermilov <ru@freebsd.org>
To:        Danny Braniss <danny@cs.huji.ac.il>
Cc:        freebsd-hackers@freebsd.org, Scott Ullrich <sullrich@gmail.com>
Subject:   Re: WITHOUT_INSTALLLIB blues
Message-ID:  <20080630100816.GB99247@edoofus.dev.vega.ru>
In-Reply-To: <E1KDFMb-0008Y6-J1@cs1.cs.huji.ac.il>
References:  <E1KCqUf-000GAV-SN@cs1.cs.huji.ac.il> <20080629.014211.74670684.imp@bsdimp.com> <d5992baf0806291154x7b1ba8d9w9b2d823a690e6cb3@mail.gmail.com> <20080629215531.GC21018@edoofus.dev.vega.ru> <E1KDFMb-0008Y6-J1@cs1.cs.huji.ac.il>

next in thread | previous in thread | raw e-mail | index | archive | help
On Mon, Jun 30, 2008 at 12:07:57PM +0300, Danny Braniss wrote:
> > On Sun, Jun 29, 2008 at 02:54:03PM -0400, Scott Ullrich wrote:
> > > On Sun, Jun 29, 2008 at 3:42 AM, Warner Losh <imp@bsdimp.com> wrote:
> > > >>       when setting WITHOUT_INSTALLLIB, make buildworld breaks with
> > > >> make: don't know how to make /r+d/obj/sunfire/alix/i386/r+d/7.0/src/tmp/legacy/
> > > >> usr/lib/libegacy.a. Stop
> > > >
> > > > Only set it for installworld.
> > > 
> > > Was this documented somewhere after the change?  This bit me some time
> > > ago and I could not find it documented anywhere.  If not can someone
> > > add it to /usr/src/UPDATING?
> > > 
> > It follows from the description of WITHOUT_INSTALLLIB in src.conf(5),
> > but perhaps it's not very obvious.
> 
> understatement :-)
> but if it only applies to 'install' why does it break 'build'? I have one file src.conf, now i need 2?
> 
It can be applied only to the "install" stage.  If applied to the
"build" stage, it will break it because "build" internally uses
"install" to install libraries to a temporary place (${WORLDTMP})
so the other programs/libraries can link against them.  See your
/usr/obj/usr/src/tmp{,/usr}/lib for details (for a canonical mix
of /usr/src and /usr/obj).


Cheers,
-- 
Ruslan Ermilov
ru@FreeBSD.org
FreeBSD committer



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