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

Problem python bindings

From: Federico Edelman <fedelman_at_claxson.com>
Date: 2004-05-26 15:56:13 CEST

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*
# 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=python \
# 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 Wed May 26 15:57:13 2004

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

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