You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@subversion.apache.org by "Sergey A. Lipnevich" <se...@pisem.net> on 2002/08/10 13:28:52 UTC

r2927 can't build anymore, something wrong with APR_PATH_MAX

Hi,

I've built r2927 successfully, checked out the release, and it failed a 
lot of tests. At this time I saw that neon was upgraded to 0.22.0, and 
went about installing required version of openssl and neon itself. Now I 
returned to building Subversion, but it fails even at r2927. After 
un-tarring, I don't change anything at all, including ./configure 
arguments (it's a script, hence I'm sure), so it's quite mysterious -- 
apr, apr-util, and neon are in the tarball, right? Here's the error:

Making all in strings
make[2]: Entering directory `/usr/src/subversion-r2927/apr/strings'
make[3]: Entering directory `/usr/src/subversion-r2927/apr/strings'
/bin/sh /usr/src/subversion-r2927/apr/libtool --silent --mode=compile 
gcc -g -Wall -Wmissing-prototypes -Wstrict-prototypes 
-Wmissing-declarations -pthread  -mcpu=i686 -march=i686 -O3 
-DHAVE_CONFIG_H -DLINUX=2 -D_REENTRANT -D_XOPEN_SOURCE=500 -D_BSD_SOURCE 
-D_SVID_SOURCE -D_GNU_SOURCE   -I../include -I../include/arch/unix  -c 
apr_cpystrn.c && touch apr_cpystrn.lo
In file included from apr_cpystrn.c:55:
../include/apr.h:314:2: #error no decision has been made on APR_PATH_MAX 
for your platform
make[3]: *** [apr_cpystrn.lo] Error 1
make[3]: Leaving directory `/usr/src/subversion-r2927/apr/strings'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/usr/src/subversion-r2927/apr/strings'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/usr/src/subversion-r2927/apr'
make: *** [external-all] Error 1

Is this a known problem? Thank you!

Sergey Lipnevich.
Section "collab",
Source Mage GNU/Linux,
http://www.sourcemage.org/


---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org

Re: r2927 can't build anymore, something wrong with APR_PATH_MAX

Posted by "Sergey A. Lipnevich" <se...@pisem.net>.
Turned out my kernel sources were missing. We're a young distribution, 
so things happen :-)... You're right again, Justin!
Thanks!

--Sergey.

Justin Erenkrantz wrote:

>On Sat, Aug 10, 2002 at 09:28:52AM -0400, Sergey A. Lipnevich wrote:
>  
>
>>Making all in strings
>>make[2]: Entering directory `/usr/src/subversion-r2927/apr/strings'
>>make[3]: Entering directory `/usr/src/subversion-r2927/apr/strings'
>>/bin/sh /usr/src/subversion-r2927/apr/libtool --silent --mode=compile 
>>gcc -g -Wall -Wmissing-prototypes -Wstrict-prototypes 
>>-Wmissing-declarations -pthread  -mcpu=i686 -march=i686 -O3 
>>-DHAVE_CONFIG_H -DLINUX=2 -D_REENTRANT -D_XOPEN_SOURCE=500 -D_BSD_SOURCE 
>>-D_SVID_SOURCE -D_GNU_SOURCE   -I../include -I../include/arch/unix  -c 
>>apr_cpystrn.c && touch apr_cpystrn.lo
>>In file included from apr_cpystrn.c:55:
>>../include/apr.h:314:2: #error no decision has been made on APR_PATH_MAX 
>>for your platform
>>    
>>
>
>This is the case when PATH_MAX or _POSIX_PATH_MAX are not defined.
>Since these should be defined in <limits.h> (/usr/include/limits.h),
>I'd guess that this file is either missing or corrupt.  -- justin
>
>  
>




---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org

Re: r2927 can't build anymore, something wrong with APR_PATH_MAX

Posted by Justin Erenkrantz <je...@apache.org>.
On Sat, Aug 10, 2002 at 09:28:52AM -0400, Sergey A. Lipnevich wrote:
> Making all in strings
> make[2]: Entering directory `/usr/src/subversion-r2927/apr/strings'
> make[3]: Entering directory `/usr/src/subversion-r2927/apr/strings'
> /bin/sh /usr/src/subversion-r2927/apr/libtool --silent --mode=compile 
> gcc -g -Wall -Wmissing-prototypes -Wstrict-prototypes 
> -Wmissing-declarations -pthread  -mcpu=i686 -march=i686 -O3 
> -DHAVE_CONFIG_H -DLINUX=2 -D_REENTRANT -D_XOPEN_SOURCE=500 -D_BSD_SOURCE 
> -D_SVID_SOURCE -D_GNU_SOURCE   -I../include -I../include/arch/unix  -c 
> apr_cpystrn.c && touch apr_cpystrn.lo
> In file included from apr_cpystrn.c:55:
> ../include/apr.h:314:2: #error no decision has been made on APR_PATH_MAX 
> for your platform

This is the case when PATH_MAX or _POSIX_PATH_MAX are not defined.
Since these should be defined in <limits.h> (/usr/include/limits.h),
I'd guess that this file is either missing or corrupt.  -- justin

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org