Phoronix Forums  

Go Back   Phoronix Forums > Phoronix > Phoronix Test Suite

Phoronix Test Suite Discussion & collaboration on the Phoronix Test Suite software and specification.

Reply
 
Thread Tools Display Modes
  #1  
Old 04-25-2008, 09:41 AM
grumpf grumpf is offline
Junior Member
 
Join Date: Apr 2008
Posts: 9
Default running phoronix-test-suite on Opensuse

I have tested phoronix-test-suite on Opensuse 10.0 but the same should work for newer releases.

before you start:
- install php5,php5-gd,php5-posix
make a link from php5 to php
ln -s /usr/bin/php5 /usr/bin/php

to avoid playing with searchpaths you may like to add

ini_set("include_path", ini_get('include_path').".:../:./include:../include");

as line just after <php? in pts-core/pts-run-cmd.php
that will extend the current searchpath.

Note: i am not a php programmer so there may be easier ways to do so
Reply With Quote
  #2  
Old 04-25-2008, 11:21 AM
Michael Michael is offline
Phoronix
 
Join Date: Jun 2006
Location: United States
Posts: 4,564
Default

With the latest git today, it should no longer be needed to make the php5 to php link.
Reply With Quote
  #3  
Old 04-25-2008, 12:13 PM
grumpf grumpf is offline
Junior Member
 
Join Date: Apr 2008
Posts: 9
Default

Quote:
Originally Posted by Michael View Post
With the latest git today, it should no longer be needed to make the php5 to php link.
nice to read. did you also add the

i had to add init_set() to all programs in pts-core
will that be added to the next release also ?
Reply With Quote
  #4  
Old 04-25-2008, 12:19 PM
Michael Michael is offline
Phoronix
 
Join Date: Jun 2006
Location: United States
Posts: 4,564
Default

Actually, I am trying to understand why you're having the include_path issue, as that shouldn't be a problem.
Reply With Quote
  #5  
Old 04-25-2008, 12:19 PM
grumpf grumpf is offline
Junior Member
 
Join Date: Apr 2008
Posts: 9
Default

i run into a problem i can not solve
the script is looping:

PHP Notice: Use of undefined constant STDIN - assumed 'STDIN' in /home/scratch/mnt/phoronix-test-suite/pts-core/functions/pts-functions.php on line 421
PHP Warning: fgets(): supplied argument is not a valid stream resource in /home/scratch/mnt/phoronix-test-suite/pts-core/functions/pts-functions.php on li
ne 421

the problem is already descriped here:
http://bugs.php.net/bug.php?id=43283
Reply With Quote
  #6  
Old 04-25-2008, 12:22 PM
grumpf grumpf is offline
Junior Member
 
Join Date: Apr 2008
Posts: 9
Default

Opensuse default include path is this:
include_path = "/usr/share/php5"

no dot, nothing else
Reply With Quote
  #7  
Old 04-25-2008, 12:59 PM
grumpf grumpf is offline
Junior Member
 
Join Date: Apr 2008
Posts: 9
Default more php errors

it seems some more path are broken.
i was able to download and compile some tests (until the rror above),
I tried to continue by using the programms directly but
it did not work,

php pts-run-benchmark.php memory-bandwidth
PHP Fatal error: Class 'tandem_XmlReader' not found in /home/scratch/mnt/phoronix-test-suite/pts-core/functions/pts-functions_config.php on line 19
Content-type: text/html
X-Powered-By: PHP/5.0.4
Reply With Quote
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -5. The time now is 02:46 AM.


Powered by vBulletin® Version 3.8.4
Copyright ©2000 - 2009, Jelsoft Enterprises Ltd.
Copyright ©2004 - 2009 by Phoronix Media.