HELP Getting error when compiling PHP
| From: | Richard Kurth | Date: | Mon, 30 Jul 2001 00:27:01 +0000 |
| Subject: | HELP Getting error when compiling PHP | ||
| Groups: | php.general | ||
| Request: | Send a blank email to php-general+get-60129@lists.php.net to get a copy of this message | ||
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[1]: 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[1]: *** [zend_language_scanner.lo] Error 1
make[1]: Leaving directory `/home/tmp/php-4.0.6/Zend'
make: *** [all-recursive] Error 1
Best regards,
Richard
mailto:rkurth@pacifier.com