Re: Re: HELP Getting error when compiling PHP
| From: | Richard Kurth | Date: | Mon, 30 Jul 2001 09:04:09 +0000 |
| Subject: | Re: Re: HELP Getting error when compiling PHP | ||
| References: | 1 2 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-60175@lists.php.net to get a copy of this message | ||
Hello Yasuo,
How can I tell if I am missing header files before I go and replace
them
Monday, July 30, 2001, 1:38:58 AM, you wrote:
Yasuo Ohgaki> "Richard Kurth" <rkurth@pacifier.com> wrote in message
Yasuo Ohgaki> news:25104272679.20010729172701@pacifier.com...
>> 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
Yasuo Ohgaki> gcc -DHAVE_CONFIG_H -I. -I. -I../main -DSUPPORT_UTF8 -DXML_BYTE_ORDER=12 -g -
Yasuo Ohgaki> 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
>>
Yasuo Ohgaki> I'm sure you don't have kernel header.
Yasuo Ohgaki> Install kernel header in your system and make a correct link for it.
Yasuo Ohgaki> RPM will do the job if you are using RedHat or like.
Yasuo Ohgaki> Regards,
Yasuo Ohgaki> --
Yasuo Ohgaki> Yasuo Ohgaki
--
Best regards,
Richard
mailto:rkurth@pacifier.com