[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Fwd: from debian-mentors: libtool relink fails due overriden prefix
From: |
Assar Westerlund |
Subject: |
Re: Fwd: from debian-mentors: libtool relink fails due overriden prefix |
Date: |
21 Oct 2000 08:14:33 +0200 |
User-agent: |
Gnus/5.070098 (Pterodactyl Gnus v0.98) Emacs/20.6 |
"Wesley W. Terpstra" <address@hidden> writes:
> I know you people don't care at all about debian packaging, but thought that
> perhaps libtool has a mechanism for dealing with situations like this.
It might have or it might just be that I misunderstand your problem or
the exact details of how packing in debian is supposed to work.
> However, when packaging a library one often doesn't actually install straight
> onto the root filesystem. In this case, I want the libraries to have exactly
> the same bytes as if they'd be installed right into the root filesystem with
> all the associated symlinks, etc.
I do think that this should be performed with DESTDIR, and not as well
with resetting prefix during `make install'.
> So, this system is ideal for make, debug, make install. However, the debian
> build cycle has one twist that breaks libtool: make, make
> prefix=`pwd`/debian/tmp/usr install.
Cannot this be changed to make DESTDIR=`pwd'/debian/tmp install ?
To make sure things are concrete enough I wiped up a little example
that I think shows what you're trying to do. It's at
<http://www.sics.se/~assar/libtool/foo-0.0.tar.gz>. And doing:
configure --prefix=/tmp/prefix
make install DESTDIR=/tmp/destdir
gets me a binary in /tmp/destdir/tmp/prefix/bin/hepp that refers to
the libraries in /tmp/prefix/lib.
/assar