#20748 [Fbk->Csd]: Compile Errors w/ cURL

From: Date: Sun, 15 Dec 2002 10:05:46 +0000
Subject: #20748 [Fbk->Csd]: Compile Errors w/ cURL
References: 1  Groups: php.bugs 
Request: Send a blank email to php-bugs+get-27758@lists.php.net to get a copy of this message
ID: 20748 Updated by: sniper@php.net Reported By: tgordon@peakton.com -Status: Feedback +Status: Closed Bug Type: cURL related Operating System: Linux 2.4.18 (Redhat 8.0) PHP Version: 4.2.2 New Comment: This bug has been fixed in CVS. In case this was a PHP problem, snapshots of the sources are packaged every three hours; this change will be in the next snapshot. You can grab the snapshot at http://snaps.php.net/. In case this was a documentation problem, the fix will show up soon at http://www.php.net/manual/. In case this was a PHP.net website problem, the change will show up on the PHP.net site and on the mirror sites in short time. Thank you for the report, and for helping us make PHP better. Previous Comments: ------------------------------------------------------------------------ [2002-12-01 14:32:22] sniper@php.net try the STABLE snapshot from here: http://snaps.php.net ------------------------------------------------------------------------ [2002-12-01 10:27:57] derick@php.net Please try using this CVS snapshot: http://snaps.php.net/php4-latest.tar.gz For Windows: http://snaps.php.net/win32/php4-win32-latest.zip ------------------------------------------------------------------------ [2002-12-01 10:27:11] tgordon@peakton.com Having a compile error with php-4.2.2-8.0.5 and cURL 7.9.8-1 (for curl & curl-devel rpm packages). I have tried configure options of: --with-curl \ --with-curl=shared \ --with-curl=%{_prefix} \ to no avail. I searched the include paths created by installing cURL and sure enough the aforementioned items are not included. Reading the mail list shows that this was a problem in a previous release, but I have not seen a report for php 4.2.2. Any help would be appreciated. Tom Gordon Compile log follows: Making all in curl make[2]: Entering directory `/usr/src/redhat/BUILD/php-4.2.2/build-cgi/ext/curl' make[3]: Entering directory `/usr/src/redhat/BUILD/php-4.2.2/build-cgi/ext/curl' /bin/sh /usr/src/redhat/BUILD/php-4.2.2/build-cgi/libtool --silent --mode=compile gcc -I. -I/usr/src/redhat/BUILD/php-4.2.2/ext/curl -I/usr/src/redhat/BUILD/php-4.2.2/build-cgi/main -I/usr/src/redhat/BUILD/php-4.2.2 -I/usr/src/redhat/BUILD/php-4.2.2/build-cgi/Zend -I/usr/include/libxml2 -I/usr/include/freetype2/freetype -I/usr/include/imap -I/usr/local/include -I/opt/verisign/payflowpro/linux/lib -I/usr/include/pspell -I/usr/include/ucd-snmp -I/usr/src/redhat/BUILD/php-4.2.2/main -I/usr/src/redhat/BUILD/php-4.2.2/Zend -I/usr/src/redhat/BUILD/php-4.2.2/TSRM -DUCD_COMPATIBLE -I/usr/src/redhat/BUILD/php-4.2.2/build-cgi/TSRM -O2 -march=i386 -mcpu=i686 -fPIC -prefer-pic -c /usr/src/redhat/BUILD/php-4.2.2/ext/curl/curl.c && touch curl.slo cc1: warning: changing search order for system directory "/usr/local/include" cc1: warning: as it has already been specified as a non-system directory /usr/src/redhat/BUILD/ph p-4.2.2/ext/curl/curl.c: In function `zm_startup_curl': /usr/src/redhat/BUILD/php-4.2.2/ext/curl/curl.c:145: `CURLOPT_SSL_VERIFYHOST' undeclared (first use in this function) /usr/src/redhat/BUILD/php-4.2.2/ext/curl/curl.c:145: (Each undeclared identifier is reported only once /usr/src/redhat/BUILD/php-4.2.2/ext/curl/curl.c:145: for each function it appears in.) /usr/src/redhat/BUILD/php-4.2.2/ext/curl/curl.c:174: `CURLOPT_COOKIEJAR' undeclared (first use in this function) /usr/src/redhat/BUILD/php-4.2.2/ext/curl/curl.c:175: `CURLOPT_SSL_CIPHER_LIST' undeclared (first use in this function) /usr/src/redhat/BUILD/php-4.2.2/ext/curl/curl.c:254: `CURLE_OBSOLETE' undeclared (first use in this function) /usr/src/redhat/BUILD/php-4.2.2/ext/curl/curl.c:255: `CURLE_SSL_PEER_CERTIFICATE' undeclared (first use in this function) /usr/src/redhat/BUILD/php-4.2.2/ext/curl/curl.c:257: `CURL_GLOBAL_SSL' undeclared (first use in this function) /usr/src/redhat/BUILD/php-4.2.2/ext/curl/curl.c: In function `zif_curl_setopt': /usr/src/redhat/BUILD/php-4.2.2/ext/curl/curl.c:655: `CURLOPT_SSL_VERIFYHOST' undeclared (first use in this function) /usr/src/redhat/BUILD/php-4.2.2/ext/curl/curl.c:678: `CURLOPT_COOKIEJAR' undeclared (first use in this function) /usr/src/redhat/BUILD/php-4.2.2/ext/curl/curl.c:679: `CURLOPT_SSL_CIPHER_LIST' undeclared (first use in this function) /usr/src/redhat/BUILD/php-4.2.2/ext/curl/curl.c:782: `CURLFORM_COPYNAME' undeclared (first use in this function) /usr/src/redhat/BUILD/php-4.2.2/ext/curl/curl.c:783: `CURLFORM_FILE' undeclared (first use in this function) /usr/src/redhat/BUILD/php-4.2.2/ext/curl/curl.c:783: `CURLFORM_END' undeclared (first use in this function) /usr/src/redhat/BUILD/php-4.2.2/ext/curl/curl.c:787: `CURLFORM_PTRCONTENTS' undeclared (first use in this function) /usr/src/redhat/BUILD/php-4.2.2/ext/curl/curl.c:788: `CURLFORM_CONTENTSLENGTH' undeclared (first use in this function) make[3]: *** [curl.slo] Error 1 make[3]: Leaving directory `/usr/src/redhat/BUILD/php-4.2.2/build-cgi/ext/curl' make[2]: *** [all-recursive] Error 1 make[2]: Leaving directory `/usr/src/redhat/BUILD/php-4.2.2/build-cgi/ext/curl' make[1]: *** [all-recursive] Error 1 make[1]: Leaving directory `/usr/src/redhat/BUILD/php-4.2.2/build-cgi/ext' make: *** [all-recursive] Error 1 error: Bad exit status from /var/tmp/rpm-tmp.49959 (%build) RPM build errors: Bad exit status from /var/tmp/rpm-tmp.49959 (%build) ------------------------------------------------------------------------ -- Edit this bug report at http://bugs.php.net/?id=20748&edit=1

« previous php.bugs (#27758) next »