From: [EMAIL PROTECTED] Operating system: Linux 2.4.18 (Redhat 8.0) PHP version: 4.2.2 PHP Bug Type: cURL related Bug description: Compile Errors w/ cURL
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 bug report at http://bugs.php.net/?id=20748&edit=1 -- Try a CVS snapshot: http://bugs.php.net/fix.php?id=20748&r=trysnapshot Fixed in CVS: http://bugs.php.net/fix.php?id=20748&r=fixedcvs Fixed in release: http://bugs.php.net/fix.php?id=20748&r=alreadyfixed Need backtrace: http://bugs.php.net/fix.php?id=20748&r=needtrace Try newer version: http://bugs.php.net/fix.php?id=20748&r=oldversion Not developer issue: http://bugs.php.net/fix.php?id=20748&r=support Expected behavior: http://bugs.php.net/fix.php?id=20748&r=notwrong Not enough info: http://bugs.php.net/fix.php?id=20748&r=notenoughinfo Submitted twice: http://bugs.php.net/fix.php?id=20748&r=submittedtwice register_globals: http://bugs.php.net/fix.php?id=20748&r=globals PHP 3 support discontinued: http://bugs.php.net/fix.php?id=20748&r=php3 Daylight Savings: http://bugs.php.net/fix.php?id=20748&r=dst IIS Stability: http://bugs.php.net/fix.php?id=20748&r=isapi