php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #5099 configure script failure?
Submitted: 2000-06-17 07:59 UTC Modified: 2000-08-10 15:35 UTC
From: kraziej at ta2 dot so-net dot ne dot jp Assigned:
Status: Closed Package: Installation problem
PHP Version: 4.0.0 Release OS: linux (turbo 4.0) 2.2.9
Private report: No CVE-ID: None
Welcome back! If you're the original bug submitter, here's where you can edit the bug or add additional notes.
If you forgot your password, you can retrieve your password here.
Password:
Status:
Package:
Bug Type:
Summary:
From: kraziej at ta2 dot so-net dot ne dot jp
New email:
PHP Version: OS:

 

 [2000-06-17 07:59 UTC] kraziej at ta2 dot so-net dot ne dot jp
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

Patches

Pull Requests

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2000-08-10 08:49 UTC] sniper@php.net
Does this problem persist with more recent versions of php4?

--Jani
 [2000-08-10 10:21 UTC] kraziej at ta2 dot so-net dot ne dot jp
Hi,
thanks for your feedback.
Um...
it was my mis-understanding, everything works OK.
(sorry, it was a mis-config on my part...)
I had forgotten to follow up my own dull post.

jamie
 [2000-08-10 15:35 UTC] stas@php.net
user error, closing
 
PHP Copyright © 2001-2025 The PHP Group
All rights reserved.
Last updated: Sun Jul 13 03:01:32 2025 UTC