From: pierre dot grandmaison at gmail dot com Operating system: Centos 5 PHP version: 5.2.5 PHP Bug Type: Compile Failure Bug description: compile fails with curl version 7.16.4 and gd
Description: ------------ Hi, On a clean system, I am installing from source: openssl: cd /usr/local/src wget [mirror]/openssl-0.9.8g.tar.gz tar xfz openssl-0.9.8g.tar.gz cd openssl-0.9.8g ./config --openssldir=/usr/local/ssl make; make install curl version 7.16.4: cd /usr/local/src wget [mirror]/curl-7.16.4.tar.gz tar xfz curl-7.16.4.tar.gz cd curl-7.16.4 ./configure --disable-ipv6 --with-ssl=/usr/local/ssl; make; make install Then PHP: cd /usr/local/src wget [mirror]/php-5.2.5.tar.gz tar xfz php-5.2.5.tar.gz cd php-5.2.5 Then, The following WORKS: rm config.cache ; ./configure --disable-all --disable-cgi --with-gd The following also WORKS: rm config.cache ; ./configure --disable-all --disable-cgi --with-curl=/usr/local/lib Howether, the following does NOT work: rm config.cache ; ./configure --disable-all --disable-cgi --with-gd --with-curl=/usr/local/lib The error message is: checking for GD support... yes checking for the location of libjpeg... no checking for the location of libpng... no checking for the location of libXpm... no checking for FreeType 1.x support... no checking for FreeType 2... no checking for T1lib support... no checking whether to enable truetype string function in GD... no checking whether to enable JIS-mapped Japanese font support in GD... no checking for fabsf... yes checking for floorf... yes If configure fails try --with-jpeg-dir=<DIR> checking for png_write_image in -lpng... yes If configure fails try --with-xpm-dir=<DIR> If configure fails try --with-freetype-dir=<DIR> configure: error: GD build test failed. Please check the config.log for details. Expected result: ---------------- PHP should compile -- Edit bug report at http://bugs.php.net/?id=43860&edit=1 -- Try a CVS snapshot (PHP 4.4): http://bugs.php.net/fix.php?id=43860&r=trysnapshot44 Try a CVS snapshot (PHP 5.2): http://bugs.php.net/fix.php?id=43860&r=trysnapshot52 Try a CVS snapshot (PHP 5.3): http://bugs.php.net/fix.php?id=43860&r=trysnapshot53 Try a CVS snapshot (PHP 6.0): http://bugs.php.net/fix.php?id=43860&r=trysnapshot60 Fixed in CVS: http://bugs.php.net/fix.php?id=43860&r=fixedcvs Fixed in release: http://bugs.php.net/fix.php?id=43860&r=alreadyfixed Need backtrace: http://bugs.php.net/fix.php?id=43860&r=needtrace Need Reproduce Script: http://bugs.php.net/fix.php?id=43860&r=needscript Try newer version: http://bugs.php.net/fix.php?id=43860&r=oldversion Not developer issue: http://bugs.php.net/fix.php?id=43860&r=support Expected behavior: http://bugs.php.net/fix.php?id=43860&r=notwrong Not enough info: http://bugs.php.net/fix.php?id=43860&r=notenoughinfo Submitted twice: http://bugs.php.net/fix.php?id=43860&r=submittedtwice register_globals: http://bugs.php.net/fix.php?id=43860&r=globals PHP 3 support discontinued: http://bugs.php.net/fix.php?id=43860&r=php3 Daylight Savings: http://bugs.php.net/fix.php?id=43860&r=dst IIS Stability: http://bugs.php.net/fix.php?id=43860&r=isapi Install GNU Sed: http://bugs.php.net/fix.php?id=43860&r=gnused Floating point limitations: http://bugs.php.net/fix.php?id=43860&r=float No Zend Extensions: http://bugs.php.net/fix.php?id=43860&r=nozend MySQL Configuration Error: http://bugs.php.net/fix.php?id=43860&r=mysqlcfg