Page 1 of 2 12 LastLast
Results 1 to 10 of 17

Thread: Phoronix Test Suite 2 GUI

  1. #1
    Join Date
    Sep 2008
    Location
    Vilnius, Lithuania
    Posts
    2,394

    Default 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. #2

    Default

    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.

  3. #3
    Join Date
    Sep 2008
    Location
    Vilnius, Lithuania
    Posts
    2,394

    Default

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

  4. #4

    Default

    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/

  5. #5
    Join Date
    Sep 2008
    Location
    Vilnius, Lithuania
    Posts
    2,394

    Default

    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...

  6. #6

    Default

    Quote 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.

  7. #7
    Join Date
    Sep 2008
    Location
    Vilnius, Lithuania
    Posts
    2,394

    Default

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

  8. #8

    Default

    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.

  9. #9
    Join Date
    Sep 2008
    Location
    Vilnius, Lithuania
    Posts
    2,394

    Default

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

  10. #10
    Join Date
    Dec 2007
    Location
    Merida
    Posts
    1,098

    Default

    Check post #6:

    http://ubuntuforums.org/showthread.php?t=1108731

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

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •