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

Re: no decision has been made on APR_PATH_MAX for your platform

From: Tim Slidel <tim.slidel_at_gmail.com>
Date: 2005-10-28 00:13:07 CEST

Hi,

I also suffered from the above compile error for swig-py. My setup:

redhat es 3 2.4.21-37.ELsmp
Apache 2.0.55 from source
python 2.3 from source
SWIG Version 1.3.27 from source:
./configure --with-python=/usr/bin/python2.3
--with-java=/usr/java/jdk1.5.0_05/bin/java
--with-javac=/usr/java/jdk1.5.0_05/bin/javac
--with-javaincl=/usr/java/jdk1.5.0_05/include
subversion-1.2.3: ./configure --with-apr=/opt/apache
--with-apr-util=/opt/apache --with-apxs=/opt/apache/bin/apxs
--with-swig=/usr/local/bin/swig

It seems the apache/include/apr.h just doesn't see PATH_MAX (defined
in my /usr/include/linux/limits.h) and so APR_PATH_MAX is not defined.
I tried things like including /usr/include/linux in include path but
didn't help.

After losing some hair I finally tried "kumar's dangerous hack"
(thanks!) which fixed the problem, at what cost I know not ;)

TS
Received on Fri Oct 28 02:11:34 2005

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

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