Tried this on Windows XP with MinGW, gcc 4.5, Python 2.6, Java 1.6. Builds and installs OK.
"make test" reveals some failures: * test_removeDocument fails badly with lots of these: ERROR: test_removeDocument (__main__.PythonDirectoryTests) ---------------------------------------------------------------------- Traceback (most recent call last): File "c:\Documents and Settings\wjanssen\Desktop\pylucene-3.5.0-1\test\test_PyLucene.py", line 178, in test_removeDocument self.closeStore(store, searcher, reader) File "test/test_PythonDirectory.py", line 241, in closeStore arg.close() JavaError: java.lang.RuntimeException: WindowsError Java stacktrace: java.lang.RuntimeException: WindowsError at org.apache.pylucene.store.PythonDirectory.deleteFile(Native Method) at org.apache.lucene.index.IndexFileDeleter.deleteFile(IndexFileDeleter.java:578) at org.apache.lucene.index.IndexFileDeleter.decRef(IndexFileDeleter.java:517) at org.apache.lucene.index.IndexFileDeleter.decRef(IndexFileDeleter.java:504) at org.apache.lucene.index.IndexFileDeleter.close(IndexFileDeleter.java:377) at org.apache.lucene.index.DirectoryReader.doCommit(DirectoryReader.java:864) at org.apache.lucene.index.IndexReader.commit(IndexReader.java:1464) at org.apache.lucene.index.IndexReader.commit(IndexReader.java:1450) at org.apache.lucene.index.IndexReader.decRef(IndexReader.java:273) at org.apache.lucene.index.IndexReader.close(IndexReader.java:1479) ====================================================================== ERROR: test_removeDocuments (__main__.PythonDirectoryTests) ---------------------------------------------------------------------- Traceback (most recent call last): File "test/test_PythonDirectory.py", line 233, in tearDown shutil.rmtree(self.STORE_DIR) File "c:\Python26\lib\shutil.py", line 217, in rmtree onerror(os.remove, fullname, sys.exc_info()) File "c:\Python26\lib\shutil.py", line 215, in rmtree os.remove(fullname) WindowsError: [Error 32] The process cannot access the file because it is being used by another process: 'testpyrepo\\_0.fdt' ====================================================================== ERROR: test_searchDocuments (__main__.PythonDirectoryTests) ---------------------------------------------------------------------- Traceback (most recent call last): File "c:\Documents and Settings\wjanssen\Desktop\pylucene-3.5.0-1\test\test_PyLucene.py", line 126, in test_searchDocuments self.test_indexDocument() File "c:\Documents and Settings\wjanssen\Desktop\pylucene-3.5.0-1\test\test_PyLucene.py", line 47, in test_indexDocument writer = self.getWriter(store, analyzer, True) File "c:\Documents and Settings\wjanssen\Desktop\pylucene-3.5.0-1\test\test_PyLucene.py", line 34, in getWriter IndexWriter.MaxFieldLength.LIMITED) JavaError: java.lang.RuntimeException: WindowsError Java stacktrace: java.lang.RuntimeException: WindowsError at org.apache.pylucene.store.PythonDirectory.deleteFile(Native Method) at org.apache.lucene.index.IndexFileDeleter.deleteFile(IndexFileDeleter.java:578) at org.apache.lucene.index.IndexFileDeleter.<init>(IndexFileDeleter.java:256) at org.apache.lucene.index.IndexWriter.<init>(IndexWriter.java:1178) at org.apache.lucene.index.IndexWriter.<init>(IndexWriter.java:936) ====================================================================== ERROR: test_searchDocuments (__main__.PythonDirectoryTests) ---------------------------------------------------------------------- Traceback (most recent call last): File "test/test_PythonDirectory.py", line 233, in tearDown shutil.rmtree(self.STORE_DIR) File "c:\Python26\lib\shutil.py", line 217, in rmtree onerror(os.remove, fullname, sys.exc_info()) File "c:\Python26\lib\shutil.py", line 215, in rmtree os.remove(fullname) WindowsError: [Error 32] The process cannot access the file because it is being used by another process: 'testpyrepo\\_0.fdt' ====================================================================== ERROR: test_searchDocumentsWithMultiField (__main__.PythonDirectoryTests) ---------------------------------------------------------------------- Traceback (most recent call last): File "c:\Documents and Settings\wjanssen\Desktop\pylucene-3.5.0-1\test\test_PyLucene.py", line 144, in test_searchDocumentsWithMultiField self.test_indexDocument() File "c:\Documents and Settings\wjanssen\Desktop\pylucene-3.5.0-1\test\test_PyLucene.py", line 47, in test_indexDocument writer = self.getWriter(store, analyzer, True) File "c:\Documents and Settings\wjanssen\Desktop\pylucene-3.5.0-1\test\test_PyLucene.py", line 34, in getWriter IndexWriter.MaxFieldLength.LIMITED) JavaError: java.lang.RuntimeException: WindowsError Java stacktrace: java.lang.RuntimeException: WindowsError at org.apache.pylucene.store.PythonDirectory.deleteFile(Native Method) at org.apache.lucene.index.IndexFileDeleter.deleteFile(IndexFileDeleter.java:578) at org.apache.lucene.index.IndexFileDeleter.<init>(IndexFileDeleter.java:256) at org.apache.lucene.index.IndexWriter.<init>(IndexWriter.java:1178) at org.apache.lucene.index.IndexWriter.<init>(IndexWriter.java:936) ====================================================================== ERROR: test_searchDocumentsWithMultiField (__main__.PythonDirectoryTests) ---------------------------------------------------------------------- Traceback (most recent call last): File "test/test_PythonDirectory.py", line 233, in tearDown shutil.rmtree(self.STORE_DIR) File "c:\Python26\lib\shutil.py", line 217, in rmtree onerror(os.remove, fullname, sys.exc_info()) File "c:\Python26\lib\shutil.py", line 215, in rmtree os.remove(fullname) WindowsError: [Error 32] The process cannot access the file because it is being used by another process: 'testpyrepo\\_0.fdt'