ID: 39343
User updated by: steve dot kirtley at gmail dot com
Reported By: steve dot kirtley at gmail dot com
Status: Open
Bug Type: cURL related
Operating System: Red Hat / Apache/1.3.26
PHP Version: 4.4.4
New Comment:
Thanks for the quick reply - hoping you can help me solve this one...
Sorry, full error from Make command below:
[EMAIL PROTECTED] php-4.4.4]# make
/bin/sh /home/willis_s/php-4.4.4/libtool --silent --preserve-dup-deps
--mode=compile gcc -Iext/curl/ -I/home/willis_s/php-4.4.4/ext/curl/
-DPHP_ATOM_INC -I/home/willis_s/php-4.4.4/include
-I/home/willis_s/php-4.4.4/main -I/home/willis_s/php-4.4.4
-I/usr/lib/include -I/usr/local/mysql/include
-I/usr/local/oracle/rdbms/public -I/usr/local/oracle/rdbms/demo
-I/home/willis_s/php-4.4.4/ext/xml/expat
-I/home/willis_s/php-4.4.4/TSRM -I/home/willis_s/php-4.4.4/Zend-g
-O2 -prefer-non-pic -c /home/willis_s/php-4.4.4/ext/curl/curl.c -o
ext/curl/curl.lo
/home/willis_s/php-4.4.4/ext/curl/curl.c: In function
`zm_startup_curl':
/home/willis_s/php-4.4.4/ext/curl/curl.c:261: `CURLOPT_FTPASCII'
undeclared (first use in this function)
/home/willis_s/php-4.4.4/ext/curl/curl.c:261: (Each undeclared
identifier is reported only once
/home/willis_s/php-4.4.4/ext/curl/curl.c:261: for each function it
appears in.)
/home/willis_s/php-4.4.4/ext/curl/curl.c:299: `CURLOPT_PASSWDFUNCTION'
undeclared (first use in this function)
make: *** [ext/curl/curl.lo] Error 1
[EMAIL PROTECTED] php-4.4.4]#
Previous Comments:
[2006-11-02 22:27:06] daniel at haxx dot se
1. You cut off the build error too early so the error doesn't really
show
2. They aren't deprecated _functions_, they are deprecated symbols ==
defines in the curl public header file.
----
[2006-11-02 11:04:23] steve dot kirtley at gmail dot com
Description:
Installed latest libcurl and curl libraries (no previous version) which
worked fine with PHP 4.4.2 - however will not compile with 4.4.4
Reproduce code:
---
Using following configure command, (which worked and still works with
4.4.2):
./configure --with-db --with-gdbm --with-xml
--with-apxs=/usr/local/apache/bin/apxs --with-mysql=/usr/local/mysql
--with-oci8=/usr/local/oracle --enable-sigchild --enable-trans-sid
--with-pgsq --with-curl=/usr/lib
Configure is successful but errors shown below appear when running
'make'
/bin/sh /home/willis_s/php-4.4.4/libtool --silent --preserve-dup-deps
--mode=compile gcc -Iext/curl/ -I/home/willis_s/php-4.4.4/ext/curl/
-DPHP_ATOM_INC -I/home/willis_s/php-4.4.4/include
-I/home/willis_s/php-4.4.4/main -I/home/willis_s/php-4.4.4
-I/usr/lib/include -I/usr/local/mysql/include
-I/usr/local/oracle/rdbms/public -I/usr/local/oracle/rdbms/demo
-I/home/willis_s/php-4.4.4/ext/xml/expat
-I/home/willis_s/php-4.4.4/TSRM -I/home/willis_s/php-4.4.4/Zend-g
-O2 -prefer-non-pic -c /home/willis_s/php-4.4.4/ext/curl/curl.c -o
ext/curl/curl.lo
Expected result:
With PHP 4.4.2 installs without issues using same process.
Have posted onto the curl mailing list who advised these PHP ext files
are referencing deprecated functions.
--
Edit this bug report at http://bugs.php.net/?id=39343&edit=1