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

Re: Proof of concept higher-level python bindings for SoC project

From: David Glasser <glasser_at_mit.edu>
Date: 2007-05-01 17:37:18 CEST

On 5/1/07, David Glasser <glasser@mit.edu> wrote:
> In autogen.py, the line
>
> os.system("cd %s && python %s/ctypesgen/wrap.py %s %s "
> "%s -o svn_all.py" % (tempdir, os.getcwd(),
> flags, ldflags, includes))
>
> doesn't work if your installation of Python 2.5 is not called python
> (on MacPorts, for example, python is Python 2.4 by default); does
> Python have a "current executable path" variable?

Having changed that by hand to python2.5, I'm getting that autogen.py
is trying to run

cd /tmp/tmpuEnN3u && python2.5
/Users/glasser/Projects/Subversion/ctypes-python-bindings/ctypesgen/wrap.py
-I/opt/local/include/apr-1 -DDARWIN -DSIGPROCMASK_SETS_THREAD_MASK
-no-cpp-precomp -I/opt/local/include/subversion-1 -llibapr-1.so
-llibaprutil-1.so /opt/local/include/subversion-1/svn_*.h
/opt/local/include/apr-1/ap[ru]_*.h -o svn_all.py

but wrap.py doesn't seem to expect arguments that look anything like
that, and I get

wrap.py: error: no such option: -n

(This is on OS X.) Am I doing something wrong?

--dave

-- 
David Glasser | glasser_at_mit.edu | http://www.davidglasser.net/
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Tue May 1 17:37:27 2007

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.