Re: libglade does not work fine
| From: | Andrei Zmievski | Date: | Wed, 14 Mar 2001 21:22:42 +0000 |
| Subject: | Re: libglade does not work fine | ||
| References: | 1 2 3 | Groups: | php.gtk |
| Request: | Send a blank email to php-gtk+get-886@lists.php.net to get a copy of this message | ||
On Wed, 14 Mar 2001, Jan Lehnardt wrote:
> Hi again,
> my 'new' (thanks andrei =) script gives me a:
> <br> <b>Fatal error</b>: Cannot instantiate non-existent class:
> gladexml in <b>glade.php</b> on line <b>3</b><br>
>
>
> <?php
> dl('php_gtk.so');
> $foo = &new GladeXML('glade.xml');
> /* Run the main loop. */
> Gtk::main();
> ?>
>
> I am (still) running lastest php (from snaps.php.net) and lastest cvs
> from php-gtk. libglade 0.16 and gtk 1.2.8 on FreeBSD 4.2-stable.
>
> my ./configure line for php-gtk was '--enable-php-gtk=shared
> --with-libglade-config=/usr/local/bin/libglade-config.
>
> ./configure seemed to work fine (no errors in config.log)
>
> New ideas?
Please, run 'make cvsclean; phpize' and the configure again. Then look
in src/php_gtk_ge_ce.h and see if glade_xml_ce is there.
-Andrei
We all have photographic memories, it's just
that some of us don't have any film.