[prev in list] [next in list] [prev in thread] [next in thread]
List: php-gtk-dev
Subject: [PHP-GTK-DEV] ZE2 Port bugs
From: Alan Knowles <alan () akbkhome ! com>
Date: 2003-05-07 16:10:58
[Download RAW message or body]
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
--
PHP-GTK Development Mailing List (http://gtk.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic