php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #12445 ./configure suxx
Submitted: 2001-07-28 04:45 UTC Modified: 2002-04-28 00:03 UTC
From: sb at rdns dot de Assigned:
Status: Closed Package: Compile Failure
PHP Version: 4.0.6 OS: Linux 2.2.19
Private report: No CVE-ID: None
 [2001-07-28 04:45 UTC] sb at rdns dot de
./configure [...] --with-zlib [...] does not work. i have zlib 1.1.3 installed in /usr/local/zlib but it always says "zlib >=1.0.9 required"

i think this is a general configuration script bug, so please fix it. got no problems with 4.0.4p1 ...

Patches

Add a Patch

Pull Requests

Add a Pull Request

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2001-07-30 06:32 UTC] sniper@php.net
What is the complete configure line you use?
And what does config.log have about this?

 [2001-08-20 10:33 UTC] sniper@php.net
No feedback. Reopen if you still have this problem
with PHP 4.0.7 (soon to be released) or with latest CVS 
snapshot from http://snaps.php.net/

 [2002-03-22 09:44 UTC] grepaly at print-x dot hu
This problem still exists.

Here is my configure, and the end of config.log.

*************** configure
./configure \
  --with-apxs \
  --enable-sigchild \
  --enable-wddx \
  --with-oci8=/home/oracle/OraHome1 \
  --enable-ftp \
  --with-exif \
  --with-expat=/usr/src/redhat/SOURCES/expat-1.95.1 \
  --with-openssl=/usr/local/ssl/ \
  --without-mysql \
  --enable-sockets \
  --with-gd=/usr/src/redhat/SOURCES/gd-2.0.1 \
  --with-t1lib=/usr/src/redhat/SOURCES/t1lib-1.3.1 \
  --with-png-dir \
  --with-zlib-dir


*************** config.log
configure:8892: checking whether to enable php streams
configure:8942: checking for crypt in -lcrypt
configure:8961: gcc -o conftest -g -O2  -DLINUX=22 -DEAPI -DEAPI_MM -DUSE_EXPAT
configure:9023: checking if the location of ZLIB install directory is defined
configure:9068: checking whether to include ZLIB support
configure:9309: checking for gzgets in -lz
configure:9328: gcc -o conftest -g -O2  -DLINUX=22 -DEAPI -DEAPI_MM -DUSE_EXPAT
/usr/i386-glibc-2.1-linux/i386-glibc21-linux/bin/ld: cannot find -lz
collect2: ld returned 1 exit status
configure: failed program was:
#line 9317 "configure"
#include "confdefs.h"
/* Override any gcc2 internal prototype to avoid an error.  */
/* We use char because int might match the return type of a gcc2
    builtin and then its argument prototype would still apply.  */
char gzgets();

int main() {
gzgets()
; return 0; }
 [2002-03-22 15:53 UTC] mfischer@php.net
I hope you updated your php version already? 4.0.6 is too old.
 [2002-04-28 00:00 UTC] php-bugs at lists dot php dot net
No feedback was provided for this bug for over a month, so it is
being suspended automatically. If you are able to provide the
information that was originally requested, please do so and change
the status of the bug back to "Open".
 [2002-04-28 00:03 UTC] sniper@php.net
The version of PHP that this bug was reported in is too old. Please
try to reproduce this bug in the latest version of PHP (available
from http://www.php.net/downloads.php

If you are still able to reproduce the bug with one of the latest
versions of PHP, please change the PHP version on this bug report
to the version you tested and change the status back to "Open".


 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Thu Mar 28 08:01:28 2024 UTC