On Wed, 15 Aug 2007, Jon Rosebaugh wrote:
I developed my PyLucene app on Mac OS X, using the 2.2.0-1 binary
built for Python 2.5.1 available at the website. But I need to deploy
on my Linux machine. I'm running Debian testing, with the stock Python
2.5.1 available in the repositories. At first I tried compiling gcc
3.4.4, as recommended by INSTALL and using that to compile PyLucene,
but I got the following exception when I tried to use the index I'd
created:
Error - <class 'PyLucene.JavaError'>: java.io.FileNotFoundException:
/domains/ffmlindex/lucene/_300k.cfs (File too large)
This index is 2.6 gigabytes in size. It didn't prove a problem on OS X at all.
I noticed some messages from 2004 in the archives that seemed to
relate to this. They seemed to indicate that gcc 3.4.6 would work
better, so I compiled that instead. No luck.
The only version of gcj available in the debian testing repository is
4.1. Can I use this safely with PyLucene? If not, please recommend a
version that will work with an index this large.
To use files larger than 2 Gb, you need to use gcj 4.x.
That limitation was fixed in that release series.
To know if your PyLucene build is working fine run 'make test' after you build
it. If all tests pass, chances are good your build is sane.
Andi..
_______________________________________________
pylucene-dev mailing list
[email protected]
http://lists.osafoundation.org/mailman/listinfo/pylucene-dev