Install problems (unix.h)

From: Date: Wed, 26 Jun 2002 15:41:55 +0000
Subject: Install problems (unix.h)
Groups: php.install 
Request: Send a blank email to php-install+get-7489@lists.php.net to get a copy of this message
I have been having problems installing php 4.2.1 on Solaris 2.6, and have been running into that unix.h problem. I have used what was listed in the archives as a solution and it didn't work. Here's what I'm doing: ./configure --prefix=/usr/local/php --with-mysql=/usr/local/mysql --with-apache=../apache_1.3.26 This of course, picks up the unix.h. Following the archive solution, I commented out the include line in the zend.h file and the main/php.h file. When I run make after this, I now get this: 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 ../main/php_config.h:2084, from zend_config.h:1, from zend.h:48, from zend_compile.h:24, from zend_language_parser.c:147: /usr/include/stdlib.h:53: warning: empty declaration In file included from ../main/php_config.h:2088, from zend_config.h:1, from zend.h:48, from zend_compile.h:24, from zend_language_parser.c:147: /usr/include/sys/types.h:253: warning: empty declaration /usr/include/sys/types.h:354: warning: empty declaration /usr/include/sys/types.h:355: warning: empty declaration And this continues for almost every program, then it finally fails at the end with some other file not being found. What's going on here? I had JUST compiled this version on another 2.6 machine last week, and was able to get around the unix.h by changing the config.cache line to "no" and re-running configure. Now, I can't get anything to work. Any suggestions? Is this really related to that unix.h file? Where IS this unix.h? (I did a find on /usr, /bin, /lib and I can't find it anywhere.) ---------- Gardiner D. Leverett gdl@merit.edu Merit Network, Inc. Phone: 734-647-9888 4251 Plymouth Road, Suite 2000 Ann Arbor, MI 48105-2785 http://www.merit.edu

« previous php.install (#7489) next »