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

Re: Swig Python binding

From: Rida Al Barazi <ralbarazi_at_gmail.com>
Date: 2005-09-03 20:27:21 CEST

Thanks David, your replies very supportive and helpful:
I recompiled python 2.4.1 in the same directory of python2.2
and here is what I'm getting:

     which python => /usr/local/bin/python
     which python2 => /usr/bin/python2
     python -V => Python 2.4.1
     python2 -V => Python 2.4.1
     python build/get-py-info.py --compile =>
            python: can't open file 'build/get-py-info.py': [Errno 2] No
such file or directory
     python2 build/get-py-info.py --compile =>
           python2: can't open file 'build/get-py-info.py': [Errno 2] No
such file or directory

> Python can't find the svn.core library. Try running python like this:
> PYTHONPATH=/usr/local/lib/svn-python python
> Once python is started, type "import svn.core", and tell me whether it
> works.
tried now... getting this

Traceback (most recent call last):
  File "<stdin>", line 1, in ?
  File "/usr/local/lib/svn-python/svn/core.py", line 19, in ?
    from libsvn.core import *
  File "/usr/local/lib/svn-python/libsvn/core.py", line 5, in ?
    import _core
ImportError: /usr/local/lib/svn-python/libsvn/_core.so: undefined symbol:
SWIG_TypeQuery

Thanks again

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Received on Sat Sep 3 20:29:32 2005

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.