Announcement

Collapse
No announcement yet.

Phoronix Test Suite 1.8 Released

Collapse
X
  • Filter
  • Time
  • Show
Clear All
new posts

  • #11
    Originally posted by WSmart View Post
    I get the same error in Ubuntu, 8.10, pre-release updates installed:

    desktop:~$ phoronix-test-suite gui



    Fatal error: Class 'GtkWindow' not found in /usr/share/phoronix-test-suite/pts-core/objects/gtk/pts_gtk_window.php on line 23


    I don't see a PHP-GTK, searching Synaptic. I do have all the recommended requirements installed, as listed with Synaptic.

    Be real, be sober.

    I don't think Ubuntu has the package available.

    Comment


    • #12
      Yeah. I looked at this before. I get a lot of errors when I try to ./buildconf the PHP-GTK. Apparently there's something with libtools or whatever being split up. I found a post. It's not for PHP-GTK, but it looks like the same issue.

      https://bugs.launchpad.net/ubuntu/+s...p5/+bug/262251

      ?It seems that libtool.m4 from the old libtool version was split into several files: libtool.m4 lt~obsolete.m4 ltoptions.m4 ltsugar.m4 ltversion.m4
      I think it also works if you temporarily cat lt~obsolete.m4 ltoptions.m4 ltsugar.m4 ltversion.m4 into libtool.m4?

      Thanks.

      Comment


      • #13
        A 64-bit PHP5-GTK package for Ubuntu/Debian can be found @ http://www.phoronix-test-suite.com/m....1-0_amd64.deb
        Michael Larabel
        http://www.michaellarabel.com/

        Comment


        • #14
          Hmm, php-gtk worked for me with 1.80b1, but now it is giving me the same "php-gtk module must be loaded" error. I will look into it some more and see if there's something I need to change for 1.80

          Comment


          • #15
            I installed the php package but I keep getting the "must be loaded" bit as well:

            Code:
            The PHP GTK module must be loaded for the GUI.
            This module can be found @ http://gtk.php.net/

            Comment


            • #16
              Oops, forgot to make one minor note:

              In the /etc/php5/cli/conf.d folder (or something similar) create a gtk2.ini file and just do:

              extension=php_gtk2.so

              or just append that line to your php.ini file.
              Michael Larabel
              http://www.michaellarabel.com/

              Comment


              • #17
                Ok, I figured out what was wrong for me.

                In /etc/php/php.ini, the php_gtk2 module was not loaded. I thought I loaded before - maybe I was dreaming or uninstalling PTS 1.8b1 removed it.

                Anyways, to fix this I located the extensions part of /etc/php/php.ini (also sometimes /etc/php5/php.ini, the important thing is to find php.ini in /etc/) and added the php_gtk2 module.

                Code:
                ; available extensions
                ;
                ;
                ;
                ;
                ;extension=pdo_sqlite.so
                ;extension=pgsql.so
                extension=php_gtk2.so
                extension=posix.so
                ;extension=pspell.so
                extension=session.so
                ;extension=shmop.so
                ;extension=snmp.so
                ;
                ;
                Note: There are more extensions, I just copied a small section of the list since it is fairly long.

                Edit: Looks like Michael beat me to it. Anyways, I forgot to add that no restart is needed. Just append the file, save, and execute phoronix-test-suite gui.

                Comment


                • #18
                  Works now. Looks really nice.

                  Comment


                  • #19
                    There's a patch for the PHP-GTK, and also the edit Mike mentions above. Check out this post on the Ubuntu forum.

                    http://ubuntuforums.org/showthread.p...hlight=php-gtk

                    "Just spent a good chunk of my friday night (good thing I'm sick and have nothing better to do) installing the newest version of the Phoronix Test Suite." Go go, go Budluva04 go!

                    Thanks all.

                    Comment


                    • #20
                      It seems to have got some problems with Debian 4.0 - especially with the res detection, that worked with older releases.

                      Comment

                      Working...
                      X