php-4.0.6, zlib, gd problem
| From: | Kees Hoekzema | Date: | Sun, 24 Jun 2001 15:01:25 +0000 |
| Subject: | php-4.0.6, zlib, gd problem | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-55025@lists.php.net to get a copy of this message | ||
Lectori Salutem,
I downloaded php-4.0.6 yesterday, and i was trying to compile it,
I used to compile previous versions with:
./configure --with-apache=../apache --enable-track-vars --enable-magic-quote
s --with-gd=/usr/local --with-mysql=../mysql --with-zlib=../zlib
but when i try it with php-406, i'll get this error:
checking if the location of ZLIB install directory is defined... no
checking whether to include ZLIB support... yes
configure: error: Cannot find libz
This isn't a big problem, using --with-zlib it wil configure & compile,
but i found it strange anyway.
Next problem is with gd, i'm using it to create .png's, which worked
fine with previous php's, but this time it won't compile with built-in
.png support, ./configure says:
checking for gdImageString16 in -lgd... yes
checking for gdImagePaletteCopy in -lgd... yes
checking for gdImageCreateFromPng in -lgd... no
checking for gdImageCreateFromGif in -lgd... no
this is bad ;)
So i recompiled gd-1.3.8, and zlib-1.1.3, with libpng-1.0.10 and
jpeg-6b, still it is a no-go, so i have to stick with php-405 until this
is solved, i hope someone has a solution, or otherwise i have to keep
trying ;-)
tia,
Kees Hoekzema
Serveradmin
http://www.webmagix.net
http://www.tweakers.net
http://www.fokzine.net