Jimmy it is available for suse (and yes it runs in suse fine). You need to add the PHP Extensions repository from the build service. (Add one of the following URL's into Yasts Repository.
http://download.opensuse.org/reposit...openSUSE_11.0/ <---- for 11.0
http://download.opensuse.org/reposit...openSUSE_11.1/ <---- for 11.1
The package that you are looking for is called php5-gtk.........rpm
I also have this issue on Source Mage GNU/Linux with PHP-GTK 2.0.1. I know PHP-GTK has GtkWindow support:
$ nm $(php-config --extension-dir)/php_gtk2.so |grep GtkWindow|wc -l
125
I even tried with php_gtk2.so (the only file php-gtk installs) in /usr/lib, with no success.
This gets me further:
but now I get:
So PHP doesn't seem sure it's extension are where `php-config --extension-dir` says it is? Apparently not, by modifying my /etc/php.ini to have extension_dir set to the value returned by $(php-config --extension-dir) then `phoronix-test-suite gui` now loads.PHP Warning: PHP Startup: Unable to load dynamic library './php_gtk2.so' - ./php_gtk2.so: cannot open shared object file: No such file or directory in Unknown on line 0
Fatal error: Class 'GtkWindow' not found in /usr/share/phoronix-test-suite/pts-core/objects/gtk/pts_gtk_window.php on line 23
Looking at my /etc/php.ini (default install from PHP with the Phoronix upload requirements changed) I see:
but this then breaks PHP (e.g. trying to recompile php-gtk gives this):; Directory in which the loadable extensions (modules) reside.
extension_dir = "./"
If I set my extension_dir back to "./" my PHP apps can now find PHP CLI when compiling, but `phoronix-test-suite gui` can no longer find './php_gtk2.so'.checking for gawk... gawk
checking for PHP-GTK support... yes, shared
checking for PHP executable in /usr/bin... found version 5.2.9
configure: error: PHP CLI version is required, found
! Problem Detected !
Last edited by sandalle; 04-27-2009 at 05:25 AM.
Got this for PTS 2.0.0 on Ubuntu 9.04 Desktop updated until today. Anyone with the same issue?Fatal error: Class 'GtkWindow' not found in /usr/share/phoronix-test-suite/pts-core/objects/gtk/pts_gtk_window.php on line 23
I installed it clicking
http://www.phoronix-test-suite.com/r..._2.0.0_all.deb
and following the wizard. All the process went fine apparently.
Thank you.
nop.
should I download
http://gtk.php.net/do_download.php?d...k-2.0.1.tar.gz
compile and install?
does it exist another dumber way to install php-gtk on ubuntu?
thanks!
edit: I tried but I can't
http://forum.codecall.net/tutorials/...tml#post189668
make: *** No targets specified and no makefile found. Stop.
http://ubuntuforums.org/showthread.p...01#post7732301
Fatal error, aborting.
cvsread: no such user
Last edited by another_sam; 08-04-2009 at 11:32 AM.