|
php.net | support | documentation | report a bug | advanced search | search howto | statistics | random bug | login |
[2008-01-15 20:39 UTC] 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 PatchesPull RequestsHistoryAllCommentsChangesGit/SVN commits
|
|||||||||||||||||||||||||||||||||||||
Copyright © 2001-2025 The PHP GroupAll rights reserved. |
Last updated: Fri Oct 24 21:00:01 2025 UTC |
Same error here, here is the output (bottom) of the config.log : ... configure: failed program was: #line 43268 "configure" #include "confdefs.h" char foobar () {} char foobar(); int main() { foobar(); return 0; } Got this Trying to compile with GD and CURL support. PHP version : 5.2.5 OS : CentOs 5