#43860 [Opn]: compile fails with curl version 7.16.4 and gd
| From: | pierre dot grandmaison at gmail dot com | Date: | Tue, 15 Jan 2008 20:42:45 +0000 |
| Subject: | #43860 [Opn]: compile fails with curl version 7.16.4 and gd | ||
| References: | 1 | Groups: | php.bugs |
| Request: | Send a blank email to php-bugs+get-121317@lists.php.net to get a copy of this message | ||
ID: 43860
User updated by: pierre dot grandmaison at gmail dot com
Reported By: pierre dot grandmaison at gmail dot com
Status: Open
Bug Type: Compile Failure
Operating System: Centos 5
PHP Version: 5.2.5
New Comment:
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.
Previous Comments:
------------------------------------------------------------------------
[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