I found two main things that were hampering my install.

1. While I thought I had updated cURL, I believe I may have only upgraded the executable itself the first time, while leaving the libraries themselves at an older version.

2. OS X install cURL with a prefix of /usr, whereas the standard cURL install uses /usr/local. /usr has a higher preference in the compiler/linker's environment path, so it continues to use the old version if you do not change the prefix of the new cURL.

The solution is just to grab the new cURL, then configure and make it. I used a configure of:
./configure --prefix=/usr --with-ssl

Then went ahead with my php install, and everything outside of phpMagick worked great, and that subject is a whole different story.

Good luck,
Wes


On Sunday, December 1, 2002, at 07:31 PM, Randall Perry wrote:

I've got curl 7.10 and am getting the same error on Mac OS 10.2.2 server.
Here's my config:

./configure --with-apxs=/usr/sbin/apxs --with-pgsql --with-xml
--with-openssl=/usr/local/ssl --with-pear --with-curl=/usr/lib/curl


Here's curl:

[systame:local/src/php-4.2.3] randy% /usr/bin/curl -V
curl 7.10 (powerpc-apple-darwin6.2) libcurl/7.10 ipv6 zlib/1.1.3


Here's the error:

checking for CURL support... yes
checking for CURL in default path... found in /usr/local
found in /usr
checking for cURL 7.9 or greater... configure: error: cURL version 7.9 or
later is required to compile php with cURL support

I'm working on getting the following install working under OS 10.2.2:

./configure --prefix=/usr \
--sysconfdir=/etc \
--localstatedir=/var \
--mandir=/usr/share/man \
--with-apxs=/usr/sbin/apxs \
--with-mysql \
--with-gd=/usr/local \
--with-png-dir=/usr/local \
--with-zlib-dir=/usr/local \
--with-jpg-dir=/usr/local \
--with-freetype-dir=/usr/local \
--enable-trans-sid \
--enable-exif \
--enable-ftp \
--enable-calendar \
--with-curl=/usr/lib \
--with-flatfile \
--with-ming=/Users/whoughto/src/ming-0.2a \
--enable-sockets \
--with-jave=/Library/Java/Home \
--with-xml

And Curl keeps throwing me the following error, but as you can see, I
do indeed have 7.9.8 installed. Any ideas?

checking for CURL support... yes
checking for CURL in default path... found in /usr
checking for cURL 7.9.8 or greater... configure: error: cURL version
7.9.8 or later is required to compile php with cURL support
[user/src/php4rc2] root# curl --help
curl 7.9.8 (powerpc-apple-darwin5.5) libcurl 7.9.8

Thanks,
Wes

--
Randall Perry
sysTame

Xserve Web Hosting/Co-location
Website Development/Promotion
Mac Consulting/Sales

http://www.systame.com/



--
PHP Install Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to