On Wed, 16 Jul 2008, Jelle Feringa wrote:
Though I was very pleased to see binaries for osx 10.5, I'm afraid I have not
been able to use these.
Basically when I call lucene.RAMDirectory() I get a bus error.
As stated in the README file, you need to call initVM() before anything
else.
Andi..
Here's a dump from my console.
I installed the jcc egg as well and added the directory where libjcc.dylib
can be found to my $DYLD_LIBRARY_PATH
I also tried installing older binaries to no avail ( 2.2.01 ). I also tried
compiling the project, jcc compiled out of the box, but the Makefile halt
with:
cd lucene-java-2.3.2; -Dversion=2.3.2
/bin/sh: -Dversion=2.3.2: command not found
make: *** [lucene-java-2.3.2/build/lucene-core-2.3.2.jar] Error 127
So, I basically ran out of options. And as far as I can see the 10.5 eggs (
again, a gem if things would work out of the box ).
Any suggestions ( better yet, working eggs ;') would be much appreciated.
Many thanks in advance,
-jelle
=============== terminal dump ===============
brutus:~ jelleferinga$ easy_install -f http://kapil.objectrealms.net/dist
lucene
Searching for lucene
Reading http://kapil.objectrealms.net/dist
Best match: lucene 2.4.0-649619
Downloading
http://kapil.objectrealms.net/dist/lucene-2.4.0_649619-py2.5-macosx-10.5-i386.egg
Processing lucene-2.4.0_649619-py2.5-macosx-10.5-i386.egg
creating
/Library/Python/2.5/site-packages/lucene-2.4.0_649619-py2.5-macosx-10.5-i386.egg
Extracting lucene-2.4.0_649619-py2.5-macosx-10.5-i386.egg to
/Library/Python/2.5/site-packages
Adding lucene 2.4.0-649619 to easy-install.pth file
Installed
/Library/Python/2.5/site-packages/lucene-2.4.0_649619-py2.5-macosx-10.5-i386.egg
Processing dependencies for lucene
Finished processing dependencies for lucene
brutus:~ jelleferinga$ easy_install -f http://kapil.objectrealms.net/dist jcc
Searching for jcc
Reading http://kapil.objectrealms.net/dist
Best match: JCC 1.9
Downloading
http://kapil.objectrealms.net/dist/JCC-1.9-py2.5-macosx-10.5-i386.egg
Processing JCC-1.9-py2.5-macosx-10.5-i386.egg
creating /Library/Python/2.5/site-packages/JCC-1.9-py2.5-macosx-10.5-i386.egg
Extracting JCC-1.9-py2.5-macosx-10.5-i386.egg to
/Library/Python/2.5/site-packages
Adding JCC 1.9 to easy-install.pth file
Installed
/Library/Python/2.5/site-packages/JCC-1.9-py2.5-macosx-10.5-i386.egg
Processing dependencies for jcc
Finished processing dependencies for jcc
brutus:~ jelleferinga$ ipython
Python 2.5.1 (r251:54863, Jan 17 2008, 19:35:17)
Type "copyright", "credits" or "license" for more information.
IPython 0.8.2 -- An enhanced Interactive Python.
? -> Introduction and overview of IPython's features.
%quickref -> Quick reference.
help -> Python's own help system.
object? -> Details about 'object'. ?object also works, ?? prints more.
In [1]: import lucene
In [2]: lucene.RAMDirectory()
Bus error
brutus:~ jelleferinga$
=============== terminal dump ===============
_______________________________________________
pylucene-dev mailing list
pylucene-dev@osafoundation.org
http://lists.osafoundation.org/mailman/listinfo/pylucene-dev