Re: OS X and Curl Issues
| From: | Randall Perry | Date: | Mon, 02 Dec 2002 01:45:32 +0000 |
| Subject: | Re: OS X and Curl Issues | ||
| References: | 1 | Groups: | php.general php.install |
| Request: | Send a blank email to php-general+get-126662@lists.php.net to get a copy of this message | ||
Got it working. First I removed every curl binary and library I could find
(had 3 sets, 1 from apple's installation, 1 from my compile, and 1 from a
Fink compile I did).
Then I configured curl to use Apple's paths, made, and installed:
- cd curl-7.10
- ./configure --prefix=/usr
- make
- sudo make install
Then, configure, make php_4.2.3:
- ./configure --with-apxs=/usr/sbin/apxs --with-pgsql --with-xml
--with-openssl=/usr/local/ssl --with-pear --with-curl=/usr/lib
> 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
>
--
Randall Perry
sysTame
Xserve Web Hosting/Co-location
Website Development/Promotion
Mac Consulting/Sales
http://www.systame.com/