PHP 4.0 Bug #5099: configure script failure?
| From: | kraziej at ta2 dot so-net dot ne dot jp | Date: | Sat, 17 Jun 2000 05:59:19 +0000 |
| Subject: | PHP 4.0 Bug #5099: configure script failure? | ||
| Groups: | php.dev | ||
| Request: | Send a blank email to php-dev+get-21589@lists.php.net to get a copy of this message | ||
From: kraziej@ta2.so-net.ne.jp
Operating system: linux (turbo 4.0) 2.2.9
PHP version: 4.0.0 Release
PHP Bug Type: Installation problem
Bug description: configure script failure?
I apologize if this was covered already.
When I do the ./configure in php-4.0.0(release) , it seems to fail.
Hints or solutions are appreciated, TIA.
Previously, I have succeeded with:
apache_1.3.11 + modssl-2.5.0_1.3.11 + postgresql-6.5.3 + php-3.0.14
This time, I am trying to upgrade to the following versions:
apache_1.3.12 + modssl-2.6.4_1.3.12 + postgresql-7.0.2 + php-4.0.0(release)
(using openssl-0.9.4 both times)
and install all of them under /home/https with uid/gid as www/www.
I have succeeded compiling and installing apache+ssl and postgres.
php is where I am stumbling, since I am not an experienced programmer.
Here are the options for configure, and below that the contents
in the debug.log :
./configure --prefix=/home/https --with-config-file-path=/home/https/lib \
--with-apache=../apache_1.3.12 --with-pgsql=/home/https \
--enable-track-vars
----- debug.log start -----
CONFIGURE: './configure' '--prefix=/home/https'
'--with-config-file-path=/home/https/lib' '--with-apache=../apache_1.3.12'
'--with-pgsql=/home/https' '--enable-track-vars'
CC: gcc
CFLAGS: -g -O2
CPPFLAGS:
CXX:
CXXFLAGS:
INCLUDES: -I/home/https/src/apache_1.3.12/src/include -I/home/https/src/apache_1.3.12/src/os/unix
-I$(top_builddir)/Zend -I$(top_srcdir) -I/home/https/src/php-4.0.0/ext/mysql/libmysql
LDFLAGS: -Wl,-rpath,/lib -L/lib
LIBS: -lpq -lttf -lgd -lresolv -lm -ldl -lcrypt -lnsl -lresolv
DLIBS:
SAPI: apache
PHP_RPATHS: /lib
uname -a: Linux bishop 2.2.9 #1 Tue Jun 15 03:40:20 JST 1999 i586 unknown
gcc -o conftest -g -O2 -Wl,-rpath,/lib -L/lib conftest.c -lpq -lttf -lgd -lresolv -lm -ldl -lcrypt
-lnsl -lresolv 1>&5
/usr/bin/ld: cannot open -lpq: No such file or directory
collect2: ld returned 1 exit status
----- debug.log end -----
What's funny to me is the "mysql" part in the log when I never mentioned it in my
configure options, though this could be irrelevant...
Thanks again,
jamie