Using gmake seems to help it a lot! It's better now, but not 100% yet. Here's what I've figured out so far: 1) I overrode MAKE to get gmake, on the configure line. This worked. 2) I can't seem to override CC and CFLAGS at all (overriding them on the ./configure line has no effect), so I had to manually edit configure (ooh...bad). 3) make install tries to execute this in workloads/build: /usr/ucb/install -m 644 ./BUILD /opt/filebench/workloads/BUILD Error message is: install: ./BUILD: No such file or directory This doesn't look right to me. BUILD is a make target, not something to be installed. Looks to me like BUILD is in workloads_DATA, so that it's run as a build target, but then when the install step runs, we're using workloads_DATA as a list of files, and BUILD doesn't exist as a file. temporary workaround: touch BUILD after it's run as a target, but before the final install step.
So, here's the exact sequence of what I did to get it installed on X86, using the pre-installed compiler (gcc), and with no need for Sparc binaries): [pre] su chmod 777 filebench/ cd filebench <-- I have the tar file in a directory called filebench, which must be writeable by us tar xvf filebench-1.64-alpha-src.tar cd filebench-1.64 vi configure <-- workaround for the inability to override CC and CFLAGS [do a find on the string 'solaris\*i386', change CC=cc to CC=gcc, change CFLAGS="-g -xO3 -DYYDEBUG=1" to CFLAGS="-g -O2 -DYYDEBUG=1"] ./configure --prefix=/opt INSTALL=/usr/ucb/install MAKE=gmake <-- gmake works better! make install [fails] touch workloads/build/BUILD <-- note: can't do this until after the initial make install, or else the BUILD target won't be run make install <-- after touch, now there's a file called BUILD that can be coped, so the install completes now without error. [succeeds] cd /opt/bin ./filebench filebench> load varmail filebench> run 10 [/pre] Note: Even though it seems to run OK and it gives me some results, I am still getting an error message after load varmail, that looks like this: ... [pre] 10091: 2.306: run runtime (e.g. run 60) 10091: 2.306: syntax error, token expected on line 51 <-- ERROR MESSAGE [/pre] Anybody have a clue on this one (or, is this normal?)? This message posted from opensolaris.org _______________________________________________ perf-discuss mailing list [email protected]
