#20748 [Fbk]: Compile Errors w/ cURL
ID: 20748
Updated by: sniper@php.net
Reported By: tgordon@peakton.com
Status: Feedback
Bug Type: cURL related
Operating System: Linux 2.4.18 (Redhat 8.0)
PHP Version: 4.2.2
New Comment:
try the STABLE snapshot from here: http://snaps.php.net
Previous Comments:
------------------------------------------------------------------------
[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
Thread (4 messages)