php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #17873 configure finds files which are not there ( unix.h )
Submitted: 2002-06-20 09:04 UTC Modified: 2002-06-20 09:21 UTC
From: Otto dot Hejduk at uni-konstanz dot de Assigned:
Status: Closed Package: Compile Failure
PHP Version: 4.2.1 OS: Solaris 8
Private report: No CVE-ID: None
View Developer Edit
Welcome! If you don't have a Git account, you can't do anything here.
If you reported this bug, you can edit this bug over here.
(description)
Block user comment
Status: Assign to:
Package:
Bug Type:
Summary:
From: Otto dot Hejduk at uni-konstanz dot de
New email:
PHP Version: OS:

 

 [2002-06-20 09:04 UTC] Otto dot Hejduk at uni-konstanz dot de
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.

Patches

Pull Requests

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2002-06-20 09:21 UTC] 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.


 
PHP Copyright © 2001-2026 The PHP Group
All rights reserved.
Last updated: Wed Oct 07 14:00:01 2026 UTC