You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@subversion.apache.org by Federico Edelman <fe...@claxson.com> on 2004/05/27 20:36:54 UTC

RV: Problem python bindings

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: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org


Re: RV: Problem python bindings

Posted by Ben Reser <be...@reser.org>.
On Thu, May 27, 2004 at 05:36:54PM -0300, Federico Edelman wrote:
> 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

Yup, you've got a SWIG 1.3.19 runtime still floating around on your
system.

-- 
Ben Reser <be...@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