I just downloaded the 0.9.7 version of the software and configured it with a simple: ./configure on a box where I was able to configure 0.9.6 with no problem. At some point fairly deep into the make process I received the error: backendmanager.cc: In member function 'Xapian::WritableDatabase BackendManager::getwritedb_remote(const std::vector<std::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::basic_string<char, std::char_traits<char>, std::allocator<char> > > >&)': backendmanager.cc:481: error: conversion from 'Xapian::Database' to non-scalar type 'Xapian::WritableDatabase' requested make[2]: *** [backendmanager.lo] Error 1 make[2]: Leaving directory `/root/xapian-core-0.9.7/testsuite' make[1]: *** [all-recursive] Error 1 make[1]: Leaving directory `/root/xapian-core-0.9.7' make: *** [all] Error 2 This is being compiled under Fedora Core 5. Is this some unwanted interaction with 0.9.6 or some other problem? Any help would be appreciated. - Michael Lewis ---------------------------------------------------------------- This message was sent using IMP, the Internet Messaging Program.
On Mon, Oct 16, 2006 at 04:00:08PM -0400, mlewis@xelent.net wrote:> backendmanager.cc:481: error: conversion from 'Xapian::Database' to non-scalar > type 'Xapian::WritableDatabase' requestedIt's a problem with some valgrind-specific code (the testsuite will run itself under valgrind if a suitable version is installed). The attached (untested) patch should fix it. Cheers, Olly -------------- next part -------------- Index: testsuite/backendmanager.cc ==================================================================--- testsuite/backendmanager.cc (revision 7346) +++ testsuite/backendmanager.cc (working copy) @@ -478,7 +478,7 @@ #endif #ifdef HAVE_VALGRIND if (RUNNING_ON_VALGRIND) { - return Xapian::Remote::open("./runtest ../bin/xapian-progsrv", args); + return Xapian::Remote::open_writable("./runtest ../bin/xapian-progsrv", args); } #endif return Xapian::Remote::open_writable("../bin/xapian-progsrv", args);