[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[cobalt-users] [RaQ 3] PHP4 and Kernel Headers



Hi, I'm trying to install php-4.0.4pl1.rpm with
./configure --with-apxs=/usr/sbin/apxs --enable-versioning --with-mysql --wi
th-xml --enable-track-vars

No apparant errors so make:

Making all in Zend
make[1]: Entering directory `/home/packages/php-4.0.4pl1/Zend'
/bin/sh ../libtool --silent --mode=compile
gcc -DHAVE_CONFIG_H -I. -I. -I../main   -DLINUX=2 -DNO_DBM_REWRITEMAP -DMOD_
SSL=202108 -DMOD_PERL -DUSE_PERL_SSI -Dbool=char -DHAS_BOOL -DEAPI -DBIG_SEC
URITY_HOLE -DCOBALT_RAQ_LED -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: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/limits.h:117,
                 from
/usr/lib/gcc-lib/i386-redhat-linux/egcs-2.91.66/include/syslimits.h:7,
                 from
/usr/lib/gcc-lib/i386-redhat-linux/egcs-2.91.66/include/limits.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/packages/php-4.0.4pl1/Zend'
make: *** [all-recursive] Error 1

I found a similar error in the archives, and the suggestion was to install
kernel headers, managed to find the right rpm for my kernel but when I try
to install this I get:

rpm -Uvh kernel-headers-2.2.14C10-1.i386.rpm
error: failed dependencies:
        kernel-headers = 2.2.14C5 is needed by kernel-source-2.2.14C5-1

Does anyone know where the above package is or what I'm doing wrong?
Any help would be much appreciated.
Cheers,
Gavin