GNOME 2.0 libs not DESTDIR safe (?)
- From: Jens Finke <jens triq net>
- To: <gnome-2-0-list gnome org>
- Subject: GNOME 2.0 libs not DESTDIR safe (?)
- Date: Wed, 22 Aug 2001 20:56:15 +0200 (CEST)
Hi,
I came across a general installation problem with at least the glib, pango
and gtk+ libraries. If you configure these with eg.
./configure --prefix=/usr
and after this do a
make DESTDIR=/var/tmp install
the installation spit out some errors and warnings about relinking
libraries. The result is that most of the libs get not installed in
/var/tmp/usr/libs.
For example the gmodule library in glib:
make[2]: Entering directory `/usr/opt/ngnome2/cvs/glib/gmodule'
/bin/sh ../mkinstalldirs /var/tmp/glib//usr/lib
/bin/sh ../libtool --mode=install /home/jens/bin/install -c
libgmodule-1.3.la /var/tmp/glib//usr/lib/libgmodule-1.3.la
libtool: install: warning: relinking `libgmodule-1.3.la'
cd /opt/ngnome2/cvs/glib/gmodule; /bin/sh ../libtool --mode=relink gcc -g
-O2 -Wall -D_REENTRANT -o libgmodule-1.3.la -rpath /usr/lib -rdynamic
-version-info 7:0:0 -export-dynamic gmodule.lo -ldl ../glib/libglib-1.3.la
gcc -shared gmodule.lo -ldl -L/usr/lib -lglib-1.3 -Wl,-soname
-Wl,libgmodule-1.3.so.7 -o .libs/libgmodule-1.3.so.7.0.0
/usr/i486-suse-linux/bin/ld: cannot find -lglib-1.3
collect2: ld returned 1 exit status
libtool: install: error: relink `libgmodule-1.3.la' with the above command
before installing it
libtool: install: warning: remember to run `libtool --finish /usr/lib'
/bin/sh ../mkinstalldirs /var/tmp/glib//usr/include/glib-2.0
/home/jens/bin/install -c -m 644 gmodule.h
/var/tmp/glib//usr/include/glib-2.0/gmodule.h
make[2]: Leaving directory `/usr/opt/ngnome2/cvs/glib/gmodule'
I am using autoconf-2.52, automake 1.4-p1 and libtool-1.4a-martin which I
got from a bootstrap script.
Maybe this is only a problem on my system due to wrong installed or not up
to date build tools. But I've tested out a lot so far and couldn't fix
this. Please, can anybody try this out on his system if it works there?
And if so, mail me the autoconf/automake/libtool versions he use?
If you wonder why the hell someone want to use the DESTDIR var: well we
need this setup if we want to provide (S)RPMs for these packages.
Regards,
Jens
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]