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" <[EMAIL PROTECTED]> wrote in message
Yasuo Ohgaki> [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[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:[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]

Reply via email to