#45212 [Opn]: compiling from source returns an error when using --with-curl parameter
| From: | theprisonerofzenda at gmail dot com | Date: | Mon, 09 Jun 2008 12:58:36 +0000 |
| Subject: | #45212 [Opn]: compiling from source returns an error when using --with-curl parameter | ||
| References: | 1 | Groups: | php.bugs |
| Request: | Send a blank email to php-bugs+get-125598@lists.php.net to get a copy of this message | ||
ID: 45212
User updated by: theprisonerofzenda at gmail dot com
Reported By: theprisonerofzenda at gmail dot com
Status: Open
Bug Type: Compile Failure
-Operating System: Red Hat Enterprise Linux 5 x86_6
+Operating System: RedHat Enterprise Linux 5 x86_64
PHP Version: 5.2.6
New Comment:
####
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