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

Re: ViewCVS Python Bindings

From: Max Bowsher <maxb_at_ukf.net>
Date: 2005-04-12 00:21:07 CEST

Christopher Ness wrote:
> On Mon, 2005-11-04 at 16:47 +0100, Max Bowsher wrote:
>>> Do I need to put /usr/local/lib in the PYTHONPATH as well?
>>
>> No, that's not what PYTHONPATH is for, at all.
>>
>> What does "ldd path/to/libsvn/_repos.so" say?
>
> [root@jackd root]# ldd /usr/local/lib/svn-python/libsvn/_repos.so
...
> libsvn_swig_py-1.so.0 => /usr/local/lib/libsvn_swig_py-1.so.0
...

Curious, it certainly seems to be finding it OK.

Could this be an old version? You could try deleting it, and reinstalling
the Python bindings.

>>> There were some warnings about relinking when I did a `make install-
>>> swig-py` but I thought that was just because I already had those shared
>>> libraries in ld.so.config.
>>
>> You made edits to ld.so.config?
>
> Yes, added /usr/local/lib/svn-python/libsvn like `make install-swig-py`
> told me to. Then I ran `ldconfig` as root to update.

Oh. Don't bother. That's just libtool spitting out general blobs of advice
which are actually irrelevant in this case.

> Before we go any further here is my configure line in case I messed up.
>
> ./configure --with-ssl --with-berkeley-db=/usr/local/BerkeleyDB.4.2 --
> enable-swig-bindings --with-swig=/usr/local/bin/swig

Hmm. Drop the --enable-swig-bindings. I don't think it could be causing this
problem, but it's DEFINITELY not required. (in fact I've disposed of that
option entirely in 1.2)
Also, I presume /usr/local/bin is in your path,
so --with-swig=/usr/local/bin/swig is entirely optional.

Max.

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Received on Tue Apr 12 00:24:10 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.