Bug #17873: configure finds files which are not there ( unix.h )
| From: | Otto dot Hejduk at uni-konstanz dot de | Date: | Thu, 20 Jun 2002 13:04:29 +0000 |
| Subject: | Bug #17873: configure finds files which are not there ( unix.h ) | ||
| Groups: | php.bugs | ||
| Request: | Send a blank email to php-bugs+get-11563@lists.php.net to get a copy of this message | ||
From: Otto.Hejduk@uni-konstanz.de
Operating system: Solaris 8
PHP version: 4.2.1
PHP Bug Type: Compile Failure
Bug description: configure finds files which are not there ( unix.h )
System: SUN Netra AC200
Solaris 8
gcc version 2.95.3 20010315
configure-line:
./configure --with-mysql --with-oci8=/var/oracle/8.1.7/
--with-apache=../apache_1.3.26 --enable-track-vars
The Problem:
Configure finds unix.h which is not there on the whole sytem:
....
checking for unistd.h... yes
checking for unix.h... yes
checking for utime.h... yes
.....
then make:
make
Making all in Zend
make[1]: Entering directory `/usr/local/src/php-4.2.1/Zend'
/bin/sh ../libtool --silent --mode=compile gcc -DHAVE_CONFIG_H -I. -I.
-I../main -D_POSIX_PTHREAD_SEMANTICS -I../TSRM -g -O2 -prefer-non-pic
-static -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 `/usr/local/src/php-4.2.1/Zend'
make: *** [all-recursive] Error 1
If you comment this out in zend.h line 55 then the same occurs with the
next file somewhat select.h or so.
Please Help.
Thank you.
--
Edit bug report at http://bugs.php.net/?id=17873&edit=1
--
Fixed in CVS: http://bugs.php.net/fix.php?id=17873&r=fixedcvs
Fixed in release: http://bugs.php.net/fix.php?id=17873&r=alreadyfixed
Need backtrace: http://bugs.php.net/fix.php?id=17873&r=needtrace
Try newer version: http://bugs.php.net/fix.php?id=17873&r=oldversion
Not developer issue: http://bugs.php.net/fix.php?id=17873&r=support
Expected behavior: http://bugs.php.net/fix.php?id=17873&r=notwrong
Not enough info: http://bugs.php.net/fix.php?id=17873&r=notenoughinfo
Submitted twice: http://bugs.php.net/fix.php?id=17873&r=submittedtwice
register_globals: http://bugs.php.net/fix.php?id=17873&r=globals