> > Using the latest version of Swig (1.3.27), Perl 5.8.7 and apache 2.0.54 > (problem apparently exists with latest apache as well)... > > Subversion builds and runs fine using: > > ./configure --prefix=/usr \ > --with-apr=/usr \ > --with-apr-util=/usr \ > --enable-javahl \ > --with-swig > > ...but running make swig-pl or make swig-py results in: > > /usr/include/httpd/apr.h:393: Error: no decision has been made on > APR_PATH_MAX for your platform > make: *** [subversion/bindings/swig/python/svn_client.c] Error 1 > > It seems APR_PATH_MAX should be found in PATH_MAX, which is set in > /usr/include/linux/limits.h to 4096. For some reason APR isn't finding it > though. > > I assume this is an Apache bug? Any ideas of how to work around it? Others > on the web have reported the same thing but there are no satisfactory > fixes > I can find.
I should mention that editing the header thusly: #if !defined(PATH_MAX) #define PATH_MAX 4096 #endif Works, but that's pretty ugly. -- http://linuxfromscratch.org/mailman/listinfo/blfs-support FAQ: http://www.linuxfromscratch.org/blfs/faq.html Unsubscribe: See the above information page