do you have the symbolic link /usr/include/linux -> /usr/usrc/linux/include/linux ? ----- Original Message ----- 寄件者: "Ajay Sharma" <[EMAIL PROTECTED]> 收件者: <[EMAIL PROTECTED]> 傳送日期: 2000年7月15日 AM 06:40 主旨: errors compiling apache. > > I'm getting errors compiling Apache 1.3.12 on my Redhat 6.1 box. I'm > running 2.2.16-3 and I installed the kernel-source rpm too. Here's the > error (my "./configure" line is below): > > [root@drazi apache_1.3.12]# make > ===> src > make[1]: Entering directory `/opt/src/apache_1.3.12' > make[2]: Entering directory `/opt/src/apache_1.3.12/src' > ===> src/regex > gcc -I. -I../os/unix -I../include -DLINUX=2 -DUSE_HSREGEX -DUSE_EXPAT > -I../lib/expat-lite `../apaci` -DPOSIX_MISTAKE -c regcomp.c -o > regcomp.o > In file included from /usr/include/bits/posix1_lim.h:126, > from /usr/include/limits.h:30, > from > /usr/lib/gcc-lib/i386-redhat-linux/egcs-2.91.66/include/limits.h:117, > from > /usr/lib/gcc-lib/i386-redhat-linux/egcs-2.91.66/include/syslimits.h:7, > from > /usr/lib/gcc-lib/i386-redhat-linux/egcs-2.91.66/include/limits.h:11, > from regcomp.c:5: > /usr/include/bits/local_lim.h:27: linux/limits.h: No such file or > directory > make[3]: *** [regcomp.o] Error 1 > make[2]: *** [subdirs] Error 1 > make[2]: Leaving directory `/opt/src/apache_1.3.12/src' > make[1]: *** [build-std] Error 2 > make[1]: Leaving directory `/opt/src/apache_1.3.12' > make: *** [build] Error 2 > [root@drazi apache_1.3.12]# > > here's my configure line: > > ./configure --prefix=/etc/httpd --enable-suexec --suexec-caller=webman > --suexec-userdir=public_html --suexec-docroot=/home > --suexec-logfile=/etc/httpd/logs/suexec_log --suexec-uidmin=499 > --suexec-gidmin=499 --enable-shared=max > > Why are those files missing? What packages do I need to install to fix > this error? > > Thanks, > Ajay > > ---------------------------------------------------------------- > Satyajot (Ajay) Sharma > [EMAIL PROTECTED] > "There's more than gravity pushing on me" --Folk Implosion > ---------------------------------------------------------------- > > > -- > To unsubscribe: mail [EMAIL PROTECTED] with "unsubscribe" > as the Subject. -- To unsubscribe: mail [EMAIL PROTECTED] with "unsubscribe" as the Subject.