php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #17426 php includes unix.h that is not standard on Solaris and then failes to compile.
Submitted: 2002-05-25 06:22 UTC Modified: 2002-05-25 07:08 UTC
From: haj at nathue dot dk Assigned:
Status: Closed Package: Compile Failure
PHP Version: 4.2.1 OS: Solaris SPARC
Private report: No CVE-ID: None
 [2002-05-25 06:22 UTC] haj at nathue dot dk
when compiling php 4.2.1 on Solaris 8 SPARC one gets this:

/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 -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 `/root/udv/php-4.2.1/Zend'
make: *** [all-recursive] Error 1

This is not a problem when compiling 4.2.0.

Patches

Pull Requests

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2002-05-25 07:08 UTC] derick@php.net
CC=gcc ./configure --your-configure-stuff

Its a bug in autoconf, please reopen of the thing above doesn't fix the problem.
 
PHP Copyright © 2001-2025 The PHP Group
All rights reserved.
Last updated: Sun Dec 28 18:00:01 2025 UTC