php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #18128 zend.h:55: unix.h: No such file or directory
Submitted: 2002-07-03 03:40 UTC Modified: 2002-07-16 09:17 UTC
From: steven at hawaii dot edu Assigned:
Status: Closed Package: Compile Failure
PHP Version: 4.2.1 OS: Solaris 8
Private report: No CVE-ID: None
Welcome back! If you're the original bug submitter, here's where you can edit the bug or add additional notes.
If you forgot your password, you can retrieve your password here.
Password:
Status:
Package:
Bug Type:
Summary:
From: steven at hawaii dot edu
New email:
PHP Version: OS:

 

 [2002-07-03 03:40 UTC] steven at hawaii dot edu
We do not have the /usr/include/unix.h file on our system.  However, when I executed the following configure statement:

# ./configure --with-mysql --with-apxs=/usr/local/pkg/apache/bin/apxs

it thought that the unix.h file existed, therefore it set HAVE_UNIX_H to true in the php_config.h file.  This led to the make failing as follows:

# make
Making all in Zend
/bin/sh ../libtool --silent --mode=compile gcc -DHAVE_CONFIG_H -I. -I. -I../main
    -D_POSIX_PTHREAD_SEMANTICS -DSOLARIS2=280 -DUSE_EXPAT -I../TSRM  -g -O2 -pre
fer-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
*** Error code 1
make: Fatal error: Command failed for target `zend_language_parser.lo'
Current working directory /usr/local/src/php-4.2.1/Zend
*** Error code 1
make: Fatal error: Command failed for target `all-recursive'
#

I'm not sure why the configure command is thinking the unix.h file exists.

Patches

Pull Requests

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2002-07-03 04:25 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.


 [2002-07-16 07:57 UTC] m dot c dot hudson at open dot ac dot uk
I grabbed the latest stable version from snaps.php.net

however, I'm still getting the same problem.

Same OS - Solaris 8.

Mark
 [2002-07-16 09:17 UTC] sniper@php.net
http://snaps.php.net/php4-latest.tar.gz

This is the correct snapshot..

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