[svn.haxx.se] · SVN Dev · SVN Users · SVN Org · TSVN Dev · TSVN Users · Subclipse Dev · Subclipse Users · this month's index

Re: compiling 1.1.0rc2 and libtool error

From: Ben Reser <ben_at_reser.org>
Date: 2004-08-19 02:20:47 CEST

On Wed, Aug 18, 2004 at 03:57:43PM +0200, Laszlo 'GCS' Boszormenyi wrote:
> Hi!
>
> I am trying to compile 1.1.0rc2 on Debian Sid, but when I try to
> install the python/swig related bits with:
> /usr/bin/make local-install install-swig-py \
> INSTALL_MOD_SHARED=echo \
> DESTDIR=/root/work/subversion-1.1.0/debian/tmp \
> swig_pydir=/usr/lib/python2.3/site-packages/libsvn \
> swig_pydir_extra=/usr/lib/python2.3/site-packages/svn \
> -C build-tree/subversion-1.1.0-rc2
>
> I get:
> libtool: install: error: cannot install `libsvn_swig_py-1.la' to a directory not ending in
> (Yes, the sentence is unfinished).
>
> I have narrowed down it to this command:
> cd subversion/bindings/swig/python/libsvn_swig_py ; /bin/sh /root/work/subversion-1.1.0/build-tree/subversion-1.1.0-rc2/libtool --mode=install /root/work/subversion-1.1.0/build-tree/subversion-1.1.0-rc2/ac-helpers/install-sh -c libsvn_swig_py-1.la /root/work/subversion-1.1.0/debian/tmp/usr/lib/libsvn_swig_py-1.la
>
> The tail of what the above command is doing (strace output also
> available if someone wants it):
> ++ current=9
> ++ age=9
> ++ revision=5
> ++ installed=no
> ++ shouldnotlink=no
> ++ dlopen=
> ++ dlpreopen=
> ++ libdir=
> ++ relink_command='(cd /root/work/subversion-1.1.0/build-tree/subversion-1.1.0-rc2/subversion/bindings/swig/python/libsvn_swig_py; /bin/sh /root/work/subversion-1.1.0/build-tree/subversion-1.1.0-rc2/libtool --silent --mode=relink gcc -g -Wall -pipe -I/usr/include/xmltok -I/usr/include/openssl -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -pthread -DNEON_ZLIB -DNEON_SSL -L/usr/lib -lpython2.3 -lswigpy-1.3.21 -L/usr/share -o libsvn_swig_py-1.la swigutil_py.lo -lswigpy ../../../../../subversion/libsvn_subr/libsvn_subr-1.la ../../../../../subversion/libsvn_delta/libsvn_delta-1.la /usr/lib/libaprutil-0.la -lldap -llber -ldb-4.2 -lexpat /usr/lib/libapr-0.la -lrt -lm -lnsl -lpthread @inst_prefix_dir@)'
> + test X/root/work/subversion-1.1.0/debian/tmp/usr/lib = X
> + case "$future_libdirs " in
> + future_libdirs=' '
> ++ echo Xlibsvn_swig_py-1.la
> ++ /bin/sed -e '1s/^X//' -e 's%/[^/]*$%%'
> + dir=libsvn_swig_py-1.la/
> + test Xlibsvn_swig_py-1.la/ = Xlibsvn_swig_py-1.la/
> + dir=
> + dir=.libs
> + test -n '(cd /root/work/subversion-1.1.0/build-tree/subversion-1.1.0-rc2/subversion/bindings/swig/python/libsvn_swig_py; /bin/sh /root/work/subversion-1.1.0/build-tree/subversion-1.1.0-rc2/libtool --silent --mode=relink gcc -g -Wall -pipe -I/usr/include/xmltok -I/usr/include/openssl -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -pthread -DNEON_ZLIB -DNEON_SSL -L/usr/lib -lpython2.3 -lswigpy-1.3.21 -L/usr/share -o libsvn_swig_py-1.la swigutil_py.lo -lswigpy ../../../../../subversion/libsvn_subr/libsvn_subr-1.la ../../../../../subversion/libsvn_delta/libsvn_delta-1.la /usr/lib/libaprutil-0.la -lldap -llber -ldb-4.2 -lexpat /usr/lib/libapr-0.la -lrt -lm -lnsl -lpthread @inst_prefix_dir@)'
> ++ echo /root/work/subversion-1.1.0/debian/tmp/usr/lib
> ++ /bin/sed 's%$%%'
> + inst_prefix_dir=/root/work/subversion-1.1.0/debian/tmp/usr/lib
> + test /root/work/subversion-1.1.0/debian/tmp/usr/lib = /root/work/subversion-1.1.0/debian/tmp/usr/lib
> + echo 'libtool: install: error: cannot install `libsvn_swig_py-1.la'\''
> to a directory not ending in '
> libtool: install: error: cannot install `libsvn_swig_py-1.la' to a
> directory not ending in
> + exit 1
>
> Apache2 is 2.0.50-9, Neon is 0.24.7.dfsg-0.1 and libtool is 1.5.6-2.
> What do I miss?

Known issue with libtool 1.4.3. Rerun autogen.sh to get your local
libtool, then try again. DESTDIR is broken with libtool 1.4.3.

-- 
Ben Reser <ben@reser.org>
http://ben.reser.org
"Conscience is the inner voice which warns us somebody may be looking."
- H.L. Mencken
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Thu Aug 19 02:20:56 2004

This is an archived mail posted to the Subversion Dev mailing list.

This site is subject to the Apache Privacy Policy and the Apache Public Forum Archive Policy.