Re: Build problems

From: Date: Fri, 27 Apr 2001 14:45:50 +0000
Subject: Re: Build problems
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-50633@lists.php.net to get a copy of this message
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" <curtis@canon.maurand.com> wrote in message news:Pine.LNX.4.30.0104261247120.19976-100000@canon.maurand.com... > 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: php-general-unsubscribe@lists.php.net > For additional commands, e-mail: php-general-help@lists.php.net > To contact the list administrators, e-mail: php-list-admin@lists.php.net >

« previous php.general (#50633) next »