[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: Garrett Rooney <rooneg_at_electricjellyfish.net>
Date: 2005-11-26 22:24:50 CET

On 11/26/05, Ximon Eighteen <ximon.eighteen@int.greenpeace.org> wrote:
> Hi all,
>
> I'm seeing the error mentioned in the subject when running make swig-py.
> I'm building on a RHEL 4 system. Searching Google and the haxx mailing
> list archives turned up a few things including this:
>
> http://subversion.tigris.org/servlets/ReadMsg?list=dev&msgNo=19781
>
> My system has /usr/include/limits.h, but it does not define PATH_MAX or
> _POSIX_PATH_MAX. Configure *is* finding limits.h:-
>
> checking limits.h usability... yes
> checking limits.h presence... yes
> checking for limits.h... yes
>
> My system has /usr/include/linux/limits.h which *does* define PATH_MAX,
> but apparently like this user:
>
> http://svn.haxx.se/users/archive-2005-10/1028.shtml
>
> it is not being included. -D_GNU_SOURCE *is* getting defined.
>

The problem is that the correct cflags are not being used when calling
swig, it needs APR's cflags so that all the ifdefs work out. You
should be able to run 'apr-config --cflags' or 'apr-config --cppflags'
to see the correct flags, and then modify the makefile to pass them to
swig.

This has been fixed in a more "correct" way in more current versions
of svn, but they have not yet been released, for the time being you
should be able to work around it via the method I just suggested
though.

-garrett

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Received on Sat Nov 26 22:26:52 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.