[Xapian-discuss] Python bindings

Olly Betts olly at survex.com
Mon Jun 20 15:02:38 BST 2005


On Mon, Jun 20, 2005 at 02:32:11PM +0100, James Aylett wrote:
> Having great difficulties getting the bindings to build - is there a
> magic make variable I can set to tell it where SWIG 1.3.22 is?

./configure SWIG_1_3_22=/path/to/swig-1.3.22

It's a little annoying that "I want to build from SVN" and "I want to
be able to build distributions" are conflated like this, so you're
forced to dual-install swig just to use SVN even if you're not
interested in PHP.  Although "casual" SVN users can just use the
snapshots, and those using it regualarly only need to sort out
the required tools once.

> > Traceback (most recent call last):
> >   File "./smoketest.py", line 26, in ?
> >     query = xapian.Query(xapian.Query.OP_OR, terms)
> >   File "xapian.py", line 663, in __init__
> >     newobj = _xapian.new_Query(*args)
> > NotImplementedError: No matching function for overloaded 'new_Query'
> 
> Hmm. That's less useful than I remembered, and I really need to build
> it myself to investigate - because I'll need to step through the C++
> part of the wrappers, I think.

OK.  Well, let me know if there's anything I can do...

Cheers,
    Olly



More information about the Xapian-discuss mailing list