[pylucene-dev] PyLucene-JCC on Ubuntu Gutsy
Pete
pfein at pobox.com
Sun Nov 11 18:45:33 PST 2007
Just wanted to report that I built PyLucene with JCC (r359 of trunk) on Ubuntu
Gutsy Gibbon with no problems. `make test` appears to pass as well. I needed
to `aptitude install sun-java6-jdk ant` first. My config's below.
*So* much easier than gcj. Thanks Andi!
## Makefile ##
PREFIX_PYTHON=/usr
ANT=ant
PYTHON=$(PREFIX_PYTHON)/bin/python
JCC=$(PYTHON) -m jcc
NUM_FILES=1
## jcc/setup.py (these were the defaults) ##
# INCLUDES
'linux2': ['/usr/lib/jvm/java-6-sun/include',
'/usr/lib/jvm/java-6-sun/include/linux'],
# LDFLAGS
'linux2': ['-L/usr/lib/jvm/java-6-sun/jre/lib/i386', '-ljava',
'-Wl,-rpath=/usr/lib/jvm/java-6-sun/jre/lib/i386:/usr/lib/jvm/java-6-sun/jre/lib/i386/client'],
--
Peter Fein || 773-575-0694 || pfein at pobox.com
http://www.pobox.com/~pfein/ || PGP: 0xCCF6AE6B
irc: pfein at freenode.net || jabber: peter.fein at gmail.com
More information about the pylucene-dev
mailing list