[PHP-DEV] PHP 4.0 Bug #4660: Fails to compile due to missing include file From: dphillips <email protected>
Date: 05/29/00

From: dphillips <email protected>
Operating system: Linux 2.2.14 Mandrake
PHP version: 4.0.0 Release
PHP Bug Type: Compile Failure
Bug description: Fails to compile due to missing include file

Hi,

    I just downloaded PHP 4 and tried to install on a linux machine. Here's what I did.

./configure --with-pam --with-mysql --with-pgsql --with-imap --enable-track-vars
--enable-versioning --with-gettext --with-apxs=/usr/sbin/apxs

             Making all in Zend
make[1]: Entering directory `/home/ftp/pub/php-4.0.0/Zend'
/bin/sh ../libtool --silent --mode=compile gcc -DHAVE_CONFIG_H -I. -I. -I.. -DEAPI=1
-I/usr/local/include -DXML_BYTE_ORDER=12 -g -O2 -Wall -c zend-scanner.c
In file included from /usr/include/bits/errno.h:25,
                 from /usr/include/errno.h:36,
                 from ./zend-scanner.l:41:
/usr/include/linux/errno.h:4: asm/errno.h: No such file or directory
make[1]: *** [zend-scanner.lo] Error 1
make[1]: Leaving directory `/home/ftp/pub/php-4.0.0/Zend'
make: *** [all-recursive] Error 1

Here's my machine Specs:
Tyan Tiger 100 MB
512MB EDO ECC RAM
Dual Intel PIII 550MHz
AMI Megaraid Controller - 3 Drives - RAID 5
Onboard IDE controller - 1 HDD (4.3GB) 1 CD-ROM (52x)
Two Davicom Ethernet cards
Apache 1.3.9
Mandrake Linux 7.0

I had no problems installing PHP-4RC2 on this same machine, same configuration.

Thanks in advance for the help.

-- 
PHP Development Mailing List <http://www.php.net/>
To unsubscribe, e-mail: php-dev-unsubscribe <email protected>
For additional commands, e-mail: php-dev-help <email protected>
To contact the list administrators, e-mail: php-list-admin <email protected>