jcc/jcc/config.py? Indeed it reflects my addition of -F/System/...,
with this:
LFLAGS=['-framework', 'JavaVM', '-F/System/Library/Frameworks', '-
framework', 'Python']
But, weirdly, I don't then see that in the final linking step when
running "make" in the pylucene dir. Here's the final line:
g++ -Wl,-F. -bundle -undefined dynamic_lookup -arch i386 -arch ppc
build/temp.macosx-10.5-i386-2.5/build/_lucene/__init__.o build/
temp.macosx-10.5-i386-2.5/build/_lucene/__wrap01__.o build/
temp.macosx-10.5-i386-2.5/build/_lucene/__wrap02__.o build/
temp.macosx-10.5-i386-2.5/build/_lucene/__wrap03__.o build/
temp.macosx-10.5-i386-2.5/build/_lucene/functions.o build/
temp.macosx-10.5-i386-2.5/build/_lucene/JArray.o build/
temp.macosx-10.5-i386-2.5/build/_lucene/JObject.o build/
temp.macosx-10.5-i386-2.5/build/_lucene/lucene.o build/
temp.macosx-10.5-i386-2.5/build/_lucene/types.o -L/Library/Python/2.5/
site-packages/JCC-2.2-py2.5-macosx-10.5-i386.egg -ljcc -o build/
lib.macosx-10.5-i386-2.5/lucene/_lucene.so -framework JavaVM -
framework Python -Wl,-S -Wl,-rpath /Library/Python/2.5/site-packages/
JCC-2.2-py2.5-macosx-10.5-i386.egg
Here's my config in the Makefile:
PREFIX_PYTHON=/usr
ANT=ant
PYTHON=$(PREFIX_PYTHON)/bin/python
JCC=$(PYTHON) -m jcc --shared
NUM_FILES=2
This must be something silly in my env...
Mike
On Mar 12, 2009, at 4:18 PM, Christian Heimes wrote:
Michael McCandless wrote:
Weird, that was not what I was seeing.
I think I cd'd to jcc, added -F into setup.py, "rm -r build", python
(coming from the right framework) setup.py build (confirmed -F
worked),
sudo python setup.py install, cd .., make clean, make, and I didn't
see
the -F flag on that g++ line.
Hmmm.... maybe somehow I was getting an older JCC install (in the
wrong
framework) when running that make.
Let me go try it again (now that I've nuked the wrong framework).
Check out jcc/config.py. It's auto-created during the build process
of JCC.
Christian