Re: R: [PHP-GTK] X.org and php-gtk??
| From: | Steph | Date: | Mon, 04 Apr 2005 19:22:20 +0000 |
| Subject: | Re: R: [PHP-GTK] X.org and php-gtk?? | ||
| References: | 1 2 3 4 5 6 | Groups: | php.gtk.general |
| Request: | Send a blank email to php-gtk-general+get-5732@lists.php.net to get a copy of this message | ||
It shouldn't really be compiling with an undefined symbol, or is it just
win32 that's so fussy about these things?
That shpaned_new thing needs fixing... I don't have the means to send a
patch in at present, but I remember it being trivial to fix (anyone got the
parts handy?) Fixing it allows trouble-free win32 builds.
The real mystery here is why the dynamic library won't load. You'd usually
get that error if you had the wrong PHP lib on board (ie you built PHP-GTK
against one version of PHP and then used another to call dl('php-gtk.so')).
After all, if it built we can assume this isn't a fussy compiler, right?
gladexml is a libglade object and needs the PHP-GTK libglade extension... if
you don't have PHP-GTK loaded there's no way you could have gladexml
instantiating anyway.
----- Original Message -----
From: "John Wheez" <john@atomfx.com>
To: "Php-Gtk-General" <php-gtk-general@lists.php.net>
Cc: "Steph" <steph@zend.com>
Sent: Monday, April 04, 2005 8:05 PM
Subject: Re: [PHP-GTK] R: [PHP-GTK] X.org and php-gtk??
>
>
> Hi Steph,
>
> I followed the instructions from the www site. I belive it is
> php-gtk1..and that is what my application requires.
>
> Here is what i did
>
>
> *
>
> cvs -d :pserver:cvsread@cvs.php.net:/repository login
>
>
> *
>
> cvs -d :pserver:cvsread@cvs.php.net:/repository co -r PHP_GTK_1 php-gtk
>
>
> *
>
>
> * Configure and install:
>
> ./buildconf
> ./configure
> make
> make install
>
>
> ===========================================================
>
>
>
> Steph wrote:
>
> >*which* CVS source?
> >
> >HEAD is PHP-GTK 2...
> >
> >----- Original Message -----
> >From: "John Wheez" <john@atomfx.com>
> >To: "Php-Gtk-General" <php-gtk-general@lists.php.net>
> >Cc: "Steph" <steph@zend.com>; <dimitri@cdinformatica.it>
> >Sent: Monday, April 04, 2005 6:32 PM
> >Subject: Re: [PHP-GTK] R: [PHP-GTK] X.org and php-gtk??
> >
> >
> >
> >
> >>Hi Steph,
> >>
> >>I'm compiling php-gtk from the CVS source
> >>I added a few more libraries and now Gtk is found by ./configure.
> >>I get no major errors and php-gtk.so compiles
> >>But, i still can not run php-gtk apps on Fedora Core 3
> >>The php_gtk.so file is located in /usr/lib/php4
> >>Where does gladexml come from????
> >>
> >>ERROR MESSAGE::
> >>php warning: dl() : unable to load dynamic library
> >>'/usr/lib/php4/php_gtk.so'
> >>/usr/lib/php4/php_gtk.so: undefined symbol: gtk_shpaned_new
> >>PHP Fatal error: cannot instantiate non-existent class: gladexml
> >>
> >>
> >>Thanks, JW
> >>
> >>
>
>