You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@subversion.apache.org by David Heppenstall <Da...@rci.rogers.com> on 2006/03/16 20:32:32 UTC
Python-SWIG Bindings (APR_PATH_MAX)
Hi,
I'm running SPARC Solaris 9, Subversion 1.2.3, Python 2.4 and SWIG
1.3.28 - I'm having some issues compiling Subversion's Python-SWIG
bindings...
I have read that once I have Python and SWIG up and running, the proper
steps I should take are:
1. configure --with-swig:/path/to/swig
2. make
3. make install
4. make swig-py
5. make install-swig-py
I'm stuck on step 4. When I attempt to make swig-py, I get the following
error:
subversion-1.2.3/apr/include/apr.h:393: Error: CPP #error "no decision
has been made on
APR_PATH_MAX for your platform". Use the -cpperraswarn option to
continue swig
processing.
make: *** [subversion/bindings/swig/python/svn_client.c] Error 1
First question I suppose is, how exactly do I use this -cpperraswarn
option? Is this even a solution for this problem?
I have determined that configure is detecting limits.h:
checking limits.h usability... yes
checking limits.h presence... yes
And that limits.h is defining the PATH_MAX variables:
#ifndef PATH_MAX
#define PATH_MAX 1024 /* max # of characters in a path name
*/
#define _POSIX_PATH_MAX 255
I have tried a hack I've come across to modify the apr.h file to
override this error, but resulted in more numerous and less readable
errors. So I suppose hacking the apr.h file isn't for me...
My goal is to simply create the library functions I need in
/usr/local/lib/python2.4/site-packages/
Thanks in advance for any assistance.
Yours,
- Dave Heppenstall
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Re: Python-SWIG Bindings (APR_PATH_MAX)
Posted by Max Bowsher <ma...@ukf.net>.
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
David Heppenstall wrote:
> Subversion 1.2.3,
> SWIG 1.3.28
You should pay attention to the described requirements in the Subversion
distribution. That combination is not supported.
Max.
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.2.1 (Cygwin)
iD8DBQFEGtkafFNSmcDyxYARAhWXAJ4iACXgLBI6UhSbqcq5KCsnPCuLPgCfRjkK
+cmWtgv8XWLMc2bbZG04gIM=
=PovV
-----END PGP SIGNATURE-----
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org