ID:               43860
 Comment by:       nils dot clark-bernhard at human-aspects dot de
 Reported By:      pierre dot grandmaison at gmail dot com
 Status:           No Feedback
 Bug Type:         Compile Failure
 Operating System: Centos 5
 PHP Version:      5.2.5
 Assigned To:      pajoye
 New Comment:

This error also occurs on gentoo linux, php version 5.2.6_rc1-r1 and
curl version 7.17.1 with exactly the same error message.

compiling php with gd and without curl is a workaround that actually
works.

Finding the reason for php not compiling is hard, as far as the error
thrown seems might be not related to the problem.
I think so, because I have my current curl version since december 2007
and already have compiled php three times this year.


Previous Comments:
------------------------------------------------------------------------

[2008-01-23 01:00:01] php-bugs at lists dot php dot net

No feedback was provided for this bug for over a week, so it is
being suspended automatically. If you are able to provide the
information that was originally requested, please do so and change
the status of the bug back to "Open".

------------------------------------------------------------------------

[2008-01-15 21:22:47] [EMAIL PROTECTED]

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.

------------------------------------------------------------------------

[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

Reply via email to