Using DESTDIR during installation

Stefan Dirsch sndirsch at suse.de
Sun May 29 21:34:24 PDT 2005


On Mon, May 30, 2005 at 11:43:16AM +1000, Daniel Stone wrote:
> On Sun, May 29, 2005 at 11:00:47PM +0200, Stefan Dirsch wrote:
> > Building and installing the proto/ and lib/ tree works quite well for
> > me - as long as I don't use DESTDIR 
> > (make install DESTDIR=$RPM_BUILD_ROOT) - which is quite common for a
> > Linux distribution. pkgconfig files, headers and libs cannot be found
> > this way.
> 
> I'm using DESTDIR to build Debian packages with several modules now, and
> not having any problems.  Of course, for example, ICE will have to be
> installed before SM can be built, because SM depends on ICE.  Building
> them all at once will need tricks like this.

So you are building all the subdirs in lib/ separately? Talking about
tricks. How can I expand the library path for the linker
(-L$RPM_BUILD_ROOT/usr/lib) and tell this autogen.sh/configure?

Best regards,
Stefan

Public Key available
------------------------------------------------------
Stefan Dirsch (Res. & Dev.)   SUSE LINUX Products GmbH
Tel: 0911-740 53 0            Maxfeldstraße 5
FAX: 0911-740 53 479          D-90409 Nürnberg
http://www.suse.de            Germany 
------------------------------------------------------


More information about the xorg-modular mailing list