Re: Problem with make php-gtk-2.0.1 cuz of gen_atk.lo

From: Date: Mon, 14 Dec 2009 21:48:53 +0000
Subject: Re: Problem with make php-gtk-2.0.1 cuz of gen_atk.lo
References: 1 2  Groups: php.gtk.general 
Request: Send a blank email to php-gtk-general+get-8454@lists.php.net to get a copy of this message
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

« previous php.gtk.general (#8454) next »