Bug #17922 Updated: Zend fails with "unix.h not found"

From: Date: Tue, 25 Jun 2002 10:42:27 +0000
Subject: Bug #17922 Updated: Zend fails with "unix.h not found"
References: 1  Groups: php.bugs 
Request: Send a blank email to php-bugs+get-12028@lists.php.net to get a copy of this message
ID: 17922 Updated by: php@richardarmstrong.co.uk Reported By: php@richardarmstrong.co.uk Status: Closed Bug Type: Compile Failure Operating System: Solaris 2.6 PHP Version: 4.2.1 New Comment: The confiog.cache file retains the incorrect information, so :- rm config.cache CC=gcc ./configure <options> make etc On Solaris, I have also added export LD_RUN_PATH=/usr/lib:/usr/local/lib This appears to work ... hope it helps Previous Comments: ------------------------------------------------------------------------ [2002-06-25 05:09:43] kaneb035@ms55.hinet.net I have downloaded the newest one(php4-latest.tar.gz) from cvs, but the bug still exits. the following is the error message from make: /bin/sh libtool --silent --mode=compile gcc -Iext/ctype/ -I/tmp/php/ext/ctype/ In file included from /tmp/php/main/php.h:34, from /tmp/php/ext/ctype/ctype.c:23: /tmp/php/Zend/zend.h:59:19: unix.h: No such file or directory /tmp/php/Zend/zend.h:71:25: mach-o/dyld.h: No such file or directory In file included from /tmp/php/ext/ctype/ctype.c:23: /tmp/php/main/php.h:88:18: unix.h: No such file or directory make: *** [ext/ctype/ctype.lo] Error 1 the command before make is: ./configure --with-apxs=/usr/local/apache/bin/apxs \ --with-mysql=/usr/local/mysql \ CC=gcc ------------------------------------------------------------------------ [2002-06-22 10:02:53] sander@php.net This should be fixed in CVS, try a snapshot from http://snaps.php.net Alternatively, try this: CC=gcc ./configure <normal configure options go here> ------------------------------------------------------------------------ [2002-06-22 09:39:40] php@richardarmstrong.co.uk the bug may be fixed in "CVS", but where exactly ? which files need amending ? ------------------------------------------------------------------------ [2002-06-22 09:36:37] php@richardarmstrong.co.uk having installed the latest versions of flex and bison, the make fails with error messages about unix.h (despite the fact that the configure appears to find unix.h ORACLE_HOME=/disk0/app/oracle/product/8.0.5 ./configure --with-oci8 --with-apache=/disk1/from.usr.local.install/apache_1.3.26 --without-mysql ------------------------------------------------------------------------ -- Edit this bug report at http://bugs.php.net/?id=17922&edit=1

« previous php.bugs (#12028) next »