Hello, pylucene-dev. while building last version of pyLucene from SVN I get this error:
lucene.cpp: In function `int j_thaianalyzer_init(j_thaianalyzer*, PyObject*, PyObject*)': lucene.cpp:7508: error: no matching function for call to `org::apache::lucene::analysis::th::ThaiAna lyzer::ThaiAnalyzer(java::text::BreakIterator*&)' d:/workshop/PyLucene/lucene-java-2.2.0-549438/build/contrib/analyzers/classes/java/org/apache/lucene /analysis/th/ThaiAnalyzer.h:34: note: candidates are: org::apache::lucene::analysis::th::ThaiAnalyze r::ThaiAnalyzer() lucene.cpp: In function `int j_thaiwordfilter_init(j_thaiwordfilter*, PyObject*, PyObject*)': lucene.cpp:7558: error: no matching function for call to `org::apache::lucene::analysis::th::ThaiWor dFilter::ThaiWordFilter(org::apache::lucene::analysis::TokenStream*&, java::text::BreakIterator*&)' d:/workshop/PyLucene/lucene-java-2.2.0-549438/build/contrib/analyzers/classes/java/org/apache/lucene /analysis/th/ThaiWordFilter.h:42: note: candidates are: org::apache::lucene::analysis::th::ThaiWordF ilter::ThaiWordFilter(org::apache::lucene::analysis::TokenStream*) make: *** [release/lucene.o] Error 1 I guess I have missed something important. My configuration is Makefile: # Windows (with gcj 3.4.6 and libs statically linked) PREFIX_PYTHON=/cygdrive/d/work/Python25 LIBDIR_NAME=lib GCJ_HOME=/cygdrive/c/MinGW GCJ_LIBDIR=$(GCJ_HOME)/$(LIBDIR_NAME) GCJ_STATIC=1 LIB_INSTALL= #DB=/cygdrive/o/db-$(DB_VER) #PREFIX_DB=$(DB) ANT=ant PYTHON=$(PREFIX_PYTHON)/python.exe C:\MinGW\bin>gcj.exe --version gcj.exe (GCC) 3.4.6 $ gcc --version gcc (GCC) 3.4.4 (cygming special) (gdc 0.12, using dmd 0.125) D:\work\Python25>python.exe Python 2.5.1 (r251:54863, Apr 18 2007, 08:51:08) [MSC v.1310 32 bit (Intel)] on win32 Thanks. -- Yura Smolsky _______________________________________________ pylucene-dev mailing list [email protected] http://lists.osafoundation.org/mailman/listinfo/pylucene-dev
