I compiled the latest libbats with the required the libraries. I get the following error in Ubuntu 9.04. How can I fix the build.
~/projects/lgb/2.0/libbats-2.0$ make
Making all in docs
make[1]: Entering directory `/home/sam/projects/lgb/2.0/libbats-2.0/docs'
Making all in manual
make[2]: Entering directory `/home/sam/projects/lgb/2.0/libbats-2.0/docs/manual'
make libbatsmanual.pdf
make[3]: Entering directory `/home/sam/projects/lgb/2.0/libbats-2.0/docs/manual'
make[3]: Nothing to be done for `libbatsmanual.pdf'.
make[3]: Leaving directory `/home/sam/projects/lgb/2.0/libbats-2.0/docs/manual'
make[2]: Leaving directory `/home/sam/projects/lgb/2.0/libbats-2.0/docs/manual'
make[2]: Entering directory `/home/sam/projects/lgb/2.0/libbats-2.0/docs'
make[2]: Nothing to be done for `all-am'.
make[2]: Leaving directory `/home/sam/projects/lgb/2.0/libbats-2.0/docs'
make[1]: Leaving directory `/home/sam/projects/lgb/2.0/libbats-2.0/docs'
Making all in .
make[1]: Entering directory `/home/sam/projects/lgb/2.0/libbats-2.0'
depbase=`echo AST/find.lo | sed 's|[^/]*$|.deps/&|;s|\.lo$||'`;\
/bin/bash ./libtool --tag=CXX --mode=compile g++ -DPACKAGE_NAME=\"libbats\" -DPACKAGE_TARNAME=\"libbats\" -DPACKAGE_VERSION=\"2.0\" -DPACKAGE_STRING=\"libbats\ 2.0\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE_URL=\"\" -DPACKAGE=\"libbats\" -DVERSION=\"2.0\" -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 -DLT_OBJDIR=\".libs/\" -DHAVE_SYS_SELECT_H=1 -DHAVE_SIGNAL_H=1 -DHAVE_EIGEN2_EIGEN_CORE=1 -I. -Wall -O2 -DDATADIR="/usr/local/share/libbats" -I/usr/include/libxml2 -I/usr/include/sigc++-2.0 -I/usr/lib/sigc++-2.0/include -I/usr/include/eigen2 -g -O2 -MT AST/find.lo -MD -MP -MF $depbase.Tpo -c -o AST/find.lo AST/find.cc &&\
mv -f $depbase.Tpo $depbase.Plo
libtool: compile: g++ -DPACKAGE_NAME=\"libbats\" -DPACKAGE_TARNAME=\"libbats\" -DPACKAGE_VERSION=\"2.0\" "-DPACKAGE_STRING=\"libbats 2.0\"" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE_URL=\"\" -DPACKAGE=\"libbats\" -DVERSION=\"2.0\" -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 -DLT_OBJDIR=\".libs/\" -DHAVE_SYS_SELECT_H=1 -DHAVE_SIGNAL_H=1 -DHAVE_EIGEN2_EIGEN_CORE=1 -I. -Wall -O2 -DDATADIR=/usr/local/share/libbats -I/usr/include/libxml2 -I/usr/include/sigc++-2.0 -I/usr/lib/sigc++-2.0/include -I/usr/include/eigen2 -g -O2 -MT AST/find.lo -MD -MP -MF AST/.deps/find.Tpo -c AST/find.cc -fPIC -DPIC -o AST/.libs/find.o
AST/find.cc:1:18: error: ast.ih: No such file or directory
AST/find.cc:3: error: expected constructor, destructor, or type conversion before ‘<’ token
make[1]: *** [AST/find.lo] Error 1
make[1]: Leaving directory `/home/sam/projects/lgb/2.0/libbats-2.0'
make: *** [all-recursive] Error 1