ID: 45212 Updated by: [EMAIL PROTECTED] Reported By: theprisonerofzenda at gmail dot com -Status: Open +Status: Bogus Bug Type: Compile Failure Operating System: RedHat Enterprise Linux 5 x86_64 PHP Version: 5.2.6 New Comment:
I would guess it's caused by this wrong line: '--with-libdir=/lib64' \ But if you had bothered doing what configure tells you to, you would propably have found out yourself. No bug here. Previous Comments: ------------------------------------------------------------------------ [2008-06-09 12:56:50] theprisonerofzenda at gmail dot com 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 this bug report at http://bugs.php.net/?id=45212&edit=1