PHP problems on Solaris 10
| From: | Brandon Molnar | Date: | Tue, 02 May 2006 02:50:26 +0000 |
| Subject: | PHP problems on Solaris 10 | ||
| Groups: | php.install | ||
| Request: | Send a blank email to php-install+get-17290@lists.php.net to get a copy of this message | ||
Hello everyone. I compiled PHP 5.1.2 on Solaris 10 (sparc) with this
command:
./configure --prefix=/opt/php --with-mysql=/usr/sfw
--with-apxs2=/usr/apache2/bin/apxs --with-snmp=/usr/sfw
--with-libxml-dir=/usr/include/libxml2 --with-zlib=/usr/local
The first time I tried compileing I got a bunch of erros and had to run
cd /usr/local/lib/gcc-lib/sparc-sun-solaris2.10/3.3.2/install-tools
./mkheaders
After running this, I did the PHP ./configure command again (as shown above)
and it compiled with no errors. Now when I run PHP I am getting another
error that I can't figure out how to fix:
# /opt/php/bin/php
/opt/php/bin/php: error: `/opt/php/bin/.libs/php' does not exist This script
is just a wrapper for php.
See the libtool documentation for more information.
I couldn't find anthing in the libtool documentation that seemed to help.
Anyone have ideas?
Thanks,
Brandon