Hi, Gianluca, I have just checked out a copy of the FastBit code from SVN repository and build it without a problem. So I have to try to read you log output and guess at what might be going on and hope to stumble upon something you might think useful.
-- it is somewhat odd that the make program needs to generate selectParser.hh (since it is in the SVN archive already and has not changed for many months). As far as I know, even 'make distclean' does not erase selectParser.hh. If you have extra configuration script that is removing it, you might try to disable it. -- Another like reason might be that selectParser.hh has an older time stamp than selectParser.yy (due to the way you SVN client handles the time stamps). A relatively easy way to get around the problem is to instruct svn client to keep the original time stamps. -- The command that is really causing the problem is 'bison -d -o selectParser.cc' The line of source code that bison dislikes is line 6, which starts "%code requires". This might be a newer feature in bison. The version I use is 2.4.2. I am not exactly sure which version is good enough, but please consider update your bison program. John On 6/1/2010 12:17 AM, [email protected] wrote: > Hi, > I have a problem compiling the latest svn version of fastbit. > ./configure good with no problem > > Here's the console output on the make: > > (.some other good compiling logs) > ... > libtool: compile: g++ -DHAVE_CONFIG_H -I. -g -O2 > -I/usr/lib64/jvm/java/include -I/usr/lib64/jvm/java/include/linux -MT > whereClause.lo -MD -MP -MF .deps/whereClause.Tpo -c whereClause.cpp -o > whereClause.o >/dev/null 2>&1 > mv -f .deps/whereClause.Tpo .deps/whereClause.Plo > bison -d -o selectParser.cc selectParser.yy > selectParser.yy:6.1-5: direttiva non valida: `%code' > selectParser.yy:6.7-9: syntax error, unexpected identifier > make[2]: *** [selectParser.hh] Error 1 > make[2]: Leaving directory `/home/gianluca/fastbit/trunk/src' > make[1]: *** [all] Error 2 > make[1]: Leaving directory `/home/gianluca/fastbit/trunk/src' > make: *** [all-recursive] Error 1 > > Tried make -j 4 CXXFLAGS="-O3 -I ${PWD}/win" all > same error. > > I'm running opensuse 11.2 64 bit automake 1.11 autoconf 2.63 bison2.3 > flex 2.5.35. > > I forgot to tell you that I was able to compile and run fastbit ibis > 1.16 on the same machine. > > I'm one of the ntop developers and I was trying to improve the > ntop-python-fastibt interface. > If you can point me in the right direction I will appreciate it. > > Gianluca > > > > _______________________________________________ > FastBit-users mailing list > [email protected] > https://hpcrdm.lbl.gov/cgi-bin/mailman/listinfo/fastbit-users _______________________________________________ FastBit-users mailing list [email protected] https://hpcrdm.lbl.gov/cgi-bin/mailman/listinfo/fastbit-users
