OpenVZ Forum


Home » General » Support » can't compile php with curl in openvz
can't compile php with curl in openvz [message #33291] Sat, 04 October 2008 16:05 Go to previous message
michaelvv is currently offline  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












 
Read Message
Read Message
Read Message
Previous Topic: Not seeing multicast on veth
Next Topic: 2.6.32 kernel - big improvement
Goto Forum:
  


Current Time: Fri Aug 30 17:31:26 GMT 2024

Total time taken to generate the page: 0.03241 seconds