Re: Class 'GladeXML' not found
| From: | Steph Fox | Date: | Mon, 24 Jul 2006 08:03:08 +0000 |
| Subject: | Re: Class 'GladeXML' not found | ||
| References: | 1 2 3 4 | Groups: | php.gtk.general |
| Request: | Send a blank email to php-gtk-general+get-7055@lists.php.net to get a copy of this message | ||
Moving this to the php-gtk-general list where it belongs....
You need to have Glade installed for it to build, but I'd guess you have that given that you were even trying to test it. So long as configure can find libglade version 2.0 or greater, PHP-GTK 2's glade support should be built automatically under *nix. (You need to actively disable it if you don't want it.)
Possibly the .so name doesn't have a 2 in it under *nix...? it does under doze, to prevent anyone confusing it with the PHP-GTK 1 version.
- Steph
Thanks for your reply, I changed my php.ini and ran the app. Now it says that php_gtk_libglade2.so does not exists . How to get this extension? Or how to buid php-gtk2 with the libglade? a use the alpha release of php-gtk2 On 7/24/06, Steph Fox <steph@zend.com> wrote:Hi, I'd guess you have a shared extension build there, in which case you need to load it via your php.ini: php-gtk.extensions = php_gtk_libglade2.so - either that or you didn't build it? - StephI run umbuto linux dist. since yesterday . the whole installation of php-gtk2 and php5 took me a day and everything works fine now, except that i get an error " "class GladeXml can not be found". this is my test file <?php //Create a new glade instance, load the // widgets from the file passed as parameter $glade = new GladeXML('helloglade.glade'); //Start the main loop Gtk::main(); ?> who can help ??? -- View this message in context:http://www.nabble.com/Class-%27GladeXML%27-not-found-tf1104480.html#a5459774Sent from the Php - GTK - Dev forum at Nabble.com. __________ NOD32 1.1380 (20060125) Information __________ This message was checked by NOD32 antivirus system. http://www.eset.com-- Groet, Jacco Stokx T: 0113 383048 M: 06 51201035 E: jaccos@gmail.com W: http://www.nowmissmidler.nl