database - How to install TPC-E EGen using gcc 4.8 (or above)? -
i stuck installation of tpc-e egen on mac os x (or linux). have downloaded workload generator tpc website : www.tpc.org/tpce/egen-download-request.asp failed build it.
when using following command building utilities:
cd utilities/prj/gnumake/ make
i receive following error:
../../prj/gnumake/makefile.egenutilities:136: ../../obj/datetime.d: no such file or directory ../../prj/gnumake/makefile.egenutilities:136: ../../obj/egenversion.d: no such file or directory ../../prj/gnumake/makefile.egenutilities:136: ../../obj/error.d: no such file or directory ../../obj/locking.d:3: *** missing separator. stop.
which not meaningful error , not in how resolve issue.
any or hint appreciated.
i found problems:
1- in egenstandardtypes.h, had replace
\#if defined (__unix) || (_aix)
by
\#if defined(unix) || defined(\__unix__) || defined(\__unix) || defined(\__apple__) && defined(\__mach__) || (_aix)
in order make part of code work mac os x well.
2- in datetime.cpp , error.cpp
i had comment out #error
directive usages, current version of gcc did not support it.
Comments
Post a Comment