RE: [PHP-DEV] GD broken ? compiler errors !
| From: | Wez Furlong | Date: | Fri, 06 Sep 2002 10:35:54 +0000 |
| Subject: | RE: [PHP-DEV] GD broken ? compiler errors ! | ||
| References: | 1 | Groups: | php.dev |
| Request: | Send a blank email to php-dev+get-87994@lists.php.net to get a copy of this message | ||
> 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.
My full configure line is below.
--Wez.
"./configure" \
"--enable-debug" \
"--enable-pear" \
"--enable-sigchild" \
"--enable-calendar" \
"--enable-ftp" \
"--with-mysql=/usr" \
"--enable-shmop" \
"--enable-sysvsem" \
"--enable-sysvshm" \
"--enable-sysvmsg" \
"--with-zlib" \
"--with-snmp" \
"--enable-inline-optimization" \
"--with-iconv" \
"--with-bz2" \
"--with-openssl" \
"--with-recode" \
"--enable-bcmath" \
"--enable-ctype" \
"--with-jpeg-dir" \
"--with-png-dir" \
"--with-freetype-dir" \
"--with-gd" \
"--with-gettext" \
"--enable-mailparse" \
"--enable-mbstring" \
"--with-dom" \
"--with-dom-xslt" \
"--with-dom-exslt" \
"--with-xmlrpc" \
"--enable-soap" \
"--with-curl" \
"--with-config-file-path=/etc/" \
"--enable-pcntl"