Compiling PHP4 on Solaris7
| From: | Christelle Piedsnoirs | Date: | Wed, 02 Aug 2000 10:18:24 +0000 |
| Subject: | Compiling PHP4 on Solaris7 | ||
| Groups: | php.general | ||
| Request: | Send a blank email to php-general+get-9662@lists.php.net to get a copy of this message | ||
Hello,
I want to install php4 on Solaris7 (sparc ultra5) with apache 1.3.9 and
mysql 3.22.32.
The following errors occurred during the execution of the command make :
Making all in Zend
/bin/sh ../libtool --silent --mode=compile gcc -DHAVE_CONFIG_H -I. -I.
-I.. -DXML_BYTE_ORDER=21 -g -O2 -Wall -c zend-scanner.c
In file included from
/usr/local/free/gcc/gcc-2.7.2.1/lib/gcc-lib/sparc-sun-solaris2.4/2.7.2.1/include/time.h:90,
from /usr/include/sys/time.h:405,
from /usr/include/sys/select.h:17,
from
/usr/local/free/gcc/gcc-2.7.2.1/lib/gcc-lib/sparc-sun-solaris2.4/2.7.2.1/include/sys/types.h:274,
from ../php_config.h:1426,
from zend_config.h:1,
from zend.h:45,
from ./zend-scanner.l:42:
/usr/include/sys/siginfo.h:74: parse error before `pthread_attr_t'
/usr/include/sys/siginfo.h:74: warning: no semicolon at end of struct or
union
/usr/include/sys/siginfo.h:76: parse error before `}'
zend-scanner.c:5766: warning: `yy_fatal_error' defined but not used
zend-scanner.c:5751: warning: `yy_top_state' defined but not used
*** Error code 1
make: Fatal error: Command failed for target `zend-scanner.lo'
Current working directory /tmp/php-4.0.0/Zend
*** Error code 1
make: Fatal error: Command failed for target `all-recursive'
Thanks for your help and sorry for my english.
Chrystel