#27663 [Com]: compile fails with cURL 7.11.1

2004-04-24 Thread bero at arklinux dot org
 ID:   27663
 Comment by:   bero at arklinux dot org
 Reported By:  toni dot viemero at iki dot fi
 Status:   Closed
 Bug Type: Compile Failure
 Operating System: Debian Woody
 PHP Version:  *
 Assigned To:  iliaa
 New Comment:

The fix will break again with curl 7.12.x, when the 
defines of obsolete functions to 0 will be removed. 
 
Please consider changing 
 
#if CURLOPT_PASSWDFUNCTION != 0 
 
to 
 
#if defined(CURLOPT_PASSWDFUNCTION)  
CURLOPT_PASSWDFUNCTION != 0 
 
(and the same for CURLOPT_MUTE of course)


Previous Comments:


[2004-04-14 10:14:20] bchesneau at mac dot com

Thks :)

Here is the patch I've made from diff between 4.3.6RC3 
and 4.3.5 :

http://cvs.opendarwin.org/index.cgi/dports/www/php4/
files/patch-curl?rev=1.1content-type=text/x-cvsweb-
markup

It works well on macosx 10.3/10.2



[2004-04-14 06:57:51] toni dot viemero at iki dot fi

I've submitted patch for FreeBSD PHP port, for which I pulled only
latest PHP_4_3 ext/curl/curl.c from CVS.
http://www.freebsd.org/cgi/query-pr.cgi?pr=ports/65422



[2004-04-14 06:40:20] bchesneau at mac dot com

how did you fix it ? I'm the maintener of the port on 
macosx with darwinports packaging system, and I would 
like to patch current stable version if it's possible.

Thanks for advance :)

Benoit



[2004-03-26 13:59:03] [EMAIL PROTECTED]

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.





[2004-03-26 11:05:57] [EMAIL PROTECTED]

This also applies to PHP 5.



The remainder of the comments for this report are too long. To view
the rest of the comments, please view the bug report online at
http://bugs.php.net/27663

-- 
Edit this bug report at http://bugs.php.net/?id=27663edit=1


#27663 [Com]: compile fails with cURL 7.11.1

2004-04-14 Thread bchesneau at mac dot com
 ID:   27663
 Comment by:   bchesneau at mac dot com
 Reported By:  toni dot viemero at iki dot fi
 Status:   Closed
 Bug Type: Compile Failure
 Operating System: Debian Woody
 PHP Version:  *
 Assigned To:  iliaa
 New Comment:

how did you fix it ? I'm the maintener of the port on 

macosx with darwinports packaging system, and I would 

like to patch current stable version if it's possible.



Thanks for advance :)



Benoit


Previous Comments:


[2004-03-26 13:59:03] [EMAIL PROTECTED]

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.





[2004-03-26 11:05:57] [EMAIL PROTECTED]

This also applies to PHP 5.



[2004-03-24 03:51:11] thomas-lists at myphorum dot com

Oh please, don't fix it only after release, don't leave us using
php-4.3.5 with a broken curl-extension :(.



btw. having the same prob.



[2004-03-23 15:57:22] [EMAIL PROTECTED]

Will be fixed after 4.3.5 release. 



[2004-03-23 15:39:35] toni dot viemero at iki dot fi

Tested compiling with RC3 and cURL 7.11.1 with same effect.

Breaks with cURL upgrade from 7.11.0 to 7.11.1.



The remainder of the comments for this report are too long. To view
the rest of the comments, please view the bug report online at
http://bugs.php.net/27663

-- 
Edit this bug report at http://bugs.php.net/?id=27663edit=1


#27663 [Com]: compile fails with cURL 7.11.1

2004-04-14 Thread bchesneau at mac dot com
 ID:   27663
 Comment by:   bchesneau at mac dot com
 Reported By:  toni dot viemero at iki dot fi
 Status:   Closed
 Bug Type: Compile Failure
 Operating System: Debian Woody
 PHP Version:  *
 Assigned To:  iliaa
 New Comment:

Thks :)



Here is the patch I've made from diff between 4.3.6RC3 

and 4.3.5 :



http://cvs.opendarwin.org/index.cgi/dports/www/php4/

files/patch-curl?rev=1.1content-type=text/x-cvsweb-

markup



It works well on macosx 10.3/10.2


Previous Comments:


[2004-04-14 06:57:51] toni dot viemero at iki dot fi

I've submitted patch for FreeBSD PHP port, for which I pulled only
latest PHP_4_3 ext/curl/curl.c from CVS.

http://www.freebsd.org/cgi/query-pr.cgi?pr=ports/65422



[2004-04-14 06:40:20] bchesneau at mac dot com

how did you fix it ? I'm the maintener of the port on 

macosx with darwinports packaging system, and I would 

like to patch current stable version if it's possible.



Thanks for advance :)



Benoit



[2004-03-26 13:59:03] [EMAIL PROTECTED]

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.





[2004-03-26 11:05:57] [EMAIL PROTECTED]

This also applies to PHP 5.



[2004-03-24 03:51:11] thomas-lists at myphorum dot com

Oh please, don't fix it only after release, don't leave us using
php-4.3.5 with a broken curl-extension :(.



btw. having the same prob.



The remainder of the comments for this report are too long. To view
the rest of the comments, please view the bug report online at
http://bugs.php.net/27663

-- 
Edit this bug report at http://bugs.php.net/?id=27663edit=1


#27663 [Com]: compile fails with cURL 7.11.1

2004-03-24 Thread thomas-lists at myphorum dot com
 ID:   27663
 Comment by:   thomas-lists at myphorum dot com
 Reported By:  toni dot viemero at iki dot fi
 Status:   Assigned
 Bug Type: Compile Failure
 Operating System: Debian Woody
 PHP Version:  4.3.5RC4
 Assigned To:  iliaa
 New Comment:

Oh please, don't fix it only after release, don't leave us using
php-4.3.5 with a broken curl-extension :(.



btw. having the same prob.


Previous Comments:


[2004-03-23 15:57:22] [EMAIL PROTECTED]

Will be fixed after 4.3.5 release. 



[2004-03-23 15:39:35] toni dot viemero at iki dot fi

Tested compiling with RC3 and cURL 7.11.1 with same effect.

Breaks with cURL upgrade from 7.11.0 to 7.11.1.



[2004-03-23 15:31:43] toni dot viemero at iki dot fi

Description:

Building 4.3.5RC4 with cURL 7.11.1 doesn't compile

Builds fine with 4.3.5RC3 and cURL 7.11.0



/bin/sh /root/src/php-4.3.5RC4/libtool --silent --preserve-dup-deps
--mode=compile gcc  -Iext/curl/ -I/root/src/php-4.3.5RC4/ext/curl/
-DPHP_ATOM_INC -I/root/src/php-4.3.5RC4/include
-I/root/src/php-4.3.5RC4/main -I/root/src/php-4.3.5RC4
-I/root/src/php-4.3.5RC4/Zend -I/usr/local/curl/include
-I/usr/include/libxml2 -I/usr/local/freetype/include
-I/usr/local/freetype/include/freetype2 -I/usr/local/gd/include
-I/root/src/imap-2002e/c-client -I/usr/local/mysql/include
-I/root/src/php-4.3.5RC4/ext/xml/expat  -I/root/src/php-4.3.5RC4/TSRM 
-g -O2  -prefer-pic -c /root/src/php-4.3.5RC4/ext/curl/curl.c -o
ext/curl/curl.lo

/root/src/php-4.3.5RC4/ext/curl/curl.c: In function `curl_free_post':

/root/src/php-4.3.5RC4/ext/curl/curl.c:568: warning: passing arg 1 of
`curl_formfree' from incompatible pointer type

/root/src/php-4.3.5RC4/ext/curl/curl.c: In function
`alloc_curl_handle':

/root/src/php-4.3.5RC4/ext/curl/curl.c:608: sizeof applied to an
incomplete type

/root/src/php-4.3.5RC4/ext/curl/curl.c: In function `zif_curl_setopt':

/root/src/php-4.3.5RC4/ext/curl/curl.c:845: duplicate case value

/root/src/php-4.3.5RC4/ext/curl/curl.c:700: this is the first entry for
that value

/root/src/php-4.3.5RC4/ext/curl/curl.c:890: warning: passing arg 1 of
`curl_formadd' from incompatible pointer type

/root/src/php-4.3.5RC4/ext/curl/curl.c:890: warning: passing arg 2 of
`curl_formadd' from incompatible pointer type

/root/src/php-4.3.5RC4/ext/curl/curl.c:898: warning: passing arg 1 of
`curl_formadd' from incompatible pointer type

/root/src/php-4.3.5RC4/ext/curl/curl.c:898: warning: passing arg 2 of
`curl_formadd' from incompatible pointer type

make: *** [ext/curl/curl.lo] Error 1



$ /usr/local/curl/bin/curl -V

curl 7.11.1 (i686-pc-linux-gnu) libcurl/7.11.1 OpenSSL/0.9.7d
zlib/1.1.4

Protocols: ftp gopher telnet dict ldap http file https ftps

Features: SSL libz NTLM Largefile






-- 
Edit this bug report at http://bugs.php.net/?id=27663edit=1