[pylucene-dev] PyLucene-JCC on OS X 10.5 (Intel Mac Pro)

Bill Janssen janssen at parc.com
Mon Nov 12 16:08:54 PST 2007


Just built and installed JCC and PyLucene on OS X Leopard; "make test"
works fine.  I'm using the system Python and Java:

# Mac OS X  (Python 2.5, Java 1.5)
PREFIX_PYTHON=/usr
ANT=ant
PYTHON=$(PREFIX_PYTHON)/bin/python
JCC=$(PYTHON) -m jcc
NUM_FILES=1

I get a few odd warnings from gcc:

  cc1plus: warning: command line option "-Wstrict-prototypes" is valid for C/ObjC but not for C++

and

  ld: warning in build/temp.macosx-10.5-i386-2.5/build/_lucene/lucene.o, file is not of required architecture

So, what API changes am I going to have to make to my code, aside from
calling "initVM()"?  Is there a summary anywhere?  I see that the
package seems to be called "lucene", instead of PyLucene.

Bill


More information about the pylucene-dev mailing list