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

Thread: PTS not working in Ubuntu 9.04

  1. #1
    Join Date
    Apr 2008
    Posts
    67

    Exclamation PTS not working in Ubuntu 9.04

    Ok I installed PTS and Ubunty 9.04 just for some reviewing that you will know about later..

    I have tested PTS and still testing in Mandriva and its working like chram. However since 2.0 debuts with ubuntu notification support I thought of giving it a try..

    When I try to initiate PTS it didn't start and when I try to open GUI from CLI I get this error

    Code:
    shashwat@shashwat-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
    shashwat@shashwat-desktop:~$
    How can I fix it / I installed it using the deb provide at PTS download section..

    Regards

  2. #2

    Default

    Ubuntu doesn't have php5-gtk. If you're on x86_64 you can use: http://phoronix-test-suite.com/misc/....1-0_amd64.deb

  3. #3
    Join Date
    Apr 2008
    Posts
    67

    Default

    Sorry for the incomplete details. I am using 64bit Jaunty .

    I installed that deb but still its not loading

    Edit : Please help me . I really want to see that notification thng and cover it. Will get PTS Live in few days
    Last edited by Dark_Star; 09-27-2009 at 02:14 PM.

  4. #4

    Default

    Oh yeah, add: extension=php_gtk.so I believe is the line to /etc/php5/php.ini... Just search the forums and you will find the instructions a few times.

  5. #5
    Join Date
    Apr 2008
    Posts
    67

    Default

    Can't find it

  6. #6
    Join Date
    Apr 2008
    Posts
    67

    Default

    Bump.. Someone please help.

  7. #7
    Join Date
    Apr 2008
    Posts
    67

    Default

    . Someone please help.

  8. #8
    Join Date
    Jun 2008
    Posts
    36

    Default

    On debian it's here /etc/php5/cli/php.ini. If you can't find it post the output of

    find /etc -name php.ini

    here.

  9. #9
    Join Date
    Apr 2008
    Posts
    67

    Default

    shashwat@shashwat-desktop:~$ /etc -name php.ini
    bash: /etc: is a directory
    I have the file in the first command ! Now how do I fix it ?

  10. #10
    Join Date
    Jun 2008
    Posts
    36

    Default

    Quote Originally Posted by Dark_Star View Post
    I have the file in the first command ! Now how do I fix it ?
    He He the word "find" is part of the command!

    >find /etc -name php.ini

    But it seems the file is located at the same place as in debian here. Open the file with an editor and add the line michael mentioned. Or type
    Code:
    sudo echo -e "\nextension=php_gtk.so" >> /etc/php5/cli/php.ini

Posting Permissions

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