From: fraga at abusar dot org Operating system: Linux 2.6.18 PHP version: 5.2.0 PHP Bug Type: Compile Failure Bug description: PHP 5.2.0 x curl 7.16.0
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 bug report at http://bugs.php.net/?id=39354&edit=1 -- Try a CVS snapshot (PHP 4.4): http://bugs.php.net/fix.php?id=39354&r=trysnapshot44 Try a CVS snapshot (PHP 5.2): http://bugs.php.net/fix.php?id=39354&r=trysnapshot52 Try a CVS snapshot (PHP 6.0): http://bugs.php.net/fix.php?id=39354&r=trysnapshot60 Fixed in CVS: http://bugs.php.net/fix.php?id=39354&r=fixedcvs Fixed in release: http://bugs.php.net/fix.php?id=39354&r=alreadyfixed Need backtrace: http://bugs.php.net/fix.php?id=39354&r=needtrace Need Reproduce Script: http://bugs.php.net/fix.php?id=39354&r=needscript Try newer version: http://bugs.php.net/fix.php?id=39354&r=oldversion Not developer issue: http://bugs.php.net/fix.php?id=39354&r=support Expected behavior: http://bugs.php.net/fix.php?id=39354&r=notwrong Not enough info: http://bugs.php.net/fix.php?id=39354&r=notenoughinfo Submitted twice: http://bugs.php.net/fix.php?id=39354&r=submittedtwice register_globals: http://bugs.php.net/fix.php?id=39354&r=globals PHP 3 support discontinued: http://bugs.php.net/fix.php?id=39354&r=php3 Daylight Savings: http://bugs.php.net/fix.php?id=39354&r=dst IIS Stability: http://bugs.php.net/fix.php?id=39354&r=isapi Install GNU Sed: http://bugs.php.net/fix.php?id=39354&r=gnused Floating point limitations: http://bugs.php.net/fix.php?id=39354&r=float No Zend Extensions: http://bugs.php.net/fix.php?id=39354&r=nozend MySQL Configuration Error: http://bugs.php.net/fix.php?id=39354&r=mysqlcfg