configure error ( include debug.log)
| From: | Lori Teng 鄧崇文 | Date: | Thu, 12 Jul 2001 09:45:45 +0000 |
| Subject: | configure error ( include debug.log) | ||
| Groups: | php.install | ||
| Request: | Send a blank email to php-install+get-3513@lists.php.net to get a copy of this message | ||
Dear Sir,
I am in Solaris 7.
installed mysql-3.23.39 done.
now want to install apache(apache_1.3.20) and php4(php-4.0.6), alwasy
get error, even I changed to the old version (apache_1.3.19 or php-3.0.18)
still same.
can you direct me where I shoud change or...???
I tryed more than 30 times, really don't know how to do next step!
(search on the internet can't fine and relational documentations)
my install steps are:
#tar zxvf apache_1.3.20.tar.gz
#tar zxvf php-4.0.6.tar.gz
#cd apache_1.3.20
#./configure --prefix=/usr/local/apache
#cd ../php-4.0.6
#./configure --with-mysql=/usr/local/mysql --with-apache=../apache_1.3.20 --enable-track-vars
PLS give me some hit! Big thanks!
-----------debug.log as below:--------------
CONFIGURE: './configure' '--with-mysql=/usr/local/mysql'
'--with-apache=../apache_1.3.20' '--enable-track-vars'
CC: gcc
CFLAGS: -g -O2
CPPFLAGS: -D_POSIX_PTHREAD_SEMANTICS -DSUPPORT_UTF8
CXX:
CXXFLAGS:
INCLUDES: -I/usr/local/src/apache_1.3.20/src/include -I/usr/local/src/apache_1.3.20/src/os/unix
-I$(top_builddir)/Zend -I/usr/local/mysql/include/mysql
LDFLAGS: -R/usr/ucblib -L/usr/ucblib -R/usr/local/lib/gcc-lib/sparc-sun-solaris2.7/2.95.2
-L/usr/local/lib/gcc-lib/sparc-sun-solaris2.7/2.95.2 -R/usr/local/mysql/lib/mysql
-L/usr/local/mysql/lib/mysql
LIBS: -lmysqlclient -lcrypt -lresolv -lresolv -lm -ldl -lnsl -lsocket -lsocket -lgcc
DLIBS:
SAPI: apache
PHP_RPATHS: /usr/ucblib /usr/local/lib/gcc-lib/sparc-sun-solaris2.7/2.95.2
/usr/local/mysql/lib/mysql
uname -a: SunOS nyc 5.7 Generic_106541-15 sun4m sparc SUNW,SPARCstation-20
gcc -o conftest -g -O2 -D_POSIX_PTHREAD_SEMANTICS -DSUPPORT_UTF8 -R/usr/ucblib -L/usr/ucblib
-R/usr/local/lib/gcc-lib/sparc-sun-solaris2.7/2.95.2
-L/usr/local/lib/gcc-lib/sparc-sun-solaris2.7/2.95.2 -R/usr/local/mysql/lib/mysql
-L/usr/local/mysql/lib/mysql conftest.c -lmysqlclient -lcrypt -lresolv -lresolv -lm -ldl -lnsl
-lsocket -lsocket -lgcc 1>&5
Undefined first referenced
symbol in file
uncompress /usr/local/mysql/lib/mysql/libmysqlclient.so
compress /usr/local/mysql/lib/mysql/libmysqlclient.so
ld: fatal: Symbol referencing errors. No output written to conftest
collect2: ld returned 1 exit status