Hi,

i got an error at install target "make install-swig-py".  The install stops
with

..
See any operating system documentation about shared libraries for
more information, such as the ld(1) and ld.so(8) manual pages.
----------------------------------------------------------------------
/usr/bin/install -c -d /usr/lib/python2.7/site-packages/libsvn
cd subversion/bindings/swig/python ; /bin/sh /root/subversion-1.8.4/libtool
--mode=install /usr/bin/install -c _core.la
/usr/lib/python2.7/site-packages/libsvn/_core.la
libtool: install: error: cannot install '_core.la' to a directory not ending in
/usr/lib/svn-python/libsvn
build-outputs.mk:1102: recipe for target 'install-swig-py' failed
make: *** [install-swig-py] Error 1

Indeed, the "/usr/lib/svn-python/libsvn" does not exist but the command seems
to try to install to "/usr/lib/python2.7/site-packages/libsvn/_core.la" which
should be possible.

There are two line in Makefile which are interesting:
..
swig_pydir = ${exec_prefix}/lib/svn-python/libsvn
swig_pydir_extra = ${exec_prefix}/lib/svn-python/svn
..

It seems that the arguments to the "make install-swig-py" target do not take
effect.

When patching the lines in the Makefile to
..
swig_pydir = ${exec_prefix}/lib/python2.7/site-packages/libsvn
swig_pydir_extra = ${exec_prefix}/lib/python2.7/site-packages/libsvn
..
it seems to work even without the arguments to the install command.

Does that happen just for me or do you have seen that also?

--
Thomas


-- 
http://linuxfromscratch.org/mailman/listinfo/blfs-dev
FAQ: http://www.linuxfromscratch.org/blfs/faq.html
Unsubscribe: See the above information page

Reply via email to