"Richard Kurth" <[EMAIL PROTECTED]> wrote in message
[EMAIL PROTECTED]">news:[EMAIL PROTECTED]...
> I am compiling php as a cgi but I get this error when I run make
> It says it cant find the file errno.h but the file is in the
> directory it is looking in. What can I do to fix this.
> [root php-4.0.6]# make
> Making all in Zend
> make: Entering directory `/home/tmp/php-4.0.6/Zend'
> /bin/sh ../libtool --silent --mode=compile
gcc -DHAVE_CONFIG_H -I. -I. -I../main -DSUPPORT_UTF8 -DXML_BYTE_ORDER=12 -g -
O2 -c zend_language_scanner.c
> In file included from /usr/include/errno.h:36,
> from zend_language_scanner.c:2718:
> /usr/include/bits/errno.h:25: linux/errno.h: No such file or directory
> make: *** [zend_language_scanner.lo] Error 1
> make: Leaving directory `/home/tmp/php-4.0.6/Zend'
> make: *** [all-recursive] Error 1
I'm sure you don't have kernel header.
Install kernel header in your system and make a correct link for it.
RPM will do the job if you are using RedHat or like.
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]