PHP 5.2.14
Docs say to compile w/ zlib you need to use the --with-zlib[=DIR] flag.
This does not work. You need to use --with-zlib --with-zlib-dir=[DIR]
Is this a documentation error or a ./configure error?
- lonnyk@gmail.com lonnyk@gmail.com wrote:
PHP 5.2.14
Docs say to compile w/ zlib you need to use the --with-zlib[=DIR] flag.
This does not work. You need to use --with-zlib --with-zlib-dir=[DIR]
Is this a documentation error or a ./configure error?
BTW: recent zlib provides an proper pkg-config descriptor, which
should be used.
cu
Enrico Weigelt, metux IT service -- http://www.metux.de/
phone: +49 36207 519931 email: weigelt@metux.de
mobile: +49 151 27565287 icq: 210169427 skype: nekrad666
Embedded-Linux / Portierung / Opensource-QM / Verteilte Systeme
PHP 5.2.14
Docs say to compile w/ zlib you need to use the --with-zlib[=DIR] flag.
This does not work. You need to use --with-zlib --with-zlib-dir=[DIR]
No, you don't have to use it, --with-zlib works just fine:
./configure --with-zlib=/no/zlib/there
...
checking for OpenSSL support... no
checking for Kerberos support... no
checking for PCRE support... no
checking for ZLIB support... yes
checking if the location of ZLIB install directory is defined... no
configure: error: Cannot find libz
You can open ext/zlib/config0.m4 and check the logic behind both options.
--
Wbr,
Antony Dovgal
http://pinba.org - realtime statistics for PHP