Re: Missing Header: gen_libglade.h
| From: | Steph | Date: | Mon, 10 Oct 2005 08:55:50 +0000 |
| Subject: | Re: Missing Header: gen_libglade.h | ||
| References: | 1 2 3 | Groups: | php.gtk.dev |
| Request: | Send a blank email to php-gtk-dev+get-1768@lists.php.net to get a copy of this message | ||
php -r "print_r(get_declared_classes());"
// end of great big array
[282] => AtkRelationSet
[283] => AtkStateSet
[284] => AtkUtil
[285] => Pango
[286] => PangoContext
[287] => PangoFont
[288] => PangoFontFace
[289] => PangoFontFamily
[290] => PangoFontMap
[291] => PangoFontset
[292] => PangoFontsetSimple
[293] => PangoLayout
[294] => PangoAttrList
[295] => PangoColor
[296] => PangoFontDescription
[297] => PangoFontMetrics
[298] => PangoGlyphString
[299] => PangoLanguage
[300] => PangoLayoutIter
[301] => PangoTabArray
[302] => Glade
[303] => GladeXML
)
You need ATK 1.9.0 for latest libglade to work, earlier versions don't
contain a particular RelationSet method.
C:\php5>php -r "print_r(get_class_methods('Glade'));"
Array
(
[0] => get_widget_name
[1] => get_widget_tree
)
C:\php5>php -r "print_r(get_class_methods('GladeXML'));"
Array
(
[0] => __construct
[1] => construct
[2] => get_widget
[3] => relative_file
[4] => signal_autoconnect
[5] => __tostring
[6] => connect
[7] => connect_after
[8] => connect_object
[9] => connect_object_after
[10] => get_property
[11] => set_property
[12] => get_data
[13] => set_data
[14] => block
[15] => unblock
[16] => disconnect
[17] => is_connected
[18] => signal_list_ids
[19] => signal_list_names
[20] => signal_query
)
- this is correct, GladeXML inherits from GObject.
I haven't written any overrides for it yet, and although Josh sent me a
basic Glade test file I haven't had time yet to set up Glade and try it.
It'll probably be next weekend before I get the chance to do that now.
That aside, it sounds like there's something wrong with the *nix build, and
I'm not in a position to do anything about that apart from wild guessing.
You are :)
- Steph
----- Original Message -----
From: "Jeremy Johnstone" <phpdev@gmail.com>
To: "Steph" <steph@zend.com>
Cc: "PHP-GTK Dev" <php-gtk-dev@lists.php.net>
Sent: Monday, October 10, 2005 7:02 AM
Subject: Re: [PHP-GTK-DEV] Missing Header: gen_libglade.h
Welp, with the changes Andrei made yesterday, it compiles now. After a
long strenuous process I now have Glade going too on OSX. Now the
problem is that although the extension compiles and loads with
libGlade as well as strings finds GladeXML as a string in the binary,
get_declared_classes() doesn't list anything related to Glade and I
can't instantiate anything related to it. Anyone else got it running
at all other than the above?
-Jeremy
On 10/9/05, Steph <steph@zend.com> wrote:
> It compiles and loads under win32. I don't know enough about *nix-like
> systems to go into the build system there in any depth, but I _think_
Andrei
> made it 'just build' by default?
>
> ----- Original Message -----
> From: "Jeremy Johnstone" <phpdev@gmail.com>
> To: "PHP-GTK Dev" <php-gtk-dev@lists.php.net>
> Sent: Sunday, October 09, 2005 5:21 AM
> Subject: [PHP-GTK-DEV] Missing Header: gen_libglade.h
>
>
> In file included from
> /Users/jsjohnst/CVS/php-gtk/./ext/libglade/php_libglade.c:23:
> /Users/jsjohnst/CVS/php-gtk/./ext/libglade/php_libglade.h:31:26:
> error: gen_libglade.h: No such file or directory
> make: *** [ext/libglade/php_libglade.lo] Error 1
>
>
> From the looks of the file name, I would assume this is a generated
> file. Adding --disable-libglade to the ./configure line of course gets
> me past that error, but I was hoping from the conversations of late on
> libglade2 here on the list that it might compile atleast (just not
> work fully). Was that assumption wrong?
>
> -Jeremy
>
> --
> ---------------------------
> Jeremy Johnstone
> http://www.jeremyjohnstone.com
> jsjohnst@php.net
>
> --
> PHP-GTK Development Mailing List (http://gtk.php.net/)
> To unsubscribe, visit: http://www.php.net/unsub.php
>
>
--
---------------------------
Jeremy Johnstone
http://www.jeremyjohnstone.com
jsjohnst@php.net