View Full Version : running phoronix-test-suite on Opensuse
grumpf
04-25-2008, 09:41 AM
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
Michael
04-25-2008, 11:21 AM
With the latest git today, it should no longer be needed to make the php5 to php link.
grumpf
04-25-2008, 12:13 PM
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 ?
Michael
04-25-2008, 12:19 PM
Actually, I am trying to understand why you're having the include_path issue, as that shouldn't be a problem.
grumpf
04-25-2008, 12:19 PM
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
grumpf
04-25-2008, 12:22 PM
Opensuse default include path is this:
include_path = "/usr/share/php5"
no dot, nothing else
grumpf
04-25-2008, 12:59 PM
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
vBulletin® v3.8.4, Copyright ©2000-2009, Jelsoft Enterprises Ltd.