Hi kksou,
For the windows installation I followed exactly the instructions in
http://www.kksou.com/php-gtk2/blog/?p=63
what I get when running the application is a popup window telling me:
'The application has failed to start because gtkextra-win32-2.1.dll was not found'
I copied php_gtk_extra2.dll from the above site and added the corresponding entry php-cli.ini file.
For the linux system, I re-compiled php-gtk2. As some others have observed for ubuntu, the switch for configure is --with-extra; the same applies to SuSE Linux.
In the make of php-gtk2 in the section where gtk-extra is compiled, I get the following:
ALERT - script tried to increase memory_limit to 4294967295 bytes which is above the allowed value (attacker 'REMOTE_ADDR not set', file '/home/sutterp/Documents/php-gtk-2.0.1/generator/generator.php', line 35)
which probably causes the following behaviour in the application:
Although the application starts, when trying to re-size the window or clicking in the close down corner, the application crashes with
sutterp@basilisk:~> php /data/www/jjh/intranet/gtk2/Example/php/gtksheet.php
*** glibc detected *** php: double free or corruption (out): 0x0000000001b008f0 ***
Thanks for your help ant patience with me
Peter