libtool and pango libraries



Don't know if this is the right area to complain about libtool but
this problem affects glib, atk, and pango, and I'm sure a few
others.

It appears the recent version of pango contain a version of libtool
which no longer allows libraries to be installed in a temporary
location.

We have a setup here where we do the builds for each of our
platforms then use our own distribution scripts to install these
libraries in their ultimate locations.

In the past this was not a problem.  But now the code in libtool no
longer allows a make install to install a library in a location that
is not the intended ultimate location.

Can someone explain to me the reasoning for this change?  This
change is too limiting to users.  I'm sure this will affect other
tools we build and install.  I'd hate to have to come up with a
private patch for libtool that needs to be applied each time we
build and distribute something from this area.  I'd much rather see
an option provided that allows user's to install things where they
want and how they want.  At the very least IMO this should be a
warning and not a fatal error.

This problem occurs around line 4223 of ltmain.sh

4223           # Don't allow the user to place us outside of our
expected
4224           # location b/c this prevents finding dependent
libraries that
4225           # are installed to the same prefix.
4226           if test "$inst_prefix_dir" = "$destdir"; then
4227             $echo "$modename: error: cannot install \`$file' to
a directory not ending in $libdir" 1>&2
4228             exit 1
4229           fi


Thanks,

Ray Zuniga

The error:

libtool: install: warning: remember to run `libtool --finish
/opt/exp/gnu/lib'
/bin/sh ../libtool  --mode=install /opt/exp/gnu/bin/install -c
libpangox-1.0.la
/opt/exp/expmake/build/gtk+src/ins//lib/libpangox-1.0.la
libtool: install: error: cannot install `libpangox-1.0.la' to a
directory not ending in /opt/exp/gnu/lib
make[3]: *** [install-libLTLIBRARIES] Error 1



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]