[PHP-DEV] autoconf version check on trunk?

2009-11-27 Thread Arvind Srinivasan
There was some discussion on the version (2.13 vs newer) of autoconf to use for trunk but I'm not sure whether there was any consensus. It looks like autoconf2.13 can't be used with trunk and therefore the autoconf version check inside build/buildcheck.sh needs to be updated. I get the following

Re: [PHP-DEV] autoconf version check on trunk?

2009-11-27 Thread Jani Taskinen
It works fine as soon as I find the typo Rasmus has done with his fixes for autoconf 2.13.. --Jani On 11/27/2009 10:56 AM, Arvind Srinivasan wrote: There was some discussion on the version (2.13 vs newer) of autoconf to use for trunk but I'm not sure whether there was any consensus. It

[PHP-DEV] Re: PHP 5.2.12RC2 Testing

2009-11-27 Thread Dirk Haun
Ilia Alshanetsky wrote: The second release candidate of 5.2.12 was just released for testing FWIW, I'm getting a ./configure: 91396: Syntax error: fi unexpected when trying to run the configure script (on Ubuntu 8.04) like so: ./configure --enable-mbstring --with-mysql=/usr/local/mysql

Re: [PHP-DEV] autoconf version check on trunk?

2009-11-27 Thread Jani Taskinen
Make that me. It's either my upgrade of libtool or combined changes by me and Rasmus. And it affects ALL branches.. :( I'm investigating this bug atm, stay tuned. --Jani On 11/27/2009 11:26 AM, Jani Taskinen wrote: It works fine as soon as I find the typo Rasmus has done with his fixes for

Re: [PHP-DEV] autoconf version check on trunk?

2009-11-27 Thread Jani Taskinen
This is caused by the divert() patch Rasmus committed. Nice work. I'll try figure out how to do it properly. --Jani On 11/27/2009 01:08 PM, Jani Taskinen wrote: Make that me. It's either my upgrade of libtool or combined changes by me and Rasmus. And it affects ALL branches.. :( I'm

Re: [PHP-DEV] autoconf version check on trunk?

2009-11-27 Thread Rasmus Lerdorf
Jani Taskinen wrote: This is caused by the divert() patch Rasmus committed. Nice work. I'll try figure out how to do it properly. The easy way would be to get rid of the diverts completely. They don't do anything in autoconf2.13 anyway, so I don't really see why they were added in the first

Re: [PHP-DEV] [PATCH] session_set_save_handler(class)

2009-11-27 Thread Lukas Kahwe Smith
On 22.11.2009, at 06:12, Arpad Ray wrote: Attached is a patch (against HEAD, includes tests) which allows users to extend any session handler in an object oriented fashion. By extending the new internal class SessionHandler, users can wrap or override methods of whatever session handler

Re: [PHP-DEV] autoconf version check on trunk?

2009-11-27 Thread Rasmus Lerdorf
Jani Taskinen wrote: This is caused by the divert() patch Rasmus committed. Nice work. I'll try figure out how to do it properly. Getting rid of just the diverts in ext/standard/config.m4 fixes this for me. There is still an unrelated libtool/autoconf-2.13 issue related to finding ld though.

Re: [PHP-DEV] autoconf version check on trunk?

2009-11-27 Thread Jani Taskinen
On 11/27/2009 02:30 PM, Rasmus Lerdorf wrote: Jani Taskinen wrote: This is caused by the divert() patch Rasmus committed. Nice work. I'll try figure out how to do it properly. Getting rid of just the diverts in ext/standard/config.m4 fixes this for me. There is still an unrelated

Re: [PHP-DEV] autoconf version check on trunk?

2009-11-27 Thread Ilia Alshanetsky
Rasmus, Do you think this is an easy fix, or do we need to go back pre-patch code for 5.2.12? The other option is to generate the build on a machine with the later autoconf, 2.59 seems to work fine. On 2009-11-27, at 7:30 AM, Rasmus Lerdorf wrote: Jani Taskinen wrote: This is caused by the

Re: [PHP-DEV] autoconf version check on trunk?

2009-11-27 Thread Jani Taskinen
As I mentioned in IRC, this is now fixed for PHP_5_2. Rasmus, please don't commit any more fixes into that branch. Experiments should be done in trunk only. :) --Jani On 11/27/2009 02:49 PM, Ilia Alshanetsky wrote: Rasmus, Do you think this is an easy fix, or do we need to go back

Re: [PHP-DEV] [PATCH] session_set_save_handler(class)

2009-11-27 Thread Arpad Ray
On Fri, Nov 27, 2009 at 11:57 AM, Lukas Kahwe Smith m...@pooteeweet.orgwrote: sounds useful. i assume with this i could extend for example the session handler that comes with the Memcached extension? could you provide a code example of how that would look like? Right, the SessionHandler

[PHP-DEV] PHP 5.2.12RC2 Testing

2009-11-27 Thread Ilia Alshanetsky
The second release candidate of 5.2.12 was just released for testing and can be downloaded here: http://downloads.php.net/ilia/php-5.2.12RC3.tar.bz2 (md5sum: 92ebb6af46e3c0f4d4708199575cba57) The windows binaries are available at: http://windows.php.net/qa/ This is a quick correction release,

[PHP-DEV] PHP 5.2.12RC3 Testing

2009-11-27 Thread Pierre Joye
On behalf of Ilia (so the subject typo won't hide the RC3 from testers): The second release candidate of 5.2.12 was just released for testing and can be downloaded here: http://downloads.php.net/ilia/php-5.2.12RC3.tar.bz2 (md5sum: 92ebb6af46e3c0f4d4708199575cba57) The windows binaries are

Re: [PHP-DEV] PHP 5.2.12RC3 Testing

2009-11-27 Thread Daniel Brown
On Fri, Nov 27, 2009 at 10:40, Pierre Joye pierre@gmail.com wrote: On behalf of Ilia (so the subject typo won't hide the RC3 from testers): The second release candidate of 5.2.12 was just released for testing and can be downloaded here: Just semantics, but wouldn't this then be the

Re: [PHP-DEV] PHP 5.2.12RC3 Testing

2009-11-27 Thread Ilia Alshanetsky
Yes, it would be ;-) On 2009-11-27, at 10:56 AM, Daniel Brown wrote: On Fri, Nov 27, 2009 at 10:40, Pierre Joye pierre@gmail.com wrote: On behalf of Ilia (so the subject typo won't hide the RC3 from testers): The second release candidate of 5.2.12 was just released for testing and can

[PHP-DEV] Using a stream function into another module

2009-11-27 Thread Samuel ROZE
Hello, I want to use two stream functions (stream_array_to_fd_set and stream_array_from_fd_set) in a module (/etc/modulename/modulename.c). To use them, i included the streamsfuncs.h file, with: #include ext/standard/streamsfuncs.h The problem is that when I want to compile, i've these errors: