Ali Eghtessadi wrote:
configure with mysql and with apache option seems to work but when I issue the command make in PHP directory, I get the following error :
sunny# 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: unix.h: No such file or directory
Error code 1
make: Fatal error: Command failed for target `zend_language_parser.lo'
Current working directory /export/ali/webserver-stuff/php-4.2.1/Zend
Error code 1
....
Ali:
I ran into the same problem and searched the archives. Here is the suggested solution from Sascha Schumann: (php-install| 2000052)
<snip>
So. Does anyone know what the heck this unix.h is and why it isn't behaving?
unix.h is a misnamed header file from the imap package.
Edit php_config.h and remove the #define HAVE_UNIX_H 1 entry. The mid term solution is to rename unix.h to something like imap_unix.h.
- Sascha
</snip>
This got me further; now I'm having different issues, with sysexits.h.
Good luck,