[Xapian-devel] Build Error in trunk (omega)
Rick Olson
rick at napalmriot.com
Fri Dec 28 22:12:03 GMT 2007
Hello,
There is a build error by what looks to be a typo in
xapian-applications/omega/omega.cc
My checkout is about 15 minutes old, so it's possible it has been caught
since then.
omega.cc: In function ‘int main(int, char**)’:
omega.cc:204: error: ‘pretty_tery’ was not declared in this scope
make[3]: *** [omega.o] Error 1
make[3]: Leaving directory
`/home/rolson/projects/xapian/xapian/xapian-applications/omega'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory
`/home/rolson/projects/xapian/xapian/xapian-applications/omega'
make[1]: *** [all] Error 2
make[1]: Leaving directory
`/home/rolson/projects/xapian/xapian/xapian-applications/omega'
make: *** [all] Error 2
The following patch should fix the typo (unless it's been fixed already,
or there really is a pretty_tery function somewhere).
--- /tmp/omega.cc.orig 2007-12-28 14:04:40.000000000 -0800
+++ xapian-applications/omega/omega.cc 2007-12-28 14:04:52.000000000 -0800
@@ -201,7 +201,7 @@
for (Xapian::ESetIterator i = eset.begin(); i !=
eset.end(); i++) {
if ((*i).empty()) continue;
if (!query_string.empty()) query_string += ' ';
- query_string += pretty_tery(*i);
+ query_string += pretty_term(*i);
}
}
}
Cheers,
Rick
More information about the Xapian-devel
mailing list