php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #14481 PHP 4.1.0 fails to compile with curl 7.9.2
Submitted: 2001-12-13 06:55 UTC Modified: 2001-12-13 22:32 UTC
From: mike at blueroot dot net Assigned:
Status: Closed Package: Compile Failure
PHP Version: 4.1.0 OS: Linux (RH 7.0)
Private report: No CVE-ID: None
 [2001-12-13 06:55 UTC] mike at blueroot dot net
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

Patches

Pull Requests

Add a Pull Request

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2001-12-13 22:32 UTC] sniper@php.net
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

-----

Sterling..we have this nice web interface for updating bug reports..
Please use it.
 [2002-03-11 23:25 UTC] deepsec at yahoo dot com
This still does not fix the problem. I've tried reinstalling CuRL-7.9.2 and it did not fix the problem after I tried recompiling PHP. HeLP!
 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Sat Sep 07 16:01:28 2024 UTC