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

Koum koumakis at gmail.com
Thu Dec 22 15:20:25 GMT 2005


Hello 
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 
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':
/cygdrive/d/AutomaticTextAnalysis-1.3-rc1/xapian-bindings/python/modern/xapian_w
rap.cc:20297: undefined reference to `_PyString_FromString'
Info: resolving vtable for Xapian::TradWeightby linking to __imp___ZTVN6Xapian10
TradWeightE (auto-import)
Info: resolving vtable for Xapian::BM25Weightby linking to __imp___ZTVN6Xapian10
BM25WeightE (auto-import)
collect2: ld returned 1 exit status
make[4]: *** [_xapian.la] Error 1
make[4]: Leaving directory `/cygdrive/d/AutomaticTextAnalysis-1.3-rc1/xapian-bin
dings/python'
make[3]: *** [all-recursive] Error 1
make[3]: Leaving directory `/cygdrive/d/AutomaticTextAnalysis-1.3-rc1/xapian-bin
dings/python'
make[2]: *** [all] Error 2
make[2]: Leaving directory `/cygdrive/d/AutomaticTextAnalysis-1.3-rc1/xapian-bin
dings/python'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/cygdrive/d/AutomaticTextAnalysis-1.3-rc1/xapian-bin
dings'
make: *** [all] Error 2


I tried to make LDFLAGS=-lstdc++ but I get the same errors.
Can anybody give me a hint ?







More information about the Xapian-devel mailing list