I like to build swig-py module. I did "make check-swig-py" and every test is
ok. But when I did "sudo make install-swig-py" it gives the following error.
cd_at_cd-laptop:~/Desktop/subversion-1.5.1$ sudo make install-swig-py
[sudo] password for cd:
/usr/bin/install -c -d /usr/local/lib
cd subversion/bindings/swig/python/libsvn_swig_py ; /bin/bash
/home/cd/Desktop/subversion-1.5.1/libtool --mode=install /usr/bin/install -c
libsvn_swig_py-1.la /usr/local/lib/libsvn_swig_py-1.la
libtool: install: warning: relinking `libsvn_swig_py-1.la'
(cd
/home/cd/Desktop/subversion-1.5.1/subversion/bindings/swig/python/libsvn_swig_py;
/bin/bash /home/cd/Desktop/subversion-1.5.1/libtool --tag=CC --silent
--mode=relink gcc -g -O2 -pipe -Wall -g -O2 -pthread -rpath /usr/local/lib
-Wl,-O1 -Wl,-Bsymbolic-functions -o libsvn_swig_py-1.la swigutil_py.lo
../../../../../subversion/libsvn_client/libsvn_client-1.la../../../../../subversion/libsvn_wc/
libsvn_wc-1.la ../../../../../subversion/libsvn_ra/libsvn_ra-1.la../../../../../subversion/libsvn_delta/
libsvn_delta-1.la
../../../../../subversion/libsvn_subr/libsvn_subr-1.la/usr/lib/
libaprutil-1.la /usr/lib/libapr-1.la -luuid -lrt -lcrypt -lpthread -ldl )
/usr/bin/ld: cannot find -lsvn_client-1
collect2: ld returned 1 exit status
libtool: install: error: relink `libsvn_swig_py-1.la' with the above command
before installing it
make: *** [install-swig-py-lib] Error 1
cd_at_cd-laptop:~/Desktop/subversion-1.5.1$
My Environment :
cd_at_cd-laptop:~/Desktop/subversion-1.5.1$ uname -a
Linux cd-laptop 2.6.24-19-generic #1 SMP Fri Jul 11 23:41:49 UTC 2008 i686
GNU/Linux
cd_at_cd-laptop:~/Desktop/subversion-1.5.1$ cat /etc/issue
Ubuntu 8.04.1 \n \l
cd_at_cd-laptop:~/Desktop/subversion-1.5.1$ gcc --version
gcc (GCC) 4.2.3 (Ubuntu 4.2.3-2ubuntu7)
Copyright (C) 2007 Free Software Foundation, Inc.
This is free software; see the source for copying conditions. There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
cd_at_cd-laptop:~/Desktop/subversion-1.5.1$ ld --version
GNU ld (GNU Binutils for Ubuntu) 2.18.0.20080103
Copyright 2007 Free Software Foundation, Inc.
This program is free software; you may redistribute it under the terms of
the GNU General Public License version 3 or (at your option) a later
version.
This program has absolutely no warranty.
cd_at_cd-laptop:~/Desktop/subversion-1.5.1$
cd_at_cd-laptop:~/Desktop/subversion-1.5.1$ swig -version
SWIG Version 1.3.33
Compiled with g++ [i686-pc-linux-gnu]
Please see http://www.swig.org for reporting bugs and further information
cd_at_cd-laptop:~/Desktop/subversion-1.5.1$
I have the latest subversion source code.. Any help is appreciated.
CD
Received on 2008-08-22 17:51:21 CEST