Bug #18040 Updated: unix.h, sys/sysexits.h and parse error

From: Date: Mon, 01 Jul 2002 10:06:12 +0000
Subject: Bug #18040 Updated: unix.h, sys/sysexits.h and parse error
References: 1  Groups: php.bugs 
Request: Send a blank email to php-bugs+get-12631@lists.php.net to get a copy of this message
ID: 18040 Updated by: tamone@eig.unige.ch Reported By: yamasaki@aero.kyushu-u.ac.jp Status: Closed Bug Type: Compile Failure Operating System: Solaris 8 (Intel) PHP Version: 4.2.1 New Comment: NOT SOLVED ! compiling on solaris 8 with gcc 2.95.3 keeps giving the error on unix.h sys/sysexits.h has disappeared, but a new mach-o/dyld.h problem has appeared: configure: ./configure --with-apxs2=/space/www/bin/apxs --prefix=/space/www make: error on the very first compiled file ctype.c: 1. not found unix.h, called by Zend.h, called by php.h 2. not found mach-o/dyld.h, called by php.h /bin/sh libtool --silent --mode=compile gcc -Iext/ctype/ -I/space/src/php4/php4-200207010000/ext/ctype/ -DPHP_ATOM_INC -I/space/src/php4/php4-200207010000/include -I/space/src/php4/php4-200207010000/main -I/space/src/php4/php4-200207010000 -I/space/www/include -I/space/src/php4/php4-200207010000/Zend -I/space/src/php4/php4-200207010000/ext/xml/expat -D_POSIX_PTHREAD_SEMANTICS -I/space/src/php4/php4-200207010000/TSRM -g -O2 -prefer-pic -c /space/src/php4/php4-200207010000/ext/ctype/ctype.c -o ext/ctype/ctype.lo In file included from /space/src/php4/php4-200207010000/main/php.h:34, from /space/src/php4/php4-200207010000/ext/ctype/ctype.c:23: /space/src/php4/php4-200207010000/Zend/zend.h:59: unix.h: No such file or directory In file included from /space/src/php4/php4-200207010000/main/php.h:34, from /space/src/php4/php4-200207010000/ext/ctype/ctype.c:23: /space/src/php4/php4-200207010000/Zend/zend.h:71: mach-o/dyld.h: No such file or directory In file included from /space/src/php4/php4-200207010000/ext/ctype/ctype.c:23: /space/src/php4/php4-200207010000/main/php.h:88: unix.h: No such file or directory make: *** [ext/ctype/ctype.lo] Error 1 Previous Comments: ------------------------------------------------------------------------ [2002-06-28 04:42:53] sniper@php.net This bug has been fixed in CVS. You can grab a snapshot of the CVS version at http://snaps.php.net/. In case this was a documentation problem, the fix will show up soon at http://www.php.net/manual/. In case this was a PHP.net website problem, the change will show up on the PHP.net site and on the mirror sites. Thank you for the report, and for helping us make PHP better. ------------------------------------------------------------------------ [2002-06-28 04:37:47] yamasaki@aero.kyushu-u.ac.jp On Solaris 8 (Intel) and gcc 2.95.2, After ./configure --with-pgsql --with apxs2=/usr/local/apache2/bin/apxs \ --enable-trans-sid --enable-mbstring --enable-mbstr-enc-trans \ --enable-track-vars --without-mysql 'make' gives the following 4 errors 1 No <unix.h> defined in Zend/zend.h 2 No <unix.h> defined in main/php.h 3 No <sys/sysexits.h> defined in ext/standard/mail.c 4 In sapi/apache2filter/php_functions.c, the following part (line 93) is unparsable, #if !MODULE_MAGIC_AT_LEAST(20020506,0) ADD_STRING(boundary); #endif ------------------------------------------------------------------------ -- Edit this bug report at http://bugs.php.net/?id=18040&edit=1

« previous php.bugs (#12631) next »