Azitech

Azimout's Linux weblog

Phoronix Test Suite GUI

with one comment

The Phoronix Test Suite (PTS) is a popular open source computer benchmarking suite that can be used from the CLI or with a GUI.

The GUI depends on php-gtk that is not included in Ubuntu (never has), hasn’t been updated in >2 years and FTBFS. I have almost got everything to work (and learned lots on the way). Here’s what I got so far:

Now two more fixes from me:
1) fix error: duplicate ‘static’ build errors:
sed -i.bak '/static$/{;N;s/static\nZEND_BEGIN_ARG_INFO/ZEND_BEGIN_ARG_INFO/;}' ext/gtk+/gen_{atk,pango,gdk,gtk}.c ext/libglade/gen_libglade.c main/phpg_gobject.c

2) fix main/php_gtk.c, line 171 by changing it to:
zend_set_timeout(0, 1);

Continue with ./buildconf; ./configure; make; sudo make install
Modify /etc/php5/cli/php.ini by adding under the “Dynamic Extensions” section: extension=php_gtk2.so

Now running phoronix-test-suite gui starts up and after a few seconds segfaults…

References:

Advertisements

Written by azimout

07/07/2010 at 21:59

Posted in Problems

One Response

Subscribe to comments with RSS.


Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

%d bloggers like this: