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:[EMAIL PROTECTED] http://ticketmaster.com http://apacheweek.com http://singlesheaven.com http://perl.apache.org http://perlmonth.com/