Find the answer to your Linux question:
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 ...
  1. #1
    Just Joined! mtavares's Avatar
    Join Date
    Mar 2008
    Posts
    2

    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...

  2. #2
    Linux Newbie raghaven.kumar's Avatar
    Join Date
    Mar 2008
    Location
    Bangalore, India
    Posts
    209
    check this link

    it may help youRE: gen_gtk.h missing!: msg#00003

  3. #3
    Just Joined! mtavares's Avatar
    Join Date
    Mar 2008
    Posts
    2

    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

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
...