[pylucene-dev] Optimizing with PyLucene 2.0.0-5 compiled from
sources
Andi Vajda
vajda at osafoundation.org
Thu Nov 23 09:24:24 PST 2006
On Thu, 23 Nov 2006, Manuel Albela Miranda wrote:
> And yes, i've runned the test, but it fails with the next messages:
>
> make test
> find test -name 'test_*.py' | xargs -n 1 /usr/bin/python2.4
> Searching for: wicked
> ESearching for: wicked
> E
> ======================================================================
> ERROR: testGetBestFragmentsSimpleQuery (__main__.HighlighterTestCase)
> ----------------------------------------------------------------------
> Traceback (most recent call last):
> File "test/test_Highlighter.py", line 81, in testGetBestFragmentsSimpleQuery
> self.doStandardHighlights()
> File "test/test_Highlighter.py", line 103, in doStandardHighlights
> highlighter.setTextFragmenter(SimpleFragmenter(20))
> JavaError: java.lang.OutOfMemoryError
Right, that's what I suspected, your compilation didn't go that well.
The only gcj 4.x that has worked out of the box for me on Linux (that is,
without patches) are recent snapshots of gcj 4.2.0.
I once got gcj 4.1 to work on a gentoo system with these patches:
http://gcc.gnu.org/ml/java/2006-03/msg00190.html
When using gcj 4.x, I also noticed that I had better results when compiling
the Java Lucene sources first instead of reusing the ones I provide with
PyLucene source tarballs.
I posted a message yesterday to the list about all the steps necessary to
build PyLucene on an Ubuntu 64 machine. These steps would be the same on your
system:
http://lists.osafoundation.org/pipermail/pylucene-dev/2006-November/001404.html
Andi..
More information about the pylucene-dev
mailing list