php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #18230 no unix.h include file. Compilation fails
Submitted: 2002-07-08 12:08 UTC Modified: 2002-07-10 07:30 UTC
From: ztmp53 at zr dot ru 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: ztmp53 at zr dot ru
New email:
PHP Version: OS:

 

 [2002-07-08 12:08 UTC] ztmp53 at zr dot ru
My commands:
1.
/configure --with-mysql --with-apxs=/apachephp/bin/apxs

2.
make

step 1 works fine
But spet 2 says:
# make
Making all in Zend
make[1]: Entering directory `/fuckinghome/ruslan/stuff/2002/forums/php/php-4.2.1/Zend'
/bin/sh ../libtool --silent --mode=compile gcc -DHAVE_CONFIG_H -I. -I. -I../main   -D_POSI
X_PTHREAD_SEMANTICS -DSOLARIS2=280 -DRUSSIAN_APACHE -DMOD_DEFLATE -DUSE_EXPAT -D_LARGEFILE
_SOURCE -D_FILE_OFFSET_BITS=64 -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: unix.h: No such file or directory
make[1]: *** [zend_language_parser.lo] Error 1
make[1]: Leaving directory `/fuckinghome/ruslan/stuff/2002/forums/php/php-4.2.1/Zend'
make: *** [all-recursive] Error 1
#
How can I have php compiled?

Patches

Pull Requests

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2002-07-08 12:09 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-10 06:25 UTC] ztmp53 at zr dot ru
The problem is still alive
Check your code please.
 [2002-07-10 06:29 UTC] sander@php.net
Did you get a snapshot from http://snaps.php.net/ ?
Did you unpack it to a new directory and ran ./configure?
Did you change your configure line?
Does it work if you configure with the following line:
CC=gcc ./configure --rest-of-your-configure-line-goes-here
 [2002-07-10 07:26 UTC] ztmp53 at zr dot ru
Yes, with CC=gcc ./configure it works now!
 [2002-07-10 07:30 UTC] sniper@php.net
with the snapshot, you don't need 'CC=gcc'..

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