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
$ nm $(php-config --extension-dir)/php_gtk2.so |grep GtkWindow|wc -l
I even tried with php_gtk2.so (the only file php-gtk installs) in /usr/lib, with no success.
This gets me further:
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 07: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
and following the wizard. All the process went fine apparently.
should I download
compile and install?
does it exist another dumber way to install php-gtk on ubuntu?
edit: I tried but I can't
make: *** No targets specified and no makefile found. Stop.
Fatal error, aborting.
cvsread: no such user
Last edited by another_sam; 08-04-2009 at 01:32 PM.