Announcement

Collapse
No announcement yet.

Phoronix Test Suite 1.8 Released

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

  • #31
    Originally posted by Jimmy View Post
    I give up. php-gtk isn't available from my distribution and the source for it won't build.

    Has anyone successfully got it working on OpenSuse 11?
    Jimmy it is available for suse (and yes it runs in suse fine). You need to add the PHP Extensions repository from the build service. (Add one of the following URL's into Yasts Repository.

    http://download.opensuse.org/reposit...openSUSE_11.0/ <---- for 11.0

    http://download.opensuse.org/reposit...openSUSE_11.1/ <---- for 11.1

    The package that you are looking for is called php5-gtk.........rpm

    Comment


    • #32
      Originally posted by deanjo View Post
      Jimmy it is available for suse
      Mumble grumble grumble... I already looked there... or so I thought. Meh... wasn't the only thing I missed yesterday. Thanks deanjo.

      Comment


      • #33
        Originally posted by WSmart View Post
        I get the same error in Ubuntu, 8.10, pre-release updates installed:

        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

        I don't see a PHP-GTK, searching Synaptic. I do have all the recommended requirements installed, as listed with Synaptic.
        I also have this issue on Source Mage GNU/Linux with PHP-GTK 2.0.1. I know PHP-GTK has GtkWindow support:
        $ nm $(php-config --extension-dir)/php_gtk2.so |grep GtkWindow|wc -l
        125

        I even tried with php_gtk2.so (the only file php-gtk installs) in /usr/lib, with no success.

        This gets me further:
        Originally posted by Michael View Post
        Oops, forgot to make one minor note:

        In the /etc/php5/cli/conf.d folder (or something similar) create a gtk2.ini file and just do:

        extension=php_gtk2.so

        or just append that line to your php.ini file.
        but now I get:
        PHP Warning: PHP Startup: Unable to load dynamic library './php_gtk2.so' - ./php_gtk2.so: cannot open shared object file: No such file or directory in Unknown on line 0

        Fatal error: Class 'GtkWindow' not found in /usr/share/phoronix-test-suite/pts-core/objects/gtk/pts_gtk_window.php on line 23
        So PHP doesn't seem sure it's extension are where `php-config --extension-dir` says it is? Apparently not, by modifying my /etc/php.ini to have extension_dir set to the value returned by $(php-config --extension-dir) then `phoronix-test-suite gui` now loads.

        Looking at my /etc/php.ini (default install from PHP with the Phoronix upload requirements changed) I see:
        ; Directory in which the loadable extensions (modules) reside.
        extension_dir = "./"
        but this then breaks PHP (e.g. trying to recompile php-gtk gives this):
        checking for gawk... gawk
        checking for PHP-GTK support... yes, shared
        checking for PHP executable in /usr/bin... found version 5.2.9
        configure: error: PHP CLI version is required, found
        ! Problem Detected !
        If I set my extension_dir back to "./" my PHP apps can now find PHP CLI when compiling, but `phoronix-test-suite gui` can no longer find './php_gtk2.so'.
        Last edited by sandalle; 04-27-2009, 06:25 AM.

        Comment


        • #34
          also in pts 2.0

          Fatal error: Class 'GtkWindow' not found in /usr/share/phoronix-test-suite/pts-core/objects/gtk/pts_gtk_window.php on line 23
          Got this for PTS 2.0.0 on Ubuntu 9.04 Desktop updated until today. Anyone with the same issue?

          I installed it clicking
          http://www.phoronix-test-suite.com/r..._2.0.0_all.deb
          and following the wizard. All the process went fine apparently.

          Thank you.

          Comment


          • #35
            Originally posted by another_sam View Post
            Got this for PTS 2.0.0 on Ubuntu 9.04 Desktop updated until today. Anyone with the same issue?

            I installed it clicking
            http://www.phoronix-test-suite.com/r..._2.0.0_all.deb
            and following the wizard. All the process went fine apparently.

            Thank you.
            Did you install php5-gtk?
            Michael Larabel
            http://www.michaellarabel.com/

            Comment


            • #36
              Originally posted by Michael View Post
              Did you install php5-gtk?
              nop.

              should I download
              http://gtk.php.net/do_download.php?d...k-2.0.1.tar.gz
              compile and install?

              does it exist another dumber way to install php-gtk on ubuntu?

              thanks!

              edit: I tried but I can't

              http://forum.codecall.net/tutorials/...tml#post189668
              make: *** No targets specified and no makefile found. Stop.

              http://ubuntuforums.org/showthread.p...01#post7732301
              Fatal error, aborting.
              cvsread: no such user
              Last edited by another_sam; 08-04-2009, 12:32 PM.

              Comment

              Working...
              X