RE: [PHP-DEV] GD broken ? compiler errors !

From: Date: Mon, 09 Sep 2002 22:40:00 +0000
Subject: RE: [PHP-DEV] GD broken ? compiler errors !
References: 1 2  Groups: php.dev 
Request: Send a blank email to php-dev+get-88111@lists.php.net to get a copy of this message
On Fri, 6 Sep 2002, Wez Furlong wrote: >> It's not intended..but I can't reproduce this.. >> Do you get any errors during configure ? > >Yes - sorry - I didn't have my head screwed on when I posted: > >checking whether to enable truetype string function in GD... yes >checking for jpeg_read_header in -ljpeg... yes >configure: error: PNG support requires ZLIB. Use --with-zlib-dir=<DIR> > >It seems like PHP_ZLIB_DIR is somehow getting set to "no" in gd/config.m4 >when it is not explicitly being set. Yes, it was because I added the option in there..and it of course borked the previous check. This is same situation that there is with for example openssl and iconv which both are needed also in other extensions.. maybe someone has better idea to make such libraries globally available than putting them all in pear/pear.m4 (for phpize) and configure.in.. --Jani

« previous php.dev (#88111) next »