ZE2 Port bugs
| From: | Alan Knowles | Date: | Wed, 07 May 2003 16:10:58 +0000 |
| Subject: | ZE2 Port bugs | ||
| Groups: | php.gtk.dev | ||
| Request: | Send a blank email to php-gtk-dev+get-469@lists.php.net to get a copy of this message | ||
Just to write up what I've found so far.
(fixed the $_SERVER issue on generator)
My Makefile is getting created with $(LIBTOOL) --mode=link $(CC) $(COMMON_FLAGS) $(CFLAGS_CLEAN) $(EXTRA_CFLAGS) $(LDFLAGS) -o $@ -export-dynamic -avoid-version -prefer-pic -module -rpath $(phplibdir) $(EXTRA_LDFLAGS) $(shared_objects_php_gtk) $(PHPGTK_SHARED_LIBADD)rather than $(LIBTOOL) --mode=link $(CC) $(COMMON_FLAGS) $(CFLAGS_CLEAN) $(EXTRA_CFLAGS) $(LDFLAGS) -o $@ -export-dynamic -avoid-version -prefer-pic -module -rpath $(phplibdir) $(EXTRA_LDFLAGS) $(shared_objects_php_gtk) $(PHP_GTK_SHARED_LIBADD) .. at present I'm just hacking the Makefile after configure. Glade and dereferencing is having trouble <?php define(APPDIR,'/home/alan/Projects/phpmole/'); if (!extension_loaded('gtk')) { dl( 'php_gtk.' . PHP_SHLIB_SUFFIX); } class test { var $glade; function run() { $this->glade = new GladeXML(dirname(__FILE__).'/test.glade'); $this->bind_auto_text(); $this->bind_auto_text(); } function bind_auto_text() { /* This call causes <b>Fatal error</b>: Trying to add reference to invalid object in <b>/mnt/alansdisk/src/php/php-gtk2/php-gtk/test/glade.php</b> on line <b>15</b><br /> on the SECOND call.. */
$base = $this->glade->get_widget("entry1");
}
}
$t = new test();
$t->run();
?>
Regards
Alan