sqlite3 fails to install while running phoronix-test-suite benchmark pts/disk on both cent os 5.5 and ubuntu 11.10.

It fails with the following error.

"3.7.3\" "-DPACKAGE_STRING=\"sqlite 3.7.3\"" -DPACKAGE_BUGREPORT=\"http://www.sqlite.org\" -DPACKAGE=\"sqlite\" -DVERSION=\"3.7.3\" -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DHAVE_DLFCN_H=1 -DHAVE_FDATASYNC=1 -DHAVE_USLEEP=1 -DHAVE_LOCALTIME_R=1 -DHAVE_GMTIME_R=1 -DHAVE_READLINE=1 -I. -I. -DSQLITE_THREADSAFE=1 -DSQLITE_ENABLE_FTS3 -DSQLITE_ENABLE_RTREE -g -O2 -MT sqlite3.lo -MD -MP -MF .deps/sqlite3.Tpo -c sqlite3.c -fPIC -DPIC -o .libs/sqlite3.o
gcc: 3.7.3": No such file or directory
make: *** [sqlite3.lo] Error 1


The funny thing is that if I copy install.sh from test-profiles/sqlite-1.8.0/ to installed-tests/pts/sqlite-1.8.0/ and run it, it compiles fine, however when I try to install the test via
phoronix-test-suite install pts/sqlite-1.8.0, it fails with the error above. Is it related to the script below?

#!/bin/sh

tar -zxvf pts-sqlite-tests-1.tar.gz
tar -zxvf sqlite-amalgamation-3.7.3.tar.gz

mkdir sqlite_/

cd sqlite-3.7.3/
./configure --prefix=sqlite_/
make
echo $? > ~/install-exit-status
make install
cd ..
rm -rf sqlite-3.7.3/
rm -rf sqlite_/lib/

echo "#!/bin/sh

Moussa