php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #17319 zend.h:55:19: unix.h: No such file or directory
Submitted: 2002-05-20 16:13 UTC Modified: 2002-05-29 09:45 UTC
Votes:2
Avg. Score:4.0 ± 0.0
Reproduced:2 of 2 (100.0%)
Same Version:1 (50.0%)
Same OS:1 (50.0%)
From: allan at sennaporto dot com dot br 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: allan at sennaporto dot com dot br
New email:
PHP Version: OS:

 

 [2002-05-20 16:13 UTC] allan at sennaporto dot com dot br
Using GCC download from www.sunfreeware.com

# ./configure --with-mysql --with-apache=../apache_1.3.24/
# make 
Making all in Zend
/bin/sh ../libtool --silent --mode=compile gcc -DHAVE_CONFIG_H -I. -I. -I../main    -D_POSIX_PTHREAD_SEMANTICS -I../TSRM  -g -O2 -prefer-non-pic -static -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
*** Error code 1
make: Fatal error: Command failed for target `zend_language_parser.lo'
Current working directory /scratch/src/php-4.2.1/Zend
*** Error code 1
make: Fatal error: Command failed for target `all-recursive'


I try some solutions that was report but don't work. Can some one help me?

Patches

Pull Requests

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2002-05-20 16:17 UTC] mfischer@php.net
Have you tried CC=/path/to/gcc ./configure ... ?
 [2002-05-22 18:47 UTC] fowler at csufresno dot edu
see: http://bugs.php.net/bug.php?id=17362

I ran into this problem myself. I was using gcc version 3.0.3 on solaris 8 (php4.2.1). I got it to compile by installing the following packages (available from sunfreeware.com) ... milage may vary!

    m4-1.4-sol8-sparc-local.gz 
    automake-1.6-sol8-sparc-local.gz
    autoconf-2.53-sol8-sparc-local.gz
    binutils-2.11.2-sol8-sparc-local.gz

I rebuilt the configure file and ran it again (see bug id 17362). Seemed to compile after that.
 [2002-05-29 09:23 UTC] b dot courtin at t-online dot net
Hi,

this is a dupe of Bug #17417. I've experienced the same error but it turned out to be due to the problem described in #17417.

Using "CC=gcc ./configure ..." compiled php-4.2.1 on Solaris 2.8 without any problems.

Kind regards,
Bert Courtin
 
PHP Copyright © 2001-2025 The PHP Group
All rights reserved.
Last updated: Thu Jul 03 17:01:33 2025 UTC