can't compile php with curl in openvz [message #33291] |
Sat, 04 October 2008 16:05 ![Go to next message Go to previous message](/theme/ovz3/images/down.png) |
michaelvv
Messages: 7 Registered: October 2008
|
Junior Member |
|
|
Hi OpenVz...
First to say this ISSUE works flawless on my Centos 5.2 box.
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... yes
checking for openssl/crypto.h... yes
checking for gnutls support in libcurl... no
checking for curl_easy_perform in -lcurl... yes
checking for curl_version_info in -lcurl... yes
checking for curl_easy_strerror in -lcurl... yes
checking for curl_multi_strerror in -lcurl... yes
I had a problem with compiling php with curl in a openvz
containers centos 5.2 x86_64 , it give this error in PHP.
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
I have the same curl packages on both setups , and my
php configure script looks like this :
./configure \
--with-mysql=/usr/local \
--with-mysqli=/usr/local/bin/mysql_config \
--enable-pcntl \
--enable-ftp \
--with-curl \
--with-gd \
--with-jpeg-dir=/usr \
--with-png-dir=/usr \
--enable-gd-native-tt \
--with-ttf \
--with-freetype \
--with-freetype-dir=/usr/lib \
--with-xml \
--with-bz2 \
--with-zlib \
--enable-calendar \
--with-gettext \
--enable-track-vars \
--enable-sockets \
--enable-ctype \
--enable-bcmath \
--with-openssl \
--with-openssl-dir=/usr \
--with-apxs2=/usr/local/apache/bin/apxs \
--enable-magic-quotes \
--enable-cgi-redirect \
--disable-debug > $phpfile
Could it be an issue with PKG_CONFIG_PATH ???
So my questions is , are there someone out there , which
are able to compile php 5.2.6 with curl , without these
problems ????
php 5.2.6
CentOS release 5.2 (Final) x86_64
curl-devel-7.15.5-2.el5
curl-7.15.5-2.el5
/Michael
|
|
|