It looks like you didn't define GCJ_LIBDIR in PyLucene's Makefile.
I must have misunderstood -- its default, $(GCJ_HOME)/lib looked good to me. But you're right, if I uncomment the default, it works. I assumed that wasn't necessary.
With that set to /usr/lib, it installs fine.
Take a close look at the Linux section in PyLucene's Makefile, there are a
quite a few more variables to get right.
I think I have all of them working, but there is still an issue. Now I have this setup:
PREFIX=/usr/local
PREFIX_PYTHON=/usr
GCJ_HOME=/usr
GCJ_LIBDIR=$(GCJ_HOME)/lib
GCJ_STATIC=1
LIB_INSTALL=libstdc++.so.6 libgcc_s.so.1
#DB=$(PYLUCENE)/db-$(DB_VER)
#PREFIX_DB=$(PREFIX)/BerkeleyDB.$(DB_LIB_VER)
ANT=ant
PYTHON=$(PREFIX_PYTHON)/bin/python
I'm getting:
ImportError: /usr/lib/python2.4/site-packages/_PyLucene.so: undefined symbol: deflate
So now it apparently isn't binding to zlib correctly.
What version of gcj are you using ?
$ gcj --version
gcj (GCC) 4.0.2 20050808 (prerelease) (Ubuntu 4.0.1-4ubuntu9)
What version of python ?
2.4.2
_______________________________________________ pylucene-dev mailing list [email protected] http://lists.osafoundation.org/mailman/listinfo/pylucene-dev
