#39354 [Opn->Csd]: PHP 5.2.0 x curl 7.16.0
| From: | iliaa@php.net | Date: | Fri, 03 Nov 2006 19:27:03 +0000 |
| Subject: | #39354 [Opn->Csd]: PHP 5.2.0 x curl 7.16.0 | ||
| References: | 1 | Groups: | php.bugs |
| Request: | Send a blank email to php-bugs+get-104335@lists.php.net to get a copy of this message | ||
ID: 39354
Updated by: iliaa@php.net
Reported By: fraga at abusar dot org
-Status: Open
+Status: Closed
Bug Type: Compile Failure
Operating System: Linux 2.6.18
PHP Version: 5.2.0
New Comment:
This bug has been fixed in CVS.
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/.
Thank you for the report, and for helping us make PHP better.
Previous Comments:
------------------------------------------------------------------------
[2006-11-03 00:48:36] fraga at abusar dot org
Description:
------------
PHP 5.2.0 is incompatible with the new curl 7.16.0. The solution I
found is to comment lines 372, 412 and 1164 from
php-5.2.0/ext/curl/interface.c
Actual result:
--------------
/bin/sh /home/fraga/php-5.2.0/libtool --silent --preserve-dup-deps
--mode=compile gcc -Iext/zlib/ -I/home/fraga/php-5.2.0/ext/zlib/
-DPHP_ATOM_INC -I/home/fraga/php-5.2.0/include
-I/home/fraga/php-5.2.0/main -I/home/fraga/php-5.2.0
-I/usr/local/include/libxml2 -I/usr/local/include
-I/home/fraga/php-5.2.0/ext/date/lib
-I/home/fraga/php-5.2.0/ext/mbstring/oniguruma
-I/home/fraga/php-5.2.0/ext/mbstring/libmbfl
-I/home/fraga/php-5.2.0/ext/mbstring/libmbfl/mbfl
-I/usr/local/include/mysql -I/home/fraga/php-5.2.0/TSRM
-I/home/fraga/php-5.2.0/Zend -I/usr/include -O2 -march=athlon-xp
-pipe -ftree-vectorize -mfpmath=sse -prefer-non-pic -c
/home/fraga/php-5.2.0/ext/zlib/zlib_filter.c -o ext/zlib/zlib_filter.lo
/bin/sh /home/fraga/php-5.2.0/libtool --silent --preserve-dup-deps
--mode=compile gcc -Iext/ctype/ -I/home/fraga/php-5.2.0/ext/ctype/
-DPHP_ATOM_INC -I/home/fraga/php-5.2.0/include
-I/home/fraga/php-5.2.0/main -I/home/fraga/php-5.2.0
-I/usr/local/include/libxml2 -I/usr/local/include
-I/home/fraga/php-5.2.0/ext/date/lib
-I/home/fraga/php-5.2.0/ext/mbstring/oniguruma
-I/home/fraga/php-5.2.0/ext/mbstring/libmbfl
-I/home/fraga/php-5.2.0/ext/mbstring/libmbfl/mbfl
-I/usr/local/include/mysql -I/home/fraga/php-5.2.0/TSRM
-I/home/fraga/php-5.2.0/Zend -I/usr/include -O2 -march=athlon-xp
-pipe -ftree-vectorize -mfpmath=sse -prefer-non-pic -c
/home/fraga/php-5.2.0/ext/ctype/ctype.c -o ext/ctype/ctype.lo
/bin/sh /home/fraga/php-5.2.0/libtool --silent --preserve-dup-deps
--mode=compile gcc -Iext/curl/ -I/home/fraga/php-5.2.0/ext/curl/
-DPHP_ATOM_INC -I/home/fraga/php-5.2.0/include
-I/home/fraga/php-5.2.0/main -I/home/fraga/php-5.2.0
-I/usr/local/include/libxml2 -I/usr/local/include
-I/home/fraga/php-5.2.0/ext/date/lib
-I/home/fraga/php-5.2.0/ext/mbstring/oniguruma
-I/home/fraga/php-5.2.0/ext/mbstring/libmbfl
-I/home/fraga/php-5.2.0/ext/mbstring/libmbfl/mbfl
-I/usr/local/include/mysql -I/home/fraga/php-5.2.0/TSRM
-I/home/fraga/php-5.2.0/Zend -I/usr/include -O2 -march=athlon-xp
-pipe -ftree-vectorize -mfpmath=sse -prefer-non-pic -c
/home/fraga/php-5.2.0/ext/curl/interface.c -o ext/curl/interface.lo
/home/fraga/php-5.2.0/ext/curl/interface.c: In function
'zm_startup_curl':
/home/fraga/php-5.2.0/ext/curl/interface.c:372: error:
'CURLOPT_FTPASCII' undeclared (first use in this function)
/home/fraga/php-5.2.0/ext/curl/interface.c:372: error: (Each undeclared
identifier is reported only once
/home/fraga/php-5.2.0/ext/curl/interface.c:372: error: for each
function it appears in.)
/home/fraga/php-5.2.0/ext/curl/interface.c:412: error:
'CURLOPT_PASSWDFUNCTION' undeclared (first use in this function)
/home/fraga/php-5.2.0/ext/curl/interface.c: In function
'zif_curl_copy_handle':
/home/fraga/php-5.2.0/ext/curl/interface.c:1164: error:
'CURLOPT_PASSWDDATA' undeclared (first use in this function)
make: *** [ext/curl/interface.lo] Error 1
------------------------------------------------------------------------
--
Edit this bug report at http://bugs.php.net/?id=39354&edit=1