Announcement

Collapse
No announcement yet.

Bug: Strange effects with gui and specviewperf

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

  • Bug: Strange effects with gui and specviewperf

    Distribution: Fedora 10
    Test-Suite: PTS 1.8.0 from Fedora-Update repo

    After doing an install-all with lots of errors due to firewall restrictions I have tried to play around with the gui. What is strange:

    .phoronix-test-suite/installed-tests has
    - a "specviewperf9" directory that is empty
    - a "specviewperf10" directory that is not empty and contains Specviewperf 10

    When in GUI mode I just see "SPECViewPerf" in the list of installed tests and the details show this is about SPECViewPerf9. There is no entry for the existing specviewperf10.

    On the other hand I can easily use "phoronix-test-suite run specviewperf10" to run it from the CLI.

    Note: Looking at the 2 entries for specviewperf9 and 10 in list-tests I see that they have the same "descriptive name" SPECViewPerf. Maybe this is the cause of the confusion in the GUI.

    Regards
    Rainer
    Last edited by Rainer König; 04-21-2009, 08:05 AM.

  • #2
    I'll look into this issue soon as I get back. Thanks.
    Michael Larabel
    http://www.michaellarabel.com/

    Comment


    • #3
      Gui not install

      Hello,
      How did you do to install the gui module ?
      After the php-gtk install, i run PTS , and have this message :
      Code:
      PHP Fatal error:  Class 'GtkWindow' not found in /usr/share/phoronix-test-suite/pts-core/objects/gtk/pts_gtk_window.php on line 23

      php-gtk install message :

      Code:
      # make 
      /bin/sh /home/user/php-gtk-2.0.1/libtool --mode=install cp ./php_gtk2.la /home/user/php-gtk-2.0.1/modules
      cp ./.libs/php_gtk2.so /home/user/php-gtk-2.0.1/modules/php_gtk2.so
      cp ./.libs/php_gtk2.lai /home/user/php-gtk-2.0.1/modules/php_gtk2.la
      PATH="$PATH:/sbin" ldconfig -n /home/user/php-gtk-2.0.1/modules
      ----------------------------------------------------------------------
      Libraries have been installed in:
         /home/user/php-gtk-2.0.1/modules
      
      If you ever happen to want to link against installed libraries
      in a given directory, LIBDIR, you must either use libtool, and
      specify the full pathname of the library, or use the `-LLIBDIR'
      flag during linking and do at least one of the following:
         - add LIBDIR to the `LD_LIBRARY_PATH' environment variable
           during execution
         - add LIBDIR to the `LD_RUN_PATH' environment variable
           during linking
         - use the `-Wl,--rpath -Wl,LIBDIR' linker flag
         - have your system administrator add LIBDIR to `/etc/ld.so.conf'
      
      See any operating system documentation about shared libraries for
      more information, such as the ld(1) and ld.so(8) manual pages.
      ----------------------------------------------------------------------
      
      Build complete.
      Don't forget to run 'make test'.

      What's wrong ?

      Regards,
      Emerick
      --
      pts version : 1.8
      source : fedora repository and tarball
      distribution : fedora 10

      Comment


      • #4
        [QUOTE=emerick;72611]Hello,
        How did you do to install the gui module ?
        After the php-gtk install, i run PTS , and have this message :
        Code:
        PHP Fatal error:  Class 'GtkWindow' not found in /usr/share/phoronix-test-suite/pts-core/objects/gtk/pts_gtk_window.php on line 23
        Hi Emerick,

        stumbled into the same trap first. The trick is:

        - copy php_gtk2.so to /lib/php/modules/
        - Edit your /etc/php.ini file: There is a section "Dynamic extensions" and here you need the following line:

        Code:
        extension=php_gtk2.so
        With the library in place and its loading in the php.ini you can get the GUI work.

        HTH
        Rainer

        Comment


        • #5
          Thanks !!!

          Thanks for this magic trick.

          Merci !

          Comment

          Working...
          X