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

python binding issues

From: e <ender_at_objectrealms.net>
Date: 2002-10-19 18:13:10 CEST

I'm having some problems getting the python bindings working.

i've got subversion-r3200 installed in /opt/subversion-server
apache /opt/subversion-httpd
berkeley db 4.0.14 /opt/subversion-db
swig1.3.15 is in /usr/local
and a repository at /opt/svn/repo

the system (gentoo linux 1.3 gcc3.1) has a bdb-3.2.9
installed in /usr

everything with the subversion commandline tools seems to work fine.

i have my environment setup with all the subversion component lib and
bin directories on the front of LD_LIBRARY_PATH and PATH.

i wrote some python scripts to examine the repository, (should have
tested the default ones first...) and they and all the bundled scripts
fail with

(python2.2.1) python fstest.py /opt/svn/repo
Traceback (most recent call last):
  File "fstest.py", line 59, in ?
    run(sys.argv[1])
  File "fstest.py", line 14, in run
    fs.open_berkeley(fsob, db_path)
RuntimeError: bad database version: 3.2.9

i thought it might have been a python build problem so i installed a
new python in /opt/subversion-python (with env vars still in effect)
but the error persists.

i tried adding the /opt/subversion-db/lib to ld.so.conf and running
ldconfig, to no avail,and i am at wits end.

what am i doing wrong? any tips appreciated.

thanks

-e

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Sat Oct 19 17:33:35 2002

This is an archived mail posted to the Subversion Dev mailing list.

This site is subject to the Apache Privacy Policy and the Apache Public Forum Archive Policy.