[Xapian-devel] A beginner in "Posting list encoding improvements"

Ralf Mattes rm at seid-online.de
Wed Feb 12 15:02:17 GMT 2014

On Wed, Feb 12, 2014 at 03:07:30PM +0000, James Aylett wrote:
> On 12 Feb 2014, at 14:58, "Hurricane Tong" <zhangshangtong.cpp at qq.com> wrote:
> > hurricanetong at hurricanetong-VirtualBox:~/workspace$ g++ `xapian-config --cxxflags --libs` BuildIndexDemo.cpp
> You want to use xapian-config-1.3 here, not xapian-config (which will be the installed version, not the trunk version you built).

Oh, dear - unless the OP know _exactly_ what he's doing he should remove the distributions devel package to
avoid hard-to-debug problems:

 sudo apt-get purge libxapian-dev

> I've just built trunk (on Mac OS, admittedly), and your code compiled and linked fine, and when run created an empty database as expected.

The code post4ed works fine on Debian/testing with the distributed devel packages as well.

 Cheers, RalfD

More information about the Xapian-devel mailing list