[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: The old libtool magic returns to frustrate RPM building
From: |
Thomas Vander Stichele |
Subject: |
Re: The old libtool magic returns to frustrate RPM building |
Date: |
Fri, 18 Oct 2002 14:15:41 +0200 (CEST) |
Hi,
> On RH8.0, I am having trouble building an RPM for the Swarm libraries.
> I get the same thing whether I use the libtool that is distributed with
> RH8.0 or I use the libtool-1.4c edition that I took from their CVS last
> year and built into rpms mentioned above. I can build/install Swarm just
> fine with the regular old configure/make/make install, but if I try to
> build the rpm I get a libtool failure because it can't find libraries
> that are installed in the buildroot. After the SPEC file dictates this
>
> make prefix=$RPM_BUILD_ROOT%{prefix} install
AFAIK, the customary and "correct" way (for autotools) is to do
make DESTDIR=$RPM_BUILD_ROOT install
prefix should always indicate where the package lives *when it is
installed*.
DESTDIR is used to install the files to the staging root, from where it is
packaged.
If swarm doesn't comply with that, I'd suggest fixing that, but if it's
autotooled, it probably already complies ;)
OTOH, I've had similar issues with libtool not being able to find libs
it's installing in the staging root in the first place in rh80, but
haven't been able to fix whatever's wrong yet, so I would sure be
interested in seeing if when doing a proper install it still occurs for
you or not.
Thomas
--
The Dave/Dina Project : future TV today ! - http://davedina.apestaart.org/
<-*- thomas (dot) apestaart (dot) org -*->
It was sex in a different life
Destroys my days and haunts my nights
<-*- thomas (at) apestaart (dot) org -*->
URGent, the best radio on the Internet - 24/7 ! - http://urgent.rug.ac.be/
==================================
Swarm-Support is for discussion of the technical details of the day
to day usage of Swarm. For list administration needs (esp.
[un]subscribing), please send a message to <address@hidden>
with "help" in the body of the message.