ID: 43860 Updated by: [EMAIL PROTECTED] Reported By: pierre dot grandmaison at gmail dot com -Status: Open +Status: Feedback Bug Type: Compile Failure Operating System: Centos 5 PHP Version: 5.2.5 -Assigned To: +Assigned To: pajoye New Comment:
Specify the options for the dependencies (xpm, png and jpeg libraries for ex.) The compile tests fail for a reason, this reason is in your config.log, please paste the relevant part here. Previous Comments: ------------------------------------------------------------------------ [2008-01-15 20:57:03] pierre dot grandmaison at gmail dot com I have just tested the following versions of PHP using the same method. Here are my results: With: rm config.cache ; ./configure --disable-all --disable-cgi --with-gd --with-curl=/usr/local/lib FAILED: PHP latest snapshot ( FAILED: PHP 5.2.4 FAILED: PHP 5.2.3 SUCCESS: PHP 5.2.2 So I think something has changed from PHP version 5.2.2 to PHP version 5.2.3 that makes compiling PHP with curl versions 7.16.4 (and I'm guessing lower versions as well not work) Do you need anything else to help in resolving this? Thanks, ------------------------------------------------------------------------ [2008-01-15 20:42:44] pierre dot grandmaison at gmail dot com Even though there are line breaks in the configure commands show in the php bug page, in reality I did type it correctly in the system. ------------------------------------------------------------------------ [2008-01-15 20:39:16] pierre dot grandmaison at gmail dot com 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 this bug report at http://bugs.php.net/?id=43860&edit=1
