You are viewing a plain text version of this content. The canonical link for it is here.
Posted to test-dev@httpd.apache.org by Mark Evans <ma...@neonova.net> on 2001/11/20 01:31:46 UTC

Problems with httpd-2.0 and flood: Addition

These are the error messages I get when installing httpd-2.0:

[snip]
make[4]: Entering directory `/usr/local/src/httpd-2.0/srclib/apr/strings'
/bin/sh /usr/local/src/httpd-2.0/srclib/apr/libtool --silent 
--mode=compile gcc -g -O2 -pthread   -DHAVE_CONFIG_H -DLINUX=2 
-D_REENTRANT -D_XOPEN_SOURCE=500 -D_BSD_SOURCE -D_SVID_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:303: #error no decision has been made on APR_PATH_MAX 
for your platform
make[4]: *** [apr_cpystrn.lo] Error 1
make[4]: Leaving directory `/usr/local/src/httpd-2.0/srclib/apr/strings'
make[3]: *** [all-recursive] Error 1
make[3]: Leaving directory `/usr/local/src/httpd-2.0/srclib/apr/strings'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/usr/local/src/httpd-2.0/srclib/apr'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/usr/local/src/httpd-2.0/srclib'
make: *** [all-recursive] Error 1
[snip]

Any ideas?

Thanks,

Mark


Re: Problems with httpd-2.0 and flood: Addition

Posted by Aaron Bannert <aa...@clove.org>.
On Mon, Nov 19, 2001 at 07:31:46PM -0500, Mark Evans wrote:
> These are the error messages I get when installing httpd-2.0:
> 
> [snip]
> make[4]: Entering directory `/usr/local/src/httpd-2.0/srclib/apr/strings'
> /bin/sh /usr/local/src/httpd-2.0/srclib/apr/libtool --silent 
> --mode=compile gcc -g -O2 -pthread   -DHAVE_CONFIG_H -DLINUX=2 
> -D_REENTRANT -D_XOPEN_SOURCE=500 -D_BSD_SOURCE -D_SVID_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:303: #error no decision has been made on APR_PATH_MAX 
> for your platform
> make[4]: *** [apr_cpystrn.lo] Error 1
> make[4]: Leaving directory `/usr/local/src/httpd-2.0/srclib/apr/strings'
> make[3]: *** [all-recursive] Error 1
> make[3]: Leaving directory `/usr/local/src/httpd-2.0/srclib/apr/strings'
> make[2]: *** [all-recursive] Error 1
> make[2]: Leaving directory `/usr/local/src/httpd-2.0/srclib/apr'
> make[1]: *** [all-recursive] Error 1
> make[1]: Leaving directory `/usr/local/src/httpd-2.0/srclib'
> make: *** [all-recursive] Error 1
> [snip]
> 
> Any ideas?

I suspect you have a broken installation of RH6.2. In my last message
I reported that RH7.1 has /usr/include/linux/limits.h. It turns out
I have a long forgotten RH6.2 box, and I'm happy to report that it also
has the same file defining PATH_MAX. Please check your distribution.

-aaron

Re: Problems with httpd-2.0 and flood: Addition

Posted by Mark Evans <li...@neonova.net>.
THANKS!

I installed the kernel source rpm's and everything seems to be working 
great.

I had to do a ./buildconf and ./configure again after installing these 
files!

Thanks for the help!

Mark

On Monday, November 19, 2001, at 08:51 PM, Stas Bekman wrote:

> Mark Evans wrote:
>
>> These are the error messages I get when installing httpd-2.0:
>> [snip]
>> make[4]: Entering directory 
>> `/usr/local/src/httpd-2.0/srclib/apr/strings'
>> /bin/sh /usr/local/src/httpd-2.0/srclib/apr/libtool --silent 
>> --mode=compile gcc -g -O2 -pthread   -DHAVE_CONFIG_H -DLINUX=2 
>> -D_REENTRANT -D_XOPEN_SOURCE=500 -D_BSD_SOURCE -D_SVID_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:303: #error no decision has been made on APR_PATH_MAX 
>> for your platform
>> make[4]: *** [apr_cpystrn.lo] Error 1
>> make[4]: Leaving directory 
>> `/usr/local/src/httpd-2.0/srclib/apr/strings'
>> make[3]: *** [all-recursive] Error 1
>> make[3]: Leaving directory 
>> `/usr/local/src/httpd-2.0/srclib/apr/strings'
>> make[2]: *** [all-recursive] Error 1
>> make[2]: Leaving directory `/usr/local/src/httpd-2.0/srclib/apr'
>> make[1]: *** [all-recursive] Error 1
>> make[1]: Leaving directory `/usr/local/src/httpd-2.0/srclib'
>> make: *** [all-recursive] Error 1
>> [snip]
>> Any ideas?
>
> Yup, you don't have the kernel source with all its include files 
> installed.
>
> You need /usr/include/linux/limits.h for this to work.
>
> % urpmf /usr/include/linux/limits.h
> kernel-headers:/usr/include/linux/limits.h
>
> Install the kernel-headers package (or the whole kernel source). This 
> is on Mandrake, but if I remember correctly it's the same on RH.
>
> /usr/include/linux/limits.h:#define PATH_MAX        4095	/* # chars in a 
> path name */
>
> Hmm, may be apr's error should be more verbose? Obviously PATH_MAX is 
> supported on linux.
>
> _____________________________________________________________________
> Stas Bekman             JAm_pH      --   Just Another mod_perl Hacker
> http://stason.org/      mod_perl Guide   http://perl.apache.org/guide
> mailto:stas@stason.org  http://ticketmaster.com http://apacheweek.com
> http://singlesheaven.com http://perl.apache.org http://perlmonth.com/
>


Re: Problems with httpd-2.0 and flood: Addition

Posted by Stas Bekman <st...@stason.org>.
Mark Evans wrote:

> These are the error messages I get when installing httpd-2.0:
> 
> [snip]
> make[4]: Entering directory `/usr/local/src/httpd-2.0/srclib/apr/strings'
> /bin/sh /usr/local/src/httpd-2.0/srclib/apr/libtool --silent 
> --mode=compile gcc -g -O2 -pthread   -DHAVE_CONFIG_H -DLINUX=2 
> -D_REENTRANT -D_XOPEN_SOURCE=500 -D_BSD_SOURCE -D_SVID_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:303: #error no decision has been made on APR_PATH_MAX 
> for your platform
> make[4]: *** [apr_cpystrn.lo] Error 1
> make[4]: Leaving directory `/usr/local/src/httpd-2.0/srclib/apr/strings'
> make[3]: *** [all-recursive] Error 1
> make[3]: Leaving directory `/usr/local/src/httpd-2.0/srclib/apr/strings'
> make[2]: *** [all-recursive] Error 1
> make[2]: Leaving directory `/usr/local/src/httpd-2.0/srclib/apr'
> make[1]: *** [all-recursive] Error 1
> make[1]: Leaving directory `/usr/local/src/httpd-2.0/srclib'
> make: *** [all-recursive] Error 1
> [snip]
> 
> Any ideas?

Yup, you don't have the kernel source with all its include files installed.

You need /usr/include/linux/limits.h for this to work.

% urpmf /usr/include/linux/limits.h
kernel-headers:/usr/include/linux/limits.h

Install the kernel-headers package (or the whole kernel source). This is 
on Mandrake, but if I remember correctly it's the same on RH.

/usr/include/linux/limits.h:#define PATH_MAX        4095	/* # chars in a path 
name */

Hmm, may be apr's error should be more verbose? Obviously PATH_MAX is 
supported on linux.

_____________________________________________________________________
Stas Bekman             JAm_pH      --   Just Another mod_perl Hacker
http://stason.org/      mod_perl Guide   http://perl.apache.org/guide
mailto:stas@stason.org  http://ticketmaster.com http://apacheweek.com
http://singlesheaven.com http://perl.apache.org http://perlmonth.com/