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

RE: Need help installing Python bindings

From: Nick <nick_at_adhost.com>
Date: 2004-06-25 19:33:17 CEST

Actually I can't even get a root bindings install working without the
undefined symbol error. Of course mine is:
ImportError: /usr/lib/python2.2/site-packages/libsvn/_repos.so: undefined
symbol: svn_swig_py_log_receiver

                                  Nick
 
-----Original Message-----
From: David Coppit [mailto:subversion@coppit.org]
Sent: Friday, June 25, 2004 10:21 AM
To: users@subversion.tigris.org
Subject: Re: Need help installing Python bindings

On Tue, 22 Jun 2004, C. Michael Pilato wrote:

> Hm, I'm building from trunk (with no problems) -- haven't tried
> 1.0.5. Unfortunately I don't have time to try it right now.
>
> Anyone else out there having trouble with 1.0.5 Python bindings
> build/install/use?

I just tried it with trunk, and still it fails.

I must be doing something wrong with my installation. Here is exactly what
I'm doing:

- svn co http://svn.collab.net/repos/svn/trunk subversion-cvs
- tar xfz httpd-2.0.49.tar.gz
- cd httpd-2.0.49/srclib/
- cp -a apr apr-util ../../subversion-cvs
- cd ../../subversion-cvs/
- sh ./autogen.sh
- ./configure --with-swig=/home/f85/coppit --prefix=/home/f85/coppit
--enable-maintainer-mode --enable-swig-bindings=python,perl
- make
- make install
- make swig-pl-lib
- make install-swig-pl-lib
- make swig-py
- make install-swig-py
- export PYTHONPATH=/home/f85/coppit/lib/svn-python
- python -c "from svn import client"

Traceback (most recent call last):
   File "<string>", line 1, in ?
   File "/home/f85/coppit/lib/svn-python/svn/client.py", line 17, in ?
     from libsvn.client import *
   File "/home/f85/coppit/lib/svn-python/libsvn/client.py", line 4, in ?
     import _client
ImportError: /home/f85/coppit/lib/svn-python/libsvn/_client.so: undefined
symbol: svn_wc_add

I'm not using DESTDIR for "make install-swig-py". Could that be the
problem? Has anyone else gotten a non-root installation to work?

David

_____________________________________________________________________
David Coppit david@coppit.org
The College of William and Mary http://coppit.org/

"Use 'logout' to leave this shell" -- You know what I want. Just do it!

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Received on Fri Jun 25 19:42:21 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.