[Xapian-devel] Xapian Binding compile error in Windows XP using CygWin

Olly Betts olly at survex.com
Thu Dec 22 15:43:18 GMT 2005


On Thu, Dec 22, 2005 at 03:20:25PM +0000, Koum wrote:
> I'm new with the Xapian and I'm trying to install it in Windows XP SP2.
> I'm using CygWin (the full version). 
> Have already compiled the xapian-core, using a change found in gmane for the 
> file safewindows.h 

So you're using version 0.9.2 I take it?

> In cygwin path usr/local/ have the xapian lib etc. 
> 
> For the binding the ./configure command passes ok.
> when the make starts I get the folowing :
> ....
> MANY ERRORS at xapian_wrap.cc
> .....
> .....
> /cygdrive/d/AutomaticTextAnalysis-1.3-rc1/xapian-bindings/python/modern/xapian_w
> rap.cc:1661: undefined reference to `_PyInt_AsLong'
> .libs/xapian_wrap.o: In function `swig_varlink_repr':

Generally it's the *first* errors which are the most interesting.  Later
ones are often caused by a cascade effect from the compiler failing to
recover so are often red herrings.

Can you send the full output, or at least the top part?

Cheers,
    Olly




More information about the Xapian-devel mailing list