trouble compiling php under solaris 7
| From: | Michael Siff | Date: | Fri, 17 Aug 2001 20:37:29 +0000 |
| Subject: | trouble compiling php under solaris 7 | ||
| Groups: | php.install | ||
| Request: | Send a blank email to php-install+get-4018@lists.php.net to get a copy of this message | ||
I am trying to build and install up PHP 4.0.6 on my Ultra SPARC running
Solaris 7. I have previously installed mysql and apache (with the so
module) with success. I have configured php as:
./configure --with-mysql=/usr/local/mysql
--with-apxs=/usr/local/apache/bin/apxs
and it has run without error.
make then proceeds along nicely through many files and directories, and
then chokes in
./php-4.0.6/ext/xml
reporting:
/bin/sh /space/local/php-4.0.6/libtool --silent --mode=compile gcc -I.
-I/space/local/php-4.0.6/ext/xml -I/space/local/php-4.0.6/main
-I/space/local/php-4.0.6 -I/usr/local/apache1.3.20/include
-I/space/local/php-4.0.6/Zend -I/usr/local/mysql/include
-I/space/local/php-4.0.6/ext/xml/expat/xmltok
-I/space/local/php-4.0.6/ext/xml/expat/xmlparse
-I/space/local/php-4.0.6/TSRM -D_POSIX_PTHREAD_SEMANTICS -DSOLARIS2=270
-DUSE_EXPAT -DSUPPORT_UTF8 -DXML_BYTE_ORDER=21 -g -O2 -c xml.c
/bin/sh /space/local/php-4.0.6/libtool --silent --mode=link gcc -I.
-I/space/local/php-4.0.6/ext/xml -I/space/local/php-4.0.6/main
-I/space/local/php-4.0.6 -I/usr/local/apache1.3.20/include
-I/space/local/php-4.0.6/Zend -I/usr/local/mysql/include
-I/space/local/php-4.0.6/ext/xml/expat/xmltok
-I/space/local/php-4.0.6/ext/xml/expat/xmlparse
-I/space/local/php-4.0.6/TSRM -D_POSIX_PTHREAD_SEMANTICS -DSOLARIS2=270
-DUSE_EXPAT -DSUPPORT_UTF8 -DXML_BYTE_ORDER=21 -g -O2 -o libxml.la
xml.lo expat/libexpat.la
ar: archive, /space/local/php-4.0.6/ext/xml/expat/.libs/libexpat.al, not
found
I cannot figure out what is going wrong. Any assistance in identifying
this problem and getting
php up and running will be greatly appreciated.
Thanks,
- Mike