[pylucene-dev] PyLucene 2.1 on Debian Etch
Jarek Zgoda
jarek.zgoda at sensisoft.com
Mon Mar 5 06:53:27 PST 2007
Jarek Zgoda napisał(a):
> I tried to build PyLucene 2.1 on Debian Etch, but I ended with
> dynamically linked binary, as there's no libgcj.la in this distribution
> and the version of GCJ is not listed as supported. Has anyone any
> success with this version on Etch?
Well, at least I got some success. I was able to compile statically
linked _PyLucene.so using my own-baked gcc-4.2.0 following (mostly) the
instructions found Andi Vajda's recipe for Ubuntu64
(http://lists.osafoundation.org/pipermail/pylucene-dev/2006-November/001404.html)
with some additions. Building gcj required manual intervention in
Makefile to disable checks for native libraries (Cairo, GTK et al). This
resulted in 20MB binary that was unable to perform tests due to lacking
librt support. After intervention to PyLucene's Makefile and adding
"-lrt" to the LDFLAGS the error vanished. The library still crashes when
performing tests:
> Ran 3 tests in 0.001s
>
> OK
> WARNING: Error loading security provider gnu.javax.crypto.jce.GnuCrypto: java.lang.ClassNotFoundException: gnu.javax.crypto.jce.GnuCrypto
> WARNING: Error loading security provider gnu.javax.crypto.jce.GnuSasl: java.lang.ClassNotFoundException: gnu.javax.crypto.jce.GnuSasl
> WARNING: Error loading security provider gnu.javax.net.ssl.provider.Jessie: java.lang.ClassNotFoundException: gnu.javax.net.ssl.provider.Jessie
> WARNING: Error loading security provider gnu.javax.security.auth.callback.GnuCallbacks: java.lang.ClassNotFoundException: gnu.javax.security.auth.callback.GnuCallbacks
> xargs: /usr/bin/python: exited on signal 6
> make: *** [test] Error 125
Now I have to build PyLucene on 64-bit CentOS...
--
Jarek Zgoda
"We read Knuth so you don't have to."
More information about the pylucene-dev
mailing list