ID: 43860 Comment by: pekka at photography-on-the dot net 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:
See http://bugs.php.net/bug.php?id=45212 Removing related 32-bit libraries and programs fixed this issue. On 64-bit RHEL 5.2 you can uninstall 32-bit packages with e.g. yum remove curl.i386 and to install only 64-bit packages use e.g. yum --exclude=*.i?86 install curl-devel Previous Comments: ------------------------------------------------------------------------ [2008-04-11 22:07:12] contact at youssefazari dot com 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 ------------------------------------------------------------------------ [2008-03-27 13:33:15] nils dot clark-bernhard at human-aspects dot de 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. ------------------------------------------------------------------------ [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, ------------------------------------------------------------------------ The remainder of the comments for this report are too long. To view the rest of the comments, please view the bug report online at http://bugs.php.net/43860 -- Edit this bug report at http://bugs.php.net/?id=43860&edit=1