[pylucene-dev] two different JCC modules in same VM; initVM()?

Bill Janssen janssen at parc.com
Sat Mar 15 16:21:09 PDT 2008


This breaks on OS X 10.4:

c++ -Wl,-F. -Wl,-F. -bundle -undefined dynamic_lookup build/temp.darwin-8.11.0-Power_Macintosh-2.3/System/Library/Frameworks/Python.framework/Versions/2.3/lib/python2.3/site-packages/JCC-1.8-py2.3-macosx-10.4-ppc.egg/jcc/sources/JObject.o build/temp.darwin-8.11.0-Power_Macintosh-2.3/System/Library/Frameworks/Python.framework/Versions/2.3/lib/python2.3/site-packages/JCC-1.8-py2.3-macosx-10.4-ppc.egg/jcc/sources/functions.o build/temp.darwin-8.11.0-Power_Macintosh-2.3/build/_lucene/__init__.o build/temp.darwin-8.11.0-Power_Macintosh-2.3/build/_lucene/__wrap__.o build/temp.darwin-8.11.0-Power_Macintosh-2.3/build/_lucene/lucene.o -L/System/Library/Frameworks/Python.framework/Versions/2.3/lib/python2.3/site-packages/JCC-1.8-py2.3-macosx-10.4-ppc.egg -ljcc -o build/lib.darwin-8.11.0-Power_Macintosh-2.3/lucene/_lucene.so -framework JavaVM -Wl,-S -Wl,-rpath /System/Library/Frameworks/Python.framework/Versions/2.3/lib/python2.3/site-packages/JCC-1.8-py2.3-macosx-10.4-ppc.egg
/usr/bin/ld: unknown flag: -rpath
collect2: ld returned 1 exit status
error: command 'c++' failed with exit status 1
make: *** [compile] Error 1

By the way, you need to change the 10.4 PPC Makefile branch to use JCC 1.8 instead of 1.7.

Bill


More information about the pylucene-dev mailing list