Results 1 to 3 of 3
i get php-gtk2 and i try compile that... but i had the follow error:
In file included from ext/gtk+/gen_gtk.c:4:
/home/siac/Desktop/php-gtk-2.0.0/php-gtk-2.0.0/main/php_gtk_api.h:1:30: error: ext/gtk+/gen_gtk.h: No such file or directory
ext/gtk+/gen_gtk.c:3:1: error: unterminated ...
- 03-28-2008 #1
PHP-GTK2 compiling and installation
i get php-gtk2 and i try compile that... but i had the follow error:
In file included from ext/gtk+/gen_gtk.c:4:
/home/siac/Desktop/php-gtk-2.0.0/php-gtk-2.0.0/main/php_gtk_api.h:1:30: error: ext/gtk+/gen_gtk.h: No such file or directory
ext/gtk+/gen_gtk.c:3:1: error: unterminated #if
when i find the line in the file "gen_gtk.c" i see that it do a include of file "gen_gtk.h"... so the file doesn exist. I need help... if someone could, i will be happy...
- 03-31-2008 #2
check this link
it may help youRE: gen_gtk.h missing!: msg#00003
- 03-31-2008 #3
what's this...
I had visit this but... i'm a newbie... so this command will do what??recompile PHP...?? or when it put (PHP) i've execute the PHP CLI??

you may have alot of trouble building php-gtk without this file
This is the makefile line that generates the gen_gtk.c
$(PHP) -q $(top_srcdir)/generator/generator.php -o
ext/gtk%2b/gtk.overrides -p Gtk -r $(top_srcdir)/ext/gtk%2b/gdk.defs
ext/gtk%2b/gtk.defs > gen_gtk.c


Reply With Quote