Bug #18230 Updated: no unix.h include file. Compilation fails

From: Date: Wed, 10 Jul 2002 11:30:12 +0000
Subject: Bug #18230 Updated: no unix.h include file. Compilation fails
References: 1  Groups: php.bugs 
Request: Send a blank email to php-bugs+get-13722@lists.php.net to get a copy of this message
ID: 18230 Updated by: sniper@php.net Reported By: ztmp53@zr.ru -Status: Feedback +Status: Closed Bug Type: Compile Failure Operating System: Solaris 8 PHP Version: 4.2.1 New Comment: with the snapshot, you don't need 'CC=gcc'.. Previous Comments: ------------------------------------------------------------------------ [2002-07-10 07:26:30] ztmp53@zr.ru Yes, with CC=gcc ./configure it works now! ------------------------------------------------------------------------ [2002-07-10 06:29:23] sander@php.net Did you get a snapshot from http://snaps.php.net/ ? Did you unpack it to a new directory and ran ./configure? Did you change your configure line? Does it work if you configure with the following line: CC=gcc ./configure --rest-of-your-configure-line-goes-here ------------------------------------------------------------------------ [2002-07-10 06:25:44] ztmp53@zr.ru The problem is still alive Check your code please. ------------------------------------------------------------------------ [2002-07-08 12:09:37] sander@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-07-08 12:08:10] ztmp53@zr.ru My commands: 1. /configure --with-mysql --with-apxs=/apachephp/bin/apxs 2. make step 1 works fine But spet 2 says: # make Making all in Zend make[1]: Entering directory `/fuckinghome/ruslan/stuff/2002/forums/php/php-4.2.1/Zend' /bin/sh ../libtool --silent --mode=compile gcc -DHAVE_CONFIG_H -I. -I. -I../main -D_POSI X_PTHREAD_SEMANTICS -DSOLARIS2=280 -DRUSSIAN_APACHE -DMOD_DEFLATE -DUSE_EXPAT -D_LARGEFILE _SOURCE -D_FILE_OFFSET_BITS=64 -I../TSRM -g -O2 -prefer-pic -c -o zend_language_parser.lo test -f zend_language_parser.c || echo './'zend_language_parser.c In file included from zend_compile.h:24, from zend_language_parser.c:147: zend.h:55: unix.h: No such file or directory make[1]: *** [zend_language_parser.lo] Error 1 make[1]: Leaving directory `/fuckinghome/ruslan/stuff/2002/forums/php/php-4.2.1/Zend' make: *** [all-recursive] Error 1 # How can I have php compiled? ------------------------------------------------------------------------ -- Edit this bug report at http://bugs.php.net/?id=18230&edit=1

« previous php.bugs (#13722) next »