[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-11 17:47:56 CEST

Christopher Ness wrote:
> On Mon, 2005-11-04 at 10:50 +0100, Max Bowsher wrote:
>> This is NOT success the second time, it's just Python noticing that it
>> already tried, and turning the second "import svn.repos" into a no-op.
>
> Ah! Ok, sorry my python isn't very polished.
>
>>> I am building SVN 1.1.4 from the release tarball
>>> SWIG Version 1.3.24
>>> Python version is old [see above] (from an FC1 RPM).
>>>
>>> I'd really like to build from source instead of using a package.
>>
>> It sounds like libsvn_swig_py is missing/not-found.
>
> [root@jackd lib]# pwd
> /usr/local/lib
> [root@jackd lib]# ls -la libsvn_swig_py*
> -rw-r--r-- 1 root root 140248 Apr 11 00:31 libsvn_swig_py-1.a
> -rwxr-xr-x 1 root root 1159 Apr 11 00:31 libsvn_swig_py-1.la
> lrwxrwxrwx 1 root root 25 Apr 11 00:31 libsvn_swig_py-1.so ->
> libsvn_swig_py-1.so.0.0.0
> lrwxrwxrwx 1 root root 25 Apr 11 00:31 libsvn_swig_py-1.so.0 ->
> libsvn_swig_py-1.so.0.0.0
> -rwxr-xr-x 1 root root 119744 Apr 11 00:31 libsvn_swig_py-1.so.0.0.0
>
> 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?

>> The versions you quote should be fine, though, if you can work out why
>> your
>> build is broken.
>
> Finishing up exams this week, then I'll have some more time. Any idea
> how I should go about debugging my build? I don't really know where to
> start.
>
> 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?

Max.

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Received on Mon Apr 11 17:57:42 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.