[pylucene-dev] Optimizing with PyLucene 2.0.0-5 compiled from
sources
Manuel Albela Miranda
albela at 3.14financial.com
Thu Nov 23 09:37:35 PST 2006
Andi Vajda wrote:
>
> 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..
> _______________________________________________
> pylucene-dev mailing list
> pylucene-dev at osafoundation.org
> http://lists.osafoundation.org/mailman/listinfo/pylucene-dev
>
>
>
Yep, i read your post and i will try to follow the steps, but i wanted
to compile PyLucene with an earlier version of gcc in order to have it
updated. I have compiled Java Lucene somewhere in my computer...i'm
going to look for it and use it to compile PyLucene before getting into
compile gcc.
Thank you again.
Regards.
--
Manuel Albela Miranda
3.14 Financial
Sánchez Calviño 82
15404 Ferrol - Spain
Tel: +34 981 94 87 78
Fax: +34 981 94 87 34
e-mail: albela at 3.14financial.com
http://www.3.14financial.com
More information about the pylucene-dev
mailing list