Bob Resendes
2008-10-09 13:45:37 UTC
I downloaded the latest filebench code and built it on openSuse 11. In addition to the instructions in the provided INSTALL file, I ran "make install" which puts things in:
/usr/local/bin/{go_filebench, filebench, ...}
/usr/local/share/filebench/{config/, scripts/, ...}
Note: the above paths differ from the note in the provided INSTALL file, which uses /usr/bin vs. /usr/local/bin, for example.
Now, when I try run "my" benchmark, I get the following:
filebench my_fileio_micro
parsing profile for config: randomread2k
Can't locate /opt/filebench/config/generic.func in @INC (@INC contains: /usr/lib/perl5/5.10.0/x86_64-linux-thread-multi /usr/lib/perl5/5.10.0 /usr/lib/perl5/site_perl/5.10.0/x86_64-linux-thread-multi /usr/lib/perl5/site_perl/5.10.0 /usr/lib/perl5/vendor_perl/5.10.0/x86_64-linux-thread-multi /usr/lib/perl5/vendor_perl/5.10.0 /usr/lib/perl5/vendor_perl .) at /usr/local/bin/filebench line 577, <CFILE> line 250.
I'm assuming that's because there's some assumptions on the locations of executables and scripts under filebench (i.e. /opt/filebench). Is there any way to install the linux version so that everything I need to run gets put into a single directory tree? I didn't see anything from a quick look at the Makefile.
[I already tried setting FILEBENCH=/usr/local/share/filebench/, but that didn't change things.]
Bob
--
This message posted from opensolaris.org
/usr/local/bin/{go_filebench, filebench, ...}
/usr/local/share/filebench/{config/, scripts/, ...}
Note: the above paths differ from the note in the provided INSTALL file, which uses /usr/bin vs. /usr/local/bin, for example.
Now, when I try run "my" benchmark, I get the following:
filebench my_fileio_micro
parsing profile for config: randomread2k
Can't locate /opt/filebench/config/generic.func in @INC (@INC contains: /usr/lib/perl5/5.10.0/x86_64-linux-thread-multi /usr/lib/perl5/5.10.0 /usr/lib/perl5/site_perl/5.10.0/x86_64-linux-thread-multi /usr/lib/perl5/site_perl/5.10.0 /usr/lib/perl5/vendor_perl/5.10.0/x86_64-linux-thread-multi /usr/lib/perl5/vendor_perl/5.10.0 /usr/lib/perl5/vendor_perl .) at /usr/local/bin/filebench line 577, <CFILE> line 250.
I'm assuming that's because there's some assumptions on the locations of executables and scripts under filebench (i.e. /opt/filebench). Is there any way to install the linux version so that everything I need to run gets put into a single directory tree? I didn't see anything from a quick look at the Makefile.
[I already tried setting FILEBENCH=/usr/local/share/filebench/, but that didn't change things.]
Bob
--
This message posted from opensolaris.org