Bug #17319 Updated: zend.h:55:19: unix.h: No such file or directory
| From: | b dot courtin at t-online dot net | Date: | Wed, 29 May 2002 13:23:36 +0000 |
| Subject: | Bug #17319 Updated: zend.h:55:19: unix.h: No such file or directory | ||
| References: | 1 | Groups: | php.bugs |
| Request: | Send a blank email to php-bugs+get-8846@lists.php.net to get a copy of this message | ||
ID: 17319
Updated by: b.courtin@t-online.net
Reported By: allan@sennaporto.com.br
Status: Feedback
Bug Type: Compile Failure
Operating System: Solaris 8
PHP Version: 4.2.1
New Comment:
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
Previous Comments:
------------------------------------------------------------------------
[2002-05-22 18:47:00] fowler@csufresno.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-20 16:17:45] mfischer@php.net
Have you tried CC=/path/to/gcc ./configure ... ?
------------------------------------------------------------------------
[2002-05-20 16:13:12] allan@sennaporto.com.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?
------------------------------------------------------------------------
--
Edit this bug report at http://bugs.php.net/?id=17319&edit=1