The cause of this error is complier cannot find kernel related headers.
Download kernel source (2.2 not 2.4), and untar under /usr/src/linux.
(or get/install kernel source/header RPM for 6.2)
Regards,
--
Yasuo Ohgaki
"Curtis Maurand" <[EMAIL PROTECTED]> wrote in message
[EMAIL PROTECTED]">news:[EMAIL PROTECTED]...
> Hello,
> I'm building 4.0.4pl1 on RedHat 6.2 with all updates applied. It
> configures OK and then when issue "make" i get:
>
> [root@fenris php-4.0.4pl1]# make
> Making all in Zend
> make[1]: Entering directory `/home/curtis/php-4.0.4pl1/Zend'
> /bin/sh ../libtool --silent --mode=compile gcc -DHAVE_CONFIG_H -I. -I.
> -I../main
> -DLINUX=2 -DEAPI -DUSE_EXPAT -DXML_BYTE_ORDER=12 -g -O2 -c
> zend_language_sca
> nner.c
> In file included from /usr/include/errno.h:36,
> from zend_language_scanner.c:2619:
> /usr/include/bits/errno.h:25: linux/errno.h: No such file or directory
> 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/li
> mits.h:117,
> from
> /usr/lib/gcc-lib/i386-redhat-linux/egcs-2.91.66/include/sy
> slimits.h:7,
> from
> /usr/lib/gcc-lib/i386-redhat-linux/egcs-2.91.66/include/li
> mits.h:11,
> from zend_language_scanner.c:2620:
> /usr/include/bits/local_lim.h:27: linux/limits.h: No such file or
> directory
> make[1]: *** [zend_language_scanner.lo] Error 1
> make[1]: Leaving directory `/home/curtis/php-4.0.4pl1/Zend'
> make: *** [all-recursive] Error 1
>
> Any one have any clues? I can't get 3.0.16 to build either and I need
> mysql support. If anyone knows where I can find functional RPM's that
> would be OK, too.
>
>
>
> Curtis
>
>
> --
> PHP General Mailing List (http://www.php.net/)
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
> To contact the list administrators, e-mail: [EMAIL PROTECTED]
>
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]