Re: [PHP-GTK-DEV] [Patch] Compile php-gtk against PHP 5.3.6
[email protected] (Elizabeth M Smith) Sun, 20 Mar 2011 18:38:06 -0400
| Newsgroups | php.gtk.dev |
|---|---|
| Message-ID | <[email protected]> |
On 3/20/2011 5:32 PM, Maik Greubel wrote: > Hello folks, > > the PHP people decided to change the define for ZEND_BEGIN_ARG_INFO > and the *EX-friend to be static. This is the cause, why php-gtk will > no longer compile against that version. > > Here is the patch to correct the behaviour in the generators and > overrides. I decided to write a generic 5.3 patch which includes the > patch by Fedora at FamilleCollet dot com: > > http://osdir.com/ml/php.gtk+.devel/2008-08/msg00006.html > > The main/phpg_gobject.c seems to be not generated. Please correct me, > if I'm wrong. Please keep in mind to remove > ext/scintilla/gen_scintilla.c before calling "make" to ensure it is > re-generated. There are some issues in the sci_generator.php left, > some warnings and a vardump/print_r. I don't know, what is expected > there. > > Cheers > > Maik If you look at the source code, this has already been fixed for php-gtk in TRUNK This will not be fixed for the 2.0.1 release There are additional 5.3 fixes as well - the 2.0.1 version cannot be used with PHP 5.3, if you want to use php 5.3 with php-gtk compile from SVN http://svn.php.net/repository/gtk/php-gtk/trunk/ Thanks, Elizabeth M Smith