Re: installing php-gtk.0.5.1 on RedHat7.3

From: Date: Sun, 01 Sep 2002 16:16:26 +0000
Subject: Re: installing php-gtk.0.5.1 on RedHat7.3
References: 1 2 3  Groups: php.gtk.general 
Request: Send a blank email to php-gtk-general+get-2386@lists.php.net to get a copy of this message
can you make sure you delete the cache file.. ext/gtk+/*.cache then give it another go. regards Alan Eric Miller wrote:
Here's what I get from this command php -q -e generator/generator.php -o ext/gtk%2b/gtk.overrides -p Gtk -r ext/gtk%2b/gdk.defs ext/gtk%2b/gtk.defs <br> <b>Warning</b>: Invalid argument supplied for foreach() in <b>/home/eric/php-gtk/php-gtk-0.5.1/generator/generator.php</b> on line <b>68</b><br> <br> <b>Warning</b>: Invalid argument supplied for foreach() in <b>/home/eric/php-gtk/php-gtk-0.5.1/generator/generator.php</b> on line <b>71</b><br> <br> <b>Warning</b>: Invalid argument supplied for foreach() in <b>/home/eric/php-gtk/php-gtk-0.5.1/generator/generator.php</b> on line <b>82</b><br> <br> <b>Warning</b>: Invalid argument supplied for foreach() in <b>/home/eric/php-gtk/php-gtk-0.5.1/generator/generator.php</b> on line <b>94</b><br> <br> <b>Warning</b>: Invalid argument supplied for foreach() in <b>/home/eric/php-gtk/php-gtk-0.5.1/generator/generator.php</b> on line <b>664</b><br> <br> <b>Warning</b>: Invalid argument supplied for foreach() in <b>/home/eric/php-gtk/php-gtk-0.5.1/generator/generator.php</b> on line <b>666</b><br> <br> <b>Warning</b>: Invalid argument supplied for foreach() in <b>/home/eric/php-gtk/php-gtk-0.5.1/generator/generator.php</b> on line <b>614</b><br> <br> <b>Warning</b>: Invalid argument supplied for foreach() in <b>/home/eric/php-gtk/php-gtk-0.5.1/generator/generator.php</b> on line <b>385</b><br> <br> <b>Warning</b>: Invalid argument supplied for foreach() in <b>/home/eric/php-gtk/php-gtk-0.5.1/generator/generator.php</b> on line <b>471</b><br> #include "php_gtk.h" #if HAVE_PHP_GTK #include "ext/standard/file.h" void php_gtk_register_constants(int module_number TSRMLS_DC) { } void php_gtk_register_classes(void) { zend_class_entry ce; TSRMLS_FETCH(); } #endif /* HAVE_PHP_GTK */ On Fri, 2002-08-30 at 23:13, Alan Knowles wrote:
I've heard a few stories of problems with Redhat - although alot of these used to be 'autoconf versions etc.' Eric Miller wrote:
I've tried to compile the latest stable and cvs versions and get an error.From what I can tell, it must be a failure to generate source files.gen_gtk.c is zero length.
     
The manual lists a few reasons this may happen. including, memory settings, etc. to debug it manually find the php command used to generate the c files (you will see it when you make - assuming you remove the old gen_* files), then see what is happening. when you output to stdout, rather than to a file.
I've searched and found two other people who have posted the same problem, neither have received an answer (at least one to be found on the net). I've tried #php-gtk several times, nobody is ever there.
     
try #php as well - #php-gtk is really dependant on catching the right timezone eg. I'm probably asleep :)
Any suggestions? PHP-GTK looks like it might be a great cross platform solution if I can get it to work. Here's the error... 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] Error 1 make[2]: *** [all-recursive] Error 1 make[1]: *** [all-recursive] Error 1 make: *** [all-recursive] Error 1
     
-- PHP-GTK General Mailing List (http://gtk.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php


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