php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #17270 Make fail with php 4.2.1 on Solaris 5.8
Submitted: 2002-05-16 08:22 UTC Modified: 2002-05-16 09:33 UTC
From: philippe dot camus at in-fusio dot com Assigned:
Status: Closed Package: Compile Failure
PHP Version: 4.2.1 OS: Solaris 5.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: philippe dot camus at in-fusio dot com
New email:
PHP Version: OS:

 

 [2002-05-16 08:22 UTC] philippe dot camus at in-fusio dot com
I've tried to compile PHP-4.2.1 on Solaris 5.8.
Here is my "configure" option:
------------------------------

./configure --prefix=/data/php-4.2.1 --with-mysql --with-apxs=/data/www/bin/apxs --with-oci8=/data/oracle/v817 --with-gd=/usr/local

...


Here is the output of "make":
-----------------------------

Making all in Zend
make[1]: Entering directory `/tmp/php-4.2.1/Zend'
/bin/sh ../libtool --silent --mode=compile gcc -DHAVE_CONFIG_H -I. -I. -I../main   -D_POSIX_PTHREAD_SEMANTICS -DSOLARIS2=280 -DMOD_SSL=208105 -DEAPI -DUSE_EXPAT -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 `/tmp/php-4.2.1/Zend'
make: *** [all-recursive] Error 1


PHP 4.1.2 compiles just fine....  There no "unix.h" 

Patches

Pull Requests

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2002-05-16 08:37 UTC] edink@php.net
Duplicate of #17218.
 [2002-05-16 09:33 UTC] mfischer@php.net
Use CC=gcc ./configure ....

Seems to be a bug in autoconf, closing.
 
PHP Copyright © 2001-2025 The PHP Group
All rights reserved.
Last updated: Mon Dec 01 23:00:02 2025 UTC