From: theprisonerofzenda at gmail dot com Operating system: Red Hat Enterprise Linux 5 x86_6 PHP version: 5.2.6 PHP Bug Type: Compile Failure Bug description: compiling from source returns an error when using --with-curl parameter
Description: ------------ PHP-5.2.6 compilation using the --with-curl parameter end with... ## checking for cURL support... yes checking if we should use cURL for url streams... no checking for cURL in default path... found in /usr checking for cURL 7.10.5 or greater... libcurl 7.15.5 checking for SSL support in libcurl... yes checking how to run the C preprocessor... gcc -E checking for openssl support in libcurl... no checking for gnutls support in libcurl... no checking for curl_easy_perform in -lcurl... no configure: error: There is something wrong. Please check config.log for more information. ## However without using the --with-curl everything compiles fine. Reproduce code: --------------- 1. got php-5.2.6.tar.bz2 2. used this configuration parameters CFLAGS='-O3' \ './configure' \ '--disable-debug' \ '--with-libdir=/lib64' \ '--prefix=/usr/local' \ '--enable-bcmath' \ '--enable-calendar' \ '--with-gd' \ '--with-jpeg-dir=/usr/local' \ '--with-png-dir=/usr' \ '--with-gettext' \ '--with-mysqli' \ '--with-mysql=/usr' \ '--with-pear' \ '--with-mcrypt' \ '--enable-sockets' \ '--with-ttf' \ '--with-freetype-dir=/usr' \ '--enable-gd-native-ttf' \ '--with-zlib' \ '--disable-ipv6' \ '--disable-cli' \ '--enable-magic-quotes' \ '--enable-discard-path' \ '--enable-force-cgi-redirect' \ '--enable-fastcgi' \ '--with-openssl' \ '--with-curl' \ "$@" 3. compilation fails. Expected result: ---------------- PHP compiles with curl support. Actual result: -------------- checking for cURL support... yes checking if we should use cURL for url streams... no checking for cURL in default path... found in /usr checking for cURL 7.10.5 or greater... libcurl 7.15.5 checking for SSL support in libcurl... yes checking how to run the C preprocessor... gcc -E checking for openssl support in libcurl... no checking for gnutls support in libcurl... no checking for curl_easy_perform in -lcurl... no configure: error: There is something wrong. Please check config.log for more information. -- Edit bug report at http://bugs.php.net/?id=45212&edit=1 -- Try a CVS snapshot (PHP 5.2): http://bugs.php.net/fix.php?id=45212&r=trysnapshot52 Try a CVS snapshot (PHP 5.3): http://bugs.php.net/fix.php?id=45212&r=trysnapshot53 Try a CVS snapshot (PHP 6.0): http://bugs.php.net/fix.php?id=45212&r=trysnapshot60 Fixed in CVS: http://bugs.php.net/fix.php?id=45212&r=fixedcvs Fixed in release: http://bugs.php.net/fix.php?id=45212&r=alreadyfixed Need backtrace: http://bugs.php.net/fix.php?id=45212&r=needtrace Need Reproduce Script: http://bugs.php.net/fix.php?id=45212&r=needscript Try newer version: http://bugs.php.net/fix.php?id=45212&r=oldversion Not developer issue: http://bugs.php.net/fix.php?id=45212&r=support Expected behavior: http://bugs.php.net/fix.php?id=45212&r=notwrong Not enough info: http://bugs.php.net/fix.php?id=45212&r=notenoughinfo Submitted twice: http://bugs.php.net/fix.php?id=45212&r=submittedtwice register_globals: http://bugs.php.net/fix.php?id=45212&r=globals PHP 4 support discontinued: http://bugs.php.net/fix.php?id=45212&r=php4 Daylight Savings: http://bugs.php.net/fix.php?id=45212&r=dst IIS Stability: http://bugs.php.net/fix.php?id=45212&r=isapi Install GNU Sed: http://bugs.php.net/fix.php?id=45212&r=gnused Floating point limitations: http://bugs.php.net/fix.php?id=45212&r=float No Zend Extensions: http://bugs.php.net/fix.php?id=45212&r=nozend MySQL Configuration Error: http://bugs.php.net/fix.php?id=45212&r=mysqlcfg