Hi PyLuceneDev:

I have a question about building a 64 bit binary of _lucene.so on Darwin.

I am using (from uname):
Darwin Kernel Version 9.8.0: Wed Jul 15 16:55:01 PDT 2009;
root:xnu-1228.15.4~1/RELEASE_I386 i386

In my Makefile, I have uncommented:
Mac OS X 10.6 (64-bit Python 2.6, Java 1.6)
PREFIX_PYTHON=/usr
ANT=ant
PYTHON=$(PREFIX_PYTHON)/bin/python
JCC=$(PYTHON) -m jcc.__main__ --shared --arch x86_64
NUM_FILES=2

But after building and installing, when I check the _lucene.so binary, it
returns
>>> file
/Library/Python/2.5/site-packages/lucene-3.0.1-py2.5-macosx-10.5-i386.egg/lucene/_lucene.so

/Library/Python/2.5/site-packages/lucene-3.0.1-py2.5-macosx-10.5-i386.egg/lucene/_lucene.so:
Mach-O universal binary with 2 architectures
/Library/Python/2.5/site-packages/lucene-3.0.1-py2.5-macosx-10.5-i386.egg/lucene/_lucene.so
(for architecture i386):    Mach-O bundle i386
/Library/Python/2.5/site-packages/lucene-3.0.1-py2.5-macosx-10.5-i386.egg/lucene/_lucene.so
(for architecture ppc7400):    Mach-O bundle ppc

Any suggestions for me to produce an x86_64 build (basically, I'm trying to
use pylucene with 64bit apache2 + wsgi)?

- Michael

Reply via email to