Announcement

Collapse
No announcement yet.

Phoronix test suite gui on Fedora just a step away...

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

  • Phoronix test suite gui on Fedora just a step away...

    I managed to get all components needed for Phoronix test suite installed but still have one issue.


    # phoronix-test-suite gui
    shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
    pwd: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
    pwd: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
    /usr/bin/phoronix-test-suite: line 28: [: /usr/share/phoronix-test-suite: unary operator expected


    You need two packages that aren't in Fedora, php-gtk, but php-gtk also has it's dependency - pecl-cairo


    Here is how I got all components built.


    su -c "yum install php-cli php-devel make gcc gtk2-devel svn"

    svn co http://svn.php.net/repository/pecl/cairo/trunk pecl-cairo
    cd pecl-cairo/
    phpize
    ./configure
    make
    su -c "make install"

    cd ..

    svn co http://svn.php.net/repository/gtk/php-gtk/trunk php-gtk
    cd php-gtk
    ./buildconf
    ./configure
    make
    su -c "make install"

    cd ..

    wget http://www.phoronix-test-suite.com/d...st-suite-2.8.1
    tar xvzf phoronix-test-suite-2.8.1.tar.gz
    cd phoronix-test-suite
    su -c "./install-sh"

    So please take where I left to get Phoronix test suite running on Fedora.

  • #2
    I put an update on my blog with detailed explanation:
    http://kernelreloaded.blog385.com/in...t-a-step-away/

    Comment


    • #3
      F14 GUI working

      Finally got PTS GUI working.

      yum install phoronix-test-suite

      Create a new PHP ini file with cairo and php_gtk2 libraries

      su -c "vi /etc/php.d/gtk.ini"

      extension=cairo.so
      extension=php_gtk2.so

      Save and exit (:wq)

      Then install pecl-cairo

      svn co http://svn.php.net/repository/pecl/cairo/trunk pecl-cairo
      cd pecl-cairo/
      phpize
      ./configure
      make
      su -c "make install"

      As a normal user,

      phoronix-test-suite gui

      Comment


      • #4
        Forgot to add :-

        cd ..

        svn co http://svn.php.net/repository/gtk/php-gtk/trunk php-gtk
        cd php-gtk
        ./buildconf
        ./configure
        make
        su -c "make install"

        cd ..

        Comment

        Working...
        X