
silverburgh.meryl at gmail
Oct 8, 2008, 10:29 AM
Post #8 of 8
(150 views)
Permalink
|
|
Re: How can I configure Trac to use subversion 1.5
[In reply to]
|
|
On Oct 8, 4:17 am, Rainer Sokoll <r.sok...@intershop.de> wrote: > On Tue, Oct 07, 2008 at 05:18:49PM -0700, silverburgh.me...@gmail.com wrote: > > I am running on ubuntu. How can I get the python subversion 1.5 > > binding? > > The package manager (atitute) only has 1.4.x binding. > > Use the sources. It is fairly easy to build one's own subversion and > SWIG bindings. > > Rainer Rainer, This is what I have been trying to do. But I can't get it to work. I am trying to compile subversion python binding in subversion 1.5.2 on ubuntu. So I get the source of neon, apr and apr-util and put it under subversion 1.5.2. And then I do $ ./configure --prefix=/home/meryl/bin --with-swig=/home/meryl/bin -- with-ssl $ make $ make install $ make swig-py $ make install-swig-py And then I set the pythonpath correctly: echo $PYTHONPATH /home/meryl/bin/lib/svn-python But when i do a test (like below), i get the following error: $ python -c 'from svn import client' Traceback (most recent call last): File "<string>", line 1, in <module> File "/home/scheung/bin/lib/svn-python/svn/client.py", line 19, in <module> from libsvn.client import * File "/home/scheung/bin/lib/svn-python/libsvn/client.py", line 7, in <module> import _client ImportError: /home/scheung/bin/lib/libsvn_ra_neon-1.so.0: undefined symbol: GENERAL_NAME_free And I have done 'ldd' of the 'libsvn_ra_neon-1.so.0' and check LD_LIBRARY_PATH is set correctly. $ ldd /home/meryl/bin/lib/libsvn_ra_neon-1.so.0 linux-gate.so.1 => (0xb7f46000) libsvn_delta-1.so.0 => /home/meryl/bin/lib/libsvn_delta-1.so.0 (0xb7efe000) libsvn_subr-1.so.0 => /home/meryl/bin/lib/libsvn_subr-1.so.0 (0xb7ec6000) libaprutil-0.so.0 => /home/meryl/bin/lib/libaprutil-0.so.0 (0xb7eb0000) libexpat.so.1 => /usr/lib/libexpat.so.1 (0xb7e8f000) libapr-0.so.0 => /home/meryl/bin/lib/libapr-0.so.0 (0xb7e6d000) librt.so.1 => /lib/tls/i686/cmov/librt.so.1 (0xb7e64000) libm.so.6 => /lib/tls/i686/cmov/libm.so.6 (0xb7e3f000) libcrypt.so.1 => /lib/tls/i686/cmov/libcrypt.so.1 (0xb7e0c000) libnsl.so.1 => /lib/tls/i686/cmov/libnsl.so.1 (0xb7df4000) libpthread.so.0 => /lib/tls/i686/cmov/libpthread.so.0 (0xb7ddc000) libdl.so.2 => /lib/tls/i686/cmov/libdl.so.2 (0xb7dd8000) libc.so.6 => /lib/tls/i686/cmov/libc.so.6 (0xb7c89000) libz.so.1 => /usr/lib/libz.so.1 (0xb7c74000) /lib/ld-linux.so.2 (0xb7f47000) meryl[at]meryl-laptop:~/src/swig-1.3.36$ echo $LD_LIBRARY_PATH /home/meryl/bin/lib::/usr/lib:/usr/local/lib:/lib/tls/i686/cmov:/lib: Can you please help me why? Thank you. --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Trac Users" group. To post to this group, send email to trac-users[at]googlegroups.com To unsubscribe from this group, send email to trac-users+unsubscribe[at]googlegroups.com For more options, visit this group at http://groups.google.com/group/trac-users?hl=en -~----------~----~----~----~------~----~------~--~---
|