Re: [PHP-GTK] Problem with make php-gtk-2.0.1 cuz of gen_atk.lo

[email protected] (Elizabeth M Smith) Mon, 14 Dec 2009 16:48:53 -0500
Newsgroups php.gtk.general
Message-ID <[email protected]>
Richard Lynch wrote:
> A recent change in the guts of PHP declares some extension bits
> "static" so they don't glut the global symbol space with functions
> that are never called.
> 
> Alas, this means that any extensions, presumably including GTK, that
> already put "static" in there for the same purpose will break.
> 
> Quick Hack Fix:
> cd into your PHP source directory, and then find the GTK extension,
> probably in ext/gtk* or similar.  Do:
> 
> grep -r static .
> 
> Anywhere in the bits that declare PHP functions or ZEND functions,
> find the 'static' keywords and rip them out.
> 
> Disclaimer: I'm not an expert by any means...
> 

You are correct - the 2.0.1 version of PHP-GTK is not compatible with 
PHP 5.3 in other ways as well as the static issue though.  If you want 
to use PHP-GTK with 5.3, compile an SVN trunk version - that works fine 
with 5.3 ;)

Thanks,
Elizabeth