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

python bindings experts, please...

From: Branko Čibej <brane_at_xbc.nu>
Date: 2003-12-09 23:14:37 CET

Here I am, with a newbie question. svn-0.34.0, i686-pc-linux-gnu,
config.nice says:

#! /bin/sh
#
# Created by configure

"./configure" \
"--prefix=/usr/local/subversion-0.34.0" \
"--with-berkeley-db=/usr/local/BerkeleyDB.4.2" \
"--with-dbm=db42" \
"--with-apr=/usr/local/apache-2.0.48" \
"--with-apr-util=/usr/local/apache-2.0.48" \
"--with-apxs=/usr/local/apache-2.0.48/bin/apxs" \
"--with-zlib" \
"--with-swig=/usr/local" \
"--with-ssl" \
"$@"

and I did:

    $ make
    $ make install
    $ make swig-py
    $ make install-swig-py

then symlinked $prefix/svn-python/svn and $prefix/svn-python/libsvn into
the site-python directory. The following happens when I try mailer.py
from the 0.34.0 tarball:

$ ./mailer.py /opt/repos/svn-util/repo 1 ./mailer.conf
Traceback (most recent call last):
  File "./mailer.py", line 650, in ?
    svn.util.run_app(main, config_fname, repos_dir, revision)
  File "/usr/local/subversion-0.34.0/lib/svn-python/svn/core.py", line 35, in run_app
    svn_pool_destroy(pool)
TypeError: Type error. Expected _p_apr_pool_t

Oh yes, lest I forget:

$ /usr/local/bin/swig -version

SWIG Version 1.3.19
Copyright (c) 1995-1998
University of Utah and the Regents of the University of California
Copyright (c) 1998-2002
University of Chicago
Compiled with g++

-- 
Brane Čibej   <brane_at_xbc.nu>   http://www.xbc.nu/brane/
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Tue Dec 9 23:15:44 2003

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.