Well, the first thing to check is why configure can't locate zlib,
 it's required for png to work. Check if your library cache works
 (run 'ldconfig -p | grep libz' in linux [check out the rosetta
 stone at http://bhami.com/rosetta.html for other unices]. If this
 doesn't work check that you have an entry for /usr/local/lib in
 /etc/ld.so.conf [again this path/file may differ if not linux] and
 run 'ldconfig' again).

 Also check the config.log for errors.

 Peder Hedlund
 Parkskolan
 Övik
 Sweden

On Wed, 27 Nov 2002,     wrote:

> I know this isnt strictly related to PHP but I'm trying to recompile PHP
> with GD support, and I've run into a little problem. When i try to
> ./configure GD 2.0.8 it cant find anything!!
>
> configure: WARNING: zlib is required - see http://www.gzip.org/zlib/
> checking for libpng-config... no
> checking png.h usability... no
> checking png.h presence... no
> checking for png.h... no
> checking libpng/png.h usability... no
> checking libpng/png.h presence... no
> checking for libpng/png.h... no
> checking for png_create_read_struct in -lpng... no
> configure: WARNING: libpng is required - see http://www.libpng.org/pub/png/
> checking for freetype-config... /usr/local/bin/freetype-config
> checking for FT_Init_FreeType in -lfreetype... no
> configure: WARNING: not found - disabling freetype support
> checking freetype/freetype.h usability... no
> checking freetype/freetype.h presence... no
> checking for freetype/freetype.h... no
> checking for jpeg_set_defaults in -ljpeg... no
> checking for XpmReadFileToXpmImage in -lXpm... no


--
PHP Install Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to