I too am getting this error running
$ make swig-py
/usr/local/bin/swig -python
-I/home/kumar/build/subversion-1.2.3/subversion/bindings/swig
-I/home/kumar/build/subversion-1.2.3/subversion/include
-I/usr/local/share/swig/1.3.27 -DSVN_SWIG_VERSION=103027
-DSWIG_TABLE_TYPE=subversion -I/home/kumar/build/apr-0.9.7/include
-I/home/kumar/build/apr-util-0.9.7/include
-I/usr/local/BerkeleyDB.4.3/include
-I/home/kumar/build/subversion-1.2.3/subversion/bindings/swig
-I/home/kumar/build/subversion-1.2.3/subversion/include
-I/usr/local/share/swig/1.3.27 -DSVN_SWIG_VERSION=103027
-DSWIG_TABLE_TYPE=subversion -I/home/kumar/build/apr-0.9.7/include
-I/home/kumar/build/apr-util-0.9.7/include
-I/usr/local/BerkeleyDB.4.3/include -I/usr/include/python2.2
-I/home/kumar/build/subversion-1.2.3/subversion/bindings/swig/python/libsvn_swig_py
-o subversion/bindings/swig/python/svn_client.c
/home/kumar/build/subversion-1.2.3/subversion/bindings/swig/svn_client.i
/home/kumar/build/apr-0.9.7/include/apr.h:400: Error: no decision has
been made on APR_PATH_MAX for your platform
make: *** [subversion/bindings/swig/python/svn_client.c] Error 1
... and could not find any answers in the list archives.
I have seen this happen before (other tools) so I know APR_PATH_MAX is
defined in limits.h ... and there are many, most notably:
/usr/include/linux/limits.h
/usr/include/limits.h
/usr/lib/gcc-lib/i386-redhat-linux/3.2.3/include/limits.h
/usr/lib/gcc-lib/i386-redhat-linux/3.2.3/include/syslimits.h
/usr/lib/gcc-lib/i386-redhat-linux7/2.96/include/limits.h
/usr/lib/gcc-lib/i386-redhat-linux7/2.96/include/syslimits.h
But how do I tell swig where this is??
Subversion compiled just fine (1.2.3 source). I am on White Box Linux.
$ uname -a
Linux XXXX.com 2.4.27rimu1-3um #1 Thu Sep 9 02:48:08 UTC 2004 i686
i686 i386 GNU/Linux
Here is my configure ...
./configure --with-ssl --with-apr=../apr-0.9.7
--with-apr-util=../apr-util-0.9.7
--with-berkeley-db=/usr/local/BerkeleyDB.4.3 --with-neon=/usr/local
--prefix=/usr/local
[some version numbers that were not in the configure]:
$ swig -version
SWIG Version 1.3.27
$ python -V
Python 2.4.2
everything else built fine and subversion tests are passing.
/usr/local/bin/swig was accessible in $PATH and I saw that get picked
up during configure.
Any ideas? I would rather not hack up the code to #include limits.h :D
thanks, Kumar
> From: PJ Hyett <pjhyett_at_gmail.com>
> Date: 2005-10-21 21:58:46 CEST
>
> Hi guys,
> I'm getting this error while running make swig-rb. The rest of the
> configure/make/make install process went smoothly. Full output:
>
> pj:~/Desktop/subversion-1.2.3-2 pj$ make swig-rb
> /usr/local/bin/swig -ruby
> -I/Users/pj/Desktop/subversion-1.2.3-2/subversion/bindings/swig
> -I/Users/pj/Desktop/subversion-1.2.3-2/subversion/include
> -I/usr/local/share/swig/1.3.27 -DSVN_SWIG_VERSION=103027
> -DSWIG_TABLE_TYPE=subversion
> -I/Users/pj/Desktop/subversion-1.2.3-2/apr/include
> -I/Users/pj/Desktop/subversion-1.2.3-2/apr-util/include
> -I/Users/pj/Desktop/subversion-1.2.3-2/apr-util/xml/expat/lib
> -I/Users/pj/Desktop/subversion-1.2.3-2/subversion/bindings/swig
> -I/Users/pj/Desktop/subversion-1.2.3-2/subversion/include
> -I/usr/local/share/swig/1.3.27 -DSVN_SWIG_VERSION=103027
> -DSWIG_TABLE_TYPE=subversion
> -I/Users/pj/Desktop/subversion-1.2.3-2/apr/include
> -I/Users/pj/Desktop/subversion-1.2.3-2/apr-util/include
> -I/Users/pj/Desktop/subversion-1.2.3-2/apr-util/xml/expat/lib -I.
> -I/usr/local/lib/ruby/1.8/powerpc-darwin8.2.0
> -I/Users/pj/Desktop/subversion-1.2.3-2/subversion/bindings/swig/ruby/libsvn_swig_ruby
> -o subversion/bindings/swig/ruby/svn_client.c
> /Users/pj/Desktop/subversion-1.2.3-2/subversion/bindings/swig/svn_client.i
> /Users/pj/Desktop/subversion-1.2.3-2/apr/include/apr.h:393: Error: no
> decision has been made on APR_PATH_MAX for your platform
> make: *** [subversion/bindings/swig/ruby/svn_client.c] Error 1
>
> -PJ
> http://pjhyett.com
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Received on Fri Oct 21 22:51:30 2005