Just do USE_MYSQL=False. I'm going to be removing mysql soon enough (to eventually be replaced by using mysql on the python side), so this is a reasonable workaround and we should probably stop spending any effort on this.
On Tue, Feb 1, 2011 at 4:14 AM, Nilay Vaish <ni...@cs.wisc.edu> wrote: > On Sun, 30 Jan 2011, nathan binkert wrote: > >> We need a lot more details if we're going to help you. >> >>> But I received an error that gcc could not find file. >>> >>> On Sat, January 29, 2011 9:10 pm, Ali Saidi wrote: >>>> >>>> It's checked by scons when it decides to build with mysql support. >>>> >>>> Ali >>>> >>>> Sent from my ARM powered device >>>> >>>> On Jan 29, 2011, at 11:46 AM, Nilay Vaish <ni...@cs.wisc.edu> wrote: >>>> >>>>> The file src/base/mysql.hh includes mysql_version.h. Where all is it >>>>> searched for? I think there you should be an initial check whether this >>>>> file is with in the include path or not. >>>>> >>>>> -- >>>>> Nilay > > Here is the output for command - scons -j 6 build/ALPHA_SE/m5.opt > > scons: Reading SConscript files ... > Checking for leading underscore in global variables...(cached) no > Checking for C header file Python.h... (cached) yes > Checking for C library pthread... (cached) yes > Checking for C library dl... (cached) yes > Checking for C library util... (cached) yes > Checking for C library m... (cached) yes > Checking for C library python2.4... (cached) yes > Checking for accept(0,0,0) in C++ library None... (cached) yes > Checking for zlibVersion() in C++ library z... (cached) yes > Checking for clock_nanosleep(0,0,NULL,NULL) in C library None... (cached) no > Checking for clock_nanosleep(0,0,NULL,NULL) in C library rt... (cached) yes > Checking for C header file fenv.h... (cached) yes > Reading /scratch/nilay/GEM5/sibling/src/mem/ruby/SConsopts > Reading /scratch/nilay/GEM5/sibling/src/mem/protocol/SConsopts > Reading /scratch/nilay/GEM5/sibling/src/arch/mips/SConsopts > Reading /scratch/nilay/GEM5/sibling/src/arch/noisa/SConsopts > Reading /scratch/nilay/GEM5/sibling/src/arch/x86/SConsopts > Reading /scratch/nilay/GEM5/sibling/src/arch/arm/SConsopts > Reading /scratch/nilay/GEM5/sibling/src/arch/power/SConsopts > Reading /scratch/nilay/GEM5/sibling/src/arch/sparc/SConsopts > Reading /scratch/nilay/GEM5/sibling/src/arch/alpha/SConsopts > Reading /scratch/nilay/GEM5/sibling/src/cpu/nocpu/SConsopts > Reading /scratch/nilay/GEM5/sibling/src/cpu/checker/SConsopts > Reading /scratch/nilay/GEM5/sibling/src/cpu/simple/SConsopts > Reading /scratch/nilay/GEM5/sibling/src/cpu/ozone/SConsopts > Reading /scratch/nilay/GEM5/sibling/src/cpu/o3/SConsopts > Reading /scratch/nilay/GEM5/sibling/src/cpu/inorder/SConsopts > Building in /scratch/nilay/GEM5/sibling/build/ALPHA_SE > Using saved variables file > /scratch/nilay/GEM5/sibling/build/variables/ALPHA_SE > Compiling in ALPHA_SE with MySQL support. > scons: done reading SConscript files. > scons: Building targets ... > [ CXX] ALPHA_SE/base/mysql.cc -> .o > [ CXX] ALPHA_SE/base/stats/mysql.cc -> .o > In file included from build/ALPHA_SE/base/mysql.cc:33: > build/ALPHA_SE/base/mysql.hh:38:27: error: mysql_version.h: No such file or > directory > build/ALPHA_SE/base/mysql.hh:39:19: error: mysql.h: No such file or > directory > [ CXX] ALPHA_SE/python/swig/pyevent.cc -> .o > [ CXX] ALPHA_SE/python/swig/pyobject.cc -> .o > [ SWIG] ALPHA_SE/python/swig/core.i -> _wrap.cc, .py > [ CXX] ALPHA_SE/python/swig/debug_wrap.cc -> .o > In file included from build/ALPHA_SE/base/stats/mysql.cc:39: > > > -- > Nilay > _______________________________________________ > m5-dev mailing list > m5-dev@m5sim.org > http://m5sim.org/mailman/listinfo/m5-dev > > _______________________________________________ m5-dev mailing list m5-dev@m5sim.org http://m5sim.org/mailman/listinfo/m5-dev