Hello I am using xapian, and I am trying to use utf-8 support. Currently, the instructions lead to svn trunk, and a tarball dump from svn. I am trying to use svn trunk at the moment, but I get a build-error quite early on: make[1]: Leaving directory `/home/andreas/projects/build/xapian/ xapian/xapian-core/build-nodebug' make[1]: Entering directory `/home/andreas/projects/build/xapian/ xapian/xapian-core/build-nodebug' /usr/bin/make all-recursive make[2]: Entering directory `/home/andreas/projects/build/xapian/ xapian/xapian-core/build-nodebug' Making all in . make[3]: Entering directory `/home/andreas/projects/build/xapian/ xapian/xapian-core/build-nodebug' /bin/sh ./libtool --tag=CXX --mode=compile g++ -DHAVE_CONFIG_H -I. - I.. -I. -I../common -I../include -I./include -I../languages - Ilanguages -I../queryparser -Wall -W -Wredundant-decls -Wpointer- arith -Wcast-qual -Wcast-align -Wno-multichar -Wno-long-long -fno-gnu- keywords -Wundef -Wshadow -O2 -c -o api/errorhandler.lo ../api/ errorhandler.cc g++ -DHAVE_CONFIG_H -I. -I.. -I. -I../common -I../include -I./include -I../languages -Ilanguages -I../queryparser -Wall -W -Wredundant- decls -Wpointer-arith -Wcast-qual -Wcast-align -Wno-multichar -Wno- long-long -fno-gnu-keywords -Wundef -Wshadow -O2 -c ../api/ errorhandler.cc -fPIC -DPIC -o api/.libs/errorhandler.o ../api/errorhandler.cc: In member function `void Xapian::ErrorHandler::operator()(Xapian::Error&)': ../api/errorhandler.cc:29: error: 'class Xapian::Error' has no member named ' already_handled' ../api/errorhandler.cc:30: error: 'class Xapian::Error' has no member named ' already_handled' make[3]: *** [api/errorhandler.lo] Error 1 make[3]: Leaving directory `/home/andreas/projects/build/xapian/ xapian/xapian-core/build-nodebug' make[2]: *** [all-recursive] Error 1 make[2]: Leaving directory `/home/andreas/projects/build/xapian/ xapian/xapian-core/build-nodebug' make[1]: *** [all] Error 2 make[1]: Leaving directory `/home/andreas/projects/build/xapian/ xapian/xapian-core/build-nodebug' make: *** [build-stamp] Error 2 Now, I have been trying to figure out what is wrong, and from what I can seem to conclude, there should be a file include/xapian/error.h, but that file is not in svn. It is however attempted included from a number of other files. My question is if it should be in svn, or if something is supposed to autogenerate it. If the last, can it somehow be included in either configure or make before it is attempted used? andreas
Andreas Marienborg wrote:> Currently, the instructions lead to svn trunk, and a tarball dump from svn. > > I am trying to use svn trunk at the moment, but I get a build-error > quite early on:Just to be clear, are you using a SVN checkout, or downloading a snapshot tarball and unpacking that?> Now, I have been trying to figure out what is wrong, and from what I can > seem to conclude, there should be a file include/xapian/error.h, but > that file is not in svn. > > It is however attempted included from a number of other files. > > My question is if it should be in svn, or if something is supposed to > autogenerate it. If the last, can it somehow be included in either > configure or make before it is attempted used?It's an autogenerated file - generated by generate-exceptions. This should be run automatically by the build system, but perhaps that's failing. If you're using a SVN checkout, I recommend re-running the bootstrap script, or if you're running configure manually be sure to pass the --enable-maintainer-mode flag. For more details, read the "Building from SVN" section of the file "HACKING" in the xapian-core top-level source directory. -- Richard