Re: Make stucked on gen_gtk.c = 1 error , help please

From: Date: Wed, 06 Feb 2002 17:28:42 +0000
Subject: Re: Make stucked on gen_gtk.c = 1 error , help please
References: 1 2 3 4 5  Groups: php.gtk.general 
Request: Send a blank email to php-gtk-general+get-1158@lists.php.net to get a copy of this message
Hmm, it's failing much ealier, like it wasn't able to parse defs files at all. Can you run generator by hand and see what the output is: php -q generator/generator.php -o ext/gtk%2b/gtk.overrides -p Gtk -r ext/gtk%2b/gdk.defs ext/gtk%2b/gtk.defs On Wed, 06 Feb 2002, Marcel Bariou wrote: > Yes here is the output of gen_gtk.c, it is an error message from > generator.php > > It's an error on foreach which are waiting an array on lines: > > 68, 71, 82, 94, 664, 666, 614, 385, 471 > > So, to test that , I've added for each "foreach" a test : > [ is_array($values) ] > > and the make goes ahead but generate other errors I give you the result of > this new error here : > > gcc -I. -I/usr/local/xtra_targz/php-gtk/ext/combobutton -I/usr/local/xtra_ta > rgz/php-gtk/main -I/usr/local/xtra_targz/php-gtk -I/usr/local/include/php -I > /usr/local/include/php/main -I/usr/local/include/php/Zend -I/usr/local/inclu > de/php/TSRM -I/usr/include/gtk-1.2 -I/usr/include/glib-1.2 -I/usr/lib/glib/i > nclude -I/usr/X11R6/include -I/usr/include/gnome-xml -I/usr/local/xtra_targz > /php-gtk/main -DHAVE_CONFIG_H -g -O2 -c gen_combobutton.c -fPIC -DPIC -o > gen_combobutton.lo > gen_combobutton.c: In function `zif_gtk_combobutton_new': > gen_combobutton.c:33: `gtk_menu_ce' undeclared (first use in this function) > gen_combobutton.c:33: (Each undeclared identifier is reported only once > gen_combobutton.c:33: for each function it appears in.) > gen_combobutton.c: In function `php_combobutton_register_classes': > gen_combobutton.c:89: `gtk_button_ce' undeclared (first use in this > function) > make[3]: *** [gen_combobutton.lo] Erreur 1 > make[3]: Quitte le répertoire > `/usr/local/xtra_targz/php-gtk/ext/combobutton' > make[2]: *** [all-recursive] Erreur 1 > make[2]: Quitte le répertoire > `/usr/local/xtra_targz/php-gtk/ext/combobutton' > make[1]: *** [all-recursive] Erreur 1 > make[1]: Quitte le répertoire `/usr/local/xtra_targz/php-gtk/ext' > make: *** [all-recursive] Erreur 1 > > What about ? > > Thanks for your help > > Marcel > > > > > ----- Original Message ----- > From: Andrei Zmievski <andrei@ispi.net> > To: Marcel Bariou <bariou@brasnah.com> > Cc: Steph <Steph.Fox@btinternet.com>; <php-gtk-general@lists.php.net> > Sent: Wednesday, February 06, 2002 5:04 PM > Subject: Re: [PHP-GTK] Make stucked on gen_gtk.c = 1 error , help please > > > > On Wed, 06 Feb 2002, Marcel Bariou wrote: > > > Hi Steph > > > > > > I read and follow the upgrade from your Unix page. I'm now working with > the > > > PHP-4.2.0-dev release . > > > > > > I remove the gen_* files they are regenerated when I restart the make. > > > I place the ini_set() in scheme.php and generator.php > > > > > > No change, unhappily I've always the same error , and the make fails > again > > > when I restart it... > > > > > > I think I'm wrong somewhere, I follow exactly all the team > recommnedation > > > but ... :-( > > > > > > An idea ? I'm trying since a day but failure only ... All the story here > > > after, from the beginning of the crash: > > > > can you list the first few lines of gen_gtk.c? > > > > -Andrei > > > > Windows 2000 is certified not to crash more than > > once a day, so what is the bootup time, 24 hours? > > -- Sam Liddicott > > -Andrei * All of the above is my opinion, unless specified otherwise. *

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