On Tue, Nov 13 2001, Zeev Suraski <[EMAIL PROTECTED]> wrote:

> http://www.php.net/~zeev/php-4.1.0RC2.tar.gz
> 
> Do your thang :)

make[1]: Entering directory /home/js/dl/linux/web/php-4.1.0RC2/ext/curl'
gcc -I. -I/home/js/dl/linux/web/php-4.1.0RC2/ext/curl
-I/home/js/dl/linux/web/php-4.1.0RC2/main
-I/home/js/dl/linux/web/php-4.1.0RC2
-I/home/js/dl/linux/web/php-4.1.0RC2/Zend -I/usr/include/freetype2/freetype
-I/home/js/dl/linux/web/php-4.1.0RC2/ext/xml/expat
-I/home/js/dl/linux/web/php-4.1.0RC2/TSRM -g -Wall  -c curl.c && touch
curl.lo
curl.c: In function `zm_startup_curl':
curl.c:145: `CURLOPT_SSL_VERIFYHOST' undeclared (first use in this function)
curl.c:145: (Each undeclared identifier is reported only once
curl.c:145: for each function it appears in.)
curl.c: In function `zif_curl_setopt':
curl.c:640: `CURLOPT_SSL_VERIFYHOST' undeclared (first use in this function)
make[1]: *** [curl.lo] Error 1
make[1]: Leaving directory /home/js/dl/linux/web/php-4.1.0RC2/ext/curl'
make: *** [all-recursive] Error 1

It doesn't work with curl-7.8.  It's old enough but this version is included
into Red Hat Linux 7.2.  In the 7.9.1 CHANGES file:

Version 7.8.1-pre4

[...]

- Patrick Bihan-Faou introduced CURLOPT_SSL_VERIFYHOST, which makes curl
  verify the server's CN field when talking https://. If --cacert is not used,
  any failures in matching is only displayed as information (-v).

Thus configure's curl check should contain a version check for 7.8.1 or
higher.
-- 
jul



-- 
PHP Development Mailing List <http://www.php.net/>
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]

Reply via email to