#39343 [Opn]: PHP wont compile with latest Curl

2006-11-03 Thread steve dot kirtley at gmail dot com
 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=39343edit=1


#39343 [NEW]: PHP wont compile with latest Curl

2006-11-02 Thread steve dot kirtley at gmail dot com
From: steve dot kirtley at gmail dot com
Operating system: Red Hat / Apache/1.3.26
PHP version:  4.4.4
PHP Bug Type: cURL related
Bug description:  PHP wont compile with latest Curl

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