Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations IamaSherpa on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

PHP Install Problems On Solaris 8

Status
Not open for further replies.

slen

IS-IT--Management
Jun 6, 2002
10
CA
I am trying to get PHP 4.2.1 setup on a Solaris 8 machine. I am using the following ./configure....

./configure --without-mysql --with-apache=../apache_1.3.24/ --enable-track-vars

seems to work fine.

But when I try the "make" i get the following.....

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 /root/src/php-4.2.1/Zend
*** Error code 1
make: Fatal error: Command failed for target `all-recursive'



The "zend.h:55:19: unix.h: No such file or directory" seeming to be the key to this all failing, but I cannot find anything about this.....Can anyone help me on this?
 
in the PHP source directory do the following:

touch main/unix.h
ln -s /usr/include/sysexits.h /usr/include/sys/sysexits.h
 
To my guess, u r missing some pre-requisite of PHP that adds the file unix.h to your system. Go thru the install / readme file of PHP and install all the pre-requisites..

Regds,

- Hemant
Networking and Systems Integration Group
Satyam Computer Services Ltd
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top