php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #17317 unix.h test succeeding where no unix.h exists
Submitted: 2002-05-20 15:08 UTC Modified: 2002-05-20 15:14 UTC
From: aclrk at umich dot edu Assigned:
Status: Closed Package: Compile Failure
PHP Version: 4.2.1 OS: Solaris 2.7
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: aclrk at umich dot edu
New email:
PHP Version: OS:

 

 [2002-05-20 15:08 UTC] aclrk at umich dot edu
Compiling php-4.2.1 on sparc solaris 2.7 using gcc and gnu tools gives the following error:

./configure --with-oci8=/usr/local/OraHome1 --enable-track-vars --with-mysql=/usr/local/mysql --with-apxs=/usr/local/apache/bin/apxs --enable-sigchild

(showing only unix.h entries):
checking for unix.h... yes
checking for unix.h... (cached) yes

running make gives:
Making all in Zend
/bin/sh ../libtool --silent --mode=compile gcc -DHAVE_CONFIG_H -I. -I. -I../main   -D_POSIX_PTHREAD_SEMANTICS -DSOLARIS2=270 -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:19: unix.h: No such file or directory
make: *** [zend_language_parser.lo] Error 1
*** Error code 1
make: Fatal error: Command failed for target `all-recursive'

"find / -name unix.h" shows no unix.h on the system!

The exact same system compiles 4.1.2 and 4.2.0 with no problems.

Patches

Pull Requests

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2002-05-20 15:14 UTC] mfischer@php.net
autoconf bug, use CC=gcc ./configure
 
PHP Copyright © 2001-2025 The PHP Group
All rights reserved.
Last updated: Sun Feb 23 07:01:29 2025 UTC