Hi guys!
When I try to compile the python bindings, I get the following error:
# python -c "from svn import client"
Traceback (most recent call last):
File "<string>", line 1, in ?
File "/usr/local/subversion/lib/svn-python/svn/client.py", line 17, in ?
from libsvn.client import *
File "/usr/local/subversion/lib/svn-python/libsvn/client.py", line 5, in ?
import _client
ImportError: /usr/local/subversion/lib/libsvn_swig_py-1.so.0: undefined symbol: SWIG_Python_TypeQuery
Any idea?
Thanks,
Fede
My configuration:
PIII 500 Mhz RAM 128 MB
Debian GNU/Linux 3.0r1 Kernel 2.4.25
SWIG 1.3.21
-----------
# ./configure '--prefix=/usr/local' \
'--with-python=/usr/bin/python2.2' \
'--with-perl=/usr/local/bin/perl'
# make
# make runtime
# make install-runtime
# make install
db 4.2.52
---------
# cd build_unix/
# ../dist/configure --prefix=/usr/local/subversion
# make
# make install
apache 2.0.49
-------------
# ./configure --prefix=/usr/local/subversion \
--enable-dav \
--enable-so \
--with-dbm=db4 \
--with-berkeley-db=/usr/local/subversion \
--enable-mod_rewrite \
--enable-threads
# make
# make install
subversion 1.0.4
----------------
# rm -f /usr/local/subversion/lib/libsvn*
# rm -f /usr/local/subversion/lib/libapr*
# rm -f /usr/local/subversion/lib/libexpat*
# rm -f /usr/local/subversion/lib/libneon*
# AUTOCONF=autoconf2.50 sh ./autogen.sh
# ./configure --prefix=/usr/local/subversion \
--with-berkeley-db=/usr/local/subversion \
--enable-dbm=db4 \
--with-apxs=/usr/local/subversion/bin/apxs \
--with-swig=/usr/local \
--enable-swig-bindings=pitón,perl
# make
# make check
# make install
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Received on Thu May 27 22:38:06 2004