Re: Bug #14481: PHP 4.1.0 fails to compile with curl 7.9.2
| From: | Sterling Hughes | Date: | Thu, 13 Dec 2001 11:53:40 +0000 |
| Subject: | Re: Bug #14481: PHP 4.1.0 fails to compile with curl 7.9.2 | ||
| References: | 1 | Groups: | php.dev |
| Request: | Send a blank email to php-dev+get-73547@lists.php.net to get a copy of this message | ||
> From: mike@blueroot.net
> Operating system: Linux (RH 7.0)
> PHP version: 4.1.0
> PHP Bug Type: Compile Failure
> Bug description: PHP 4.1.0 fails to compile with curl 7.9.2
>
you have an old version of cURL (ie, you've incorrectly installed
curl 7.9.2). Please properly upgrade and you should have no
problems.
-Sterling
> PHP fails to compile with curl 7.9.2
>
> ./configure --prefix=/etc
> --with-apache=/usr/src/Apachetoolbox-1.5.45/apache_1.3.22 --enable-exif
> --enable-track-vars --with-calendar=shared --enable-safe-mode
> --enable-magic-quotes --enable-trans-sid --enable-wddx --enable-ftp
> --with-gd=/etc --with-zlib --enable-gd-native-tt
> --with-t1lib=/etc/lib/php/t1libs --with-jpeg-dir=/etc --with-png-dir=/etc
> --with-zlib-dir=/etc --with-ttf --with-freetype-dir=/etc --with-mcrypt
> --with-openssl --with-mysql=/usr --enable-xslt --with-dom
> --with-xslt-sablot --with-curl
>
> (no errors)
>
> make fails with error
>
> curl.c: In function `zm_startup_curl':
> curl.c:147: `CURLOPT_SSL_VERIFYHOST' undeclared (first use in this
> function)
> curl.c:147: (Each undeclared identifier is reported only once
> curl.c:147: for each function it appears in.)
> curl.c:176: `CURLOPT_COOKIEJAR' undeclared (first use in this function)
> curl.c:177: `CURLOPT_SSL_CIPHER_LIST' undeclared (first use in this
> function)
> curl.c: In function `zif_curl_setopt':
> curl.c:671: `CURLOPT_SSL_VERIFYHOST' undeclared (first use in this
> function)
> curl.c:694: `CURLOPT_COOKIEJAR' undeclared (first use in this function)
> curl.c:695: `CURLOPT_SSL_CIPHER_LIST' undeclared (first use in this
> function)
> curl.c:797: `CURLFORM_COPYNAME' undeclared (first use in this function)
> curl.c:798: `CURLFORM_FILE' undeclared (first use in this function)
> curl.c:798: `CURLFORM_END' undeclared (first use in this function)
> curl.c:802: `CURLFORM_PTRCONTENTS' undeclared (first use in this
> function)
> make[3]: *** [curl.lo] Error 1
> make[3]: Leaving directory
> `/usr/src/Apachetoolbox-1.5.45/src/php-4.1.0/ext/curl'
> make[2]: *** [all-recursive] Error 1
> make[2]: Leaving directory
> `/usr/src/Apachetoolbox-1.5.45/src/php-4.1.0/ext/curl'
> make[1]: *** [all-recursive] Error 1
> make[1]: Leaving directory
> `/usr/src/Apachetoolbox-1.5.45/src/php-4.1.0/ext'
> make: *** [all-recursive] Error 1
>
> the same works for php 4.0.6
>
> --
> Edit bug report at: http://bugs.php.net/?id=14481&edit=1
>
>
> --
> PHP Development Mailing List <http://www.php.net/>
> To unsubscribe, e-mail: php-dev-unsubscribe@lists.php.net
> For additional commands, e-mail: php-dev-help@lists.php.net
> To contact the list administrators, e-mail: php-list-admin@lists.php.net
>