Hi,
I’m trying to run the PHP 5.1.1 ‘configure’ on a SPARC box, and I keep getting the following error at the end of the run:
+--------------------------------------------------------------------+
| *** ATTENTION *** |…
| Something is likely to be messed up here, because the configure |
| script was not able to detect a simple feature on your platform. |
| This is often caused by incorrect configuration parameters. Please |
| see the file debug.log for error messages. |
…
The ‘make’ seems to work, but the ‘make install’ fails. I’m assuming it’s because of this error.
I’m running the following:
- Solaris 9 12/03 SPARC
- gcc 3.3.2
- libgcc 3.4.1
- Apache 2.2
- MySQL 5.0.16
- libxml2 2.6.16
- PHP 5.1.1
Here’s the debug.log file:
----------------------------------------------------------------
CONFIGURE: './configure' '--with-mysql=/opt/mysql' '--with-apxs2=/opt/apache2/bin/apxs' '--with-zlib-dir=/usr/local/'
CC: gcc
CFLAGS: -g -O2
CPPFLAGS: -D_POSIX_PTHREAD_SEMANTICS
CXX:
CXXFLAGS:
INCLUDES: -I/usr/local/include/libxml2 -I/temp/apache/php-5.1.1/ext/date/lib -I/opt/mysql/include/mysql
LDFLAGS: -R/usr/ucblib -L/usr/ucblib -R/usr/local/lib/gcc-lib/sparc-sun-solaris2.9/3.3.2 -L/usr/local/lib/gcc-lib/sparc-sun-solaris2.9/3.3.2 -R/usr/local/lib -L/usr/local/lib -R/opt/mysql/lib/mysql -L/opt/mysql/lib/mysql
LIBS: -lmysqlclient -lz -lresolv -lm -ldl -lnsl -lsocket -lgcc -lxml2 -lz -liconv -lm -lsocket -lnsl -lxml2 -lz -liconv -lm -lsocket -lnsl -lxml2 -lz -liconv -lm -lsocket -lnsl
DLIBS:
SAPI: apache2handler
PHP_RPATHS: /usr/ucblib /usr/local/lib/gcc-lib/sparc-sun-solaris2.9/3.3.2 /usr/local/lib /opt/mysql/lib/mysql
uname -a: SunOS sturm 5.9 Generic_118558-18 sun4u sparc SUNW,UltraAX-i2
gcc -o conftest -g -O2 -D_POSIX_PTHREAD_SEMANTICS -R/usr/ucblib -L/usr/ucblib -R/usr/local/lib/gcc-lib/sparc-sun-solaris2.9/3.3.2 -L/usr/local/lib/gcc-lib/sparc-sun-solaris2.9/3.3.2 -R/usr/local/lib -L/usr/local/lib -R/opt/mysql/lib/mysql -L/opt/mysql/lib/mysql conftest.c -lmysqlclient -lz -lresolv -lm -ldl -lnsl -lsocket -lgcc -lxml2 -lz -liconv -lm -lsocket -lnsl -lxml2 -lz -liconv -lm -lsocket -lnsl -lxml2 -lz -liconv -lm -lsocket -lnsl 1>&5
ld.so.1: conftest: fatal: libgcc_s.so.1: open failed: No such file or directory
----------------------------------------------------------------
I did a search for the “missing” libgcc_s.so.1 file; it exists in a prominent directory (/usr/local/lib):
bash-2.05# find / -name libgcc_s.so.1 -ls
11269 176 -rw-r--r-- 1 root bin 168376 Jul 10 2004 /usr/local/lib/libgcc_s.so.1
22833 208 -rw-r--r-- 1 root bin 203256 Jul 10 2004 /usr/local/lib/sparcv9/libgcc_s.so.1
Has anybody seen this behavior before?
Any assistance would be greatly appreciated.
Thanks!
-Bill
********************************************
This communication and any files or attachments transmitted with it may contain information that is confidential, privileged and exempt from disclosure under applicable law. It is intended solely for the use of the individual or the entity to which it is addressed. If you are not the intended recipient, you are hereby notified that any use, dissemination, or copying of this communication is prohibited by federal law. If you have received this communication in error, please destroy it and notify the sender.
********************************************