[Tutor] PyLucene on Python 2.6

Jose Neto jbastosneto at gmail.com
Thu Dec 18 17:03:55 CET 2008


I don't know if it's off-topic or not. If it is, please forgive me and
ignore this question.
Does anyone know if there is a win32 binary of PyLucene? I tried to compile
the sources, but the python "explodes" in the middle of the compilation.

Log file:
$ make
/cygdrive/f/Python26/python.exe -v -m jcc.__main__ --shared  --jar
lucene-java-2
.4.0/build/lucene-core-2.4.0.jar --jar
lucene-java-2.4.0/build/contrib/snowball/
lucene-snowball-2.4.0.jar --jar
lucene-java-2.4.0/build/contrib/highlighter/luce
ne-highlighter-2.4.0.jar --jar
lucene-java-2.4.0/build/contrib/analyzers/lucene-
analyzers-2.4.0.jar --jar
lucene-java-2.4.0/build/contrib/regex/lucene-regex-2.4
.0.jar --jar
lucene-java-2.4.0/build/contrib/queries/lucene-queries-2.4.0.jar --
jar
lucene-java-2.4.0/build/contrib/instantiated/lucene-instantiated-2.4.0.jar -
-jar build/jar/extensions.jar --package java.lang java.lang.System
java.lang.Run
time --package java.util java.text.SimpleDateFormat --package java.io
java.io.St
ringReader java.io.InputStreamReader java.io.FileInputStream --exclude
org.apach
e.lucene.queryParser.Token --exclude
org.apache.lucene.queryParser.TokenMgrError
 --exclude org.apache.lucene.queryParser.QueryParserTokenManager --exclude
org.a
pache.lucene.queryParser.ParseException --python lucene --mapping
org.apache.luc
ene.document.Document 'get:(Ljava/lang/String;)Ljava/lang/String;' --mapping
jav
a.util.Properties 'getProperty:(Ljava/lang/String;)Ljava/lang/String;'
--sequenc
e org.apache.lucene.search.Hits 'length:()I'
'doc:(I)Lorg/apache/lucene/document
/Document;' --version 2.4.0 --files 2 --build
[...]
import zlib # builtin
# f:\Python26\lib\site-packages\jcc-2.1-py2.6-win32.egg\jcc\python.pyc
matches f
:\Python26\lib\site-packages\jcc-2.1-py2.6-win32.egg\jcc\python.py
import jcc.python # precompiled from
f:\Python26\lib\site-packages\jcc-2.1-py2.6
-win32.egg\jcc\python.pyc
# f:\Python26\lib\platform.pyc matches f:\Python26\lib\platform.py
import platform # precompiled from f:\Python26\lib\platform.pyc
# f:\Python26\lib\string.pyc matches f:\Python26\lib\string.py
import string # precompiled from f:\Python26\lib\string.pyc
import strop # builtin
# f:\Python26\lib\py_compile.pyc matches f:\Python26\lib\py_compile.py
import py_compile # precompiled from f:\Python26\lib\py_compile.pyc
import marshal # builtin
# f:\Python26\lib\traceback.pyc matches f:\Python26\lib\traceback.py
import traceback # precompiled from f:\Python26\lib\traceback.pyc
make: *** [compile] Error 255

Regards
Jose
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/tutor/attachments/20081218/d312c7a9/attachment.htm>


More information about the Tutor mailing list