Hi Andi,

On Apr 6, 2006, at 10:12 AM, Andi Vajda wrote:


On Wed, 5 Apr 2006, Kevin Ollivier wrote:

I think I've found the root of the problem and have attached a patch which, at least, gets rid of the segfault when running PyLucene in my tests. Read below for more info on how I got this far. ;-)

  Kevin,

This is awesome !

I got it to work in Linux by adding the classes from your patch to _PyLucene.cpp via JvInitClass() calls.

I also followed the linking steps as described here:
    http://gcc.gnu.org/wiki/Statically%20linking%20libgcj
for those less than obvious link command line arguments.

I've checked this into the PyLucene trunk. Now, onto Mac OS X where libgcj.dylib is even huger.

Thank you so much for figuring this out !

No problem! This project is a huge help to me in my own projects (Lucene is by far the best full-text indexer I've come across) so this is pretty small compared to what you guys have enabled me to do in my own apps. :-)

Thanks,

Kevin

Andi..


_______________________________________________
pylucene-dev mailing list
[email protected]
http://lists.osafoundation.org/mailman/listinfo/pylucene-dev

Reply via email to