Announcement

Collapse
No announcement yet.

Phoronix Test Suite 2 GUI

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

  • Phoronix Test Suite 2 GUI

    Why is the GUI based on PHP-GTK? It's really old now, not present in any repositories and won't even install from source on Ubuntu. I believe there are newer alternatives for a GUI - as Phoronix Test Suite is meant to be compatible with many different systems, this makes the GUI a lot less compatible...
    I'll just use the command line for now, but I really like GUIs more...

  • #2
    GreatEmerald,

    What other GUI toolkits do you know of that have bindings available for PHP? And in which their status is better than that of PHP GTK? The PHP Qt project, for instance, is even in worse shape than PHP GTK. Hopefully PHP GTK will end up finding its way into an Ubuntu repository... There are a few Debian packages for it floating around.
    Michael Larabel
    https://www.michaellarabel.com/

    Comment


    • #3
      Yea, I was thinking about Qt... Why is it worse? And why does the GUI need PHP bindings anyway?

      Comment


      • #4
        The Phoronix Test Suite engine (pts-core) is written in PHP5...

        PHP Qt is not even maintained and I am not sure if there is even Qt4 support in it. http://www.php-qt.org/
        Michael Larabel
        https://www.michaellarabel.com/

        Comment


        • #5
          Why was it written in PHP in the first place anyway? As far as I know, PHP is used for internet pages, not programs...

          And yes, you're right, I can't install Qt as well... Though 2/5 steps worked...

          Comment


          • #6
            Originally posted by GreatEmerald View Post
            Why was it written in PHP in the first place anyway? As far as I know, PHP is used for internet pages, not programs...
            PHP5 CLI actually works quite well on the desktop, albeit it's not used nearly as much as Python or PERL by open-source desktop developers. I've discussed it many times over a year ago why PTS is written in PHP, but basically because 1. parts of the internal test suite prior to PTS were already written in PHP 2. so I could easily reuse much of the same code for Phoronix Global and other web components 3. it's very portable 4. I had already written image rendering libraries, XML parser, etc in PHP that ended up being used for PTS.
            Michael Larabel
            https://www.michaellarabel.com/

            Comment


            • #7
              Hmm... Ah well, guess we can live without a GUI until someone makes a PHP-GTK2 .deb for Ubuntu Jaunty.

              Comment


              • #8
                If you're using x86_64: http://phoronix-test-suite.com/misc/....1-0_amd64.deb

                There is also a i386 one on some Debian mentor page. Though note after installing the package you will need to add extension=php_gtk2.so to your php.ini file.
                Michael Larabel
                https://www.michaellarabel.com/

                Comment


                • #9
                  I'm using i386, and can't find it... And where's the php.ini file?

                  Comment


                  • #10
                    Check post #6:



                    The file is in /etc/php5/cli/php.ini. Just append extension=php_gtk2.so to the end of the file.

                    Comment

                    Working...
                    X