henka at cityweb.co.za
2010-Jan-13 12:42 UTC
[Xapian-discuss] Revision 13824 compilation failure
g' day Configured with --disable-maintainer-mode. Compilation of revision 13824 is failing with: common/serialise-double.cc: In function ?double unserialise_double(const char**, const char*)?: common/serialise-double.cc:141: error: ?SerialisationError? is not a member of ?Xapian? common/serialise-double.cc:157: error: ?SerialisationError? is not a member of ?Xapian? common/serialise-double.cc:169: error: ?SerialisationError? is not a member of ?Xapian? Regards Henry
2010/1/13 <henka at cityweb.co.za>:> g' day > > Configured with --disable-maintainer-mode.I suspect that's your problem. SerialiseDouble is defined in include/xapian/error.h This is a generated file, but if you're using --disable-maintainer-mode the rules to generate the file aren't included. The compilation must be finding a version of xapian/error.h somewhere. My first guess would be that it's finding a copy from a system installed version of Xapian which is old enough not to include SerialiseDouble. Failing that, I'd guess that you've copied some files in from somewhere other than SVN, or had some lying around when you updated your checkout. To fix, configure with --enable-maintainer-mode (you may want to use --disable-documentation, to reduce the number of dependencies you need to install. Alternatively, just build from a snapshot tarball: http://oligarchy.co.uk/xapian/trunk/ -- Richard
Possibly Parallel Threads
- Weighting Schemes: Implementing Piv+ Normalization
- Weighting Schemes: Implementing Piv+ Normalization
- Latest revision and backwards compatibility
- flush() definitely required before close()
- what is the fastest way to fetch results which are sorted by timestamp ?