On Fri, 6 Oct 2006, Terry Jones wrote:
Is this list the appropriate place to ask questions about installing
PyLucene?
Yes.
I spent quite a bit of time yesterday trying to make things build and play
together. The last thing I tried was to co the PyLucene trunk and follow
the instructions in INSTALL on building gcc-3.4.4 from sources. I do this,
and the build goes swimmingly until it hits this:
You say you're on OS X 10.4.7. Is that PPC or Intel ?
If you're on PPC 10.4.7, then gcj 3.4.4 should work. I've never tried gcc
4.0.2 on PPC OS X. I've tried gcj 4.1.0 built via darwinports and that did
work (again, on PPC OS X only).
If you're on Intel 10.4.7, then gcj 3.4.4 will not work. You must then build
gcj 4.0.2 with the patches included here:
http://gcc.gnu.org/ml/java/2006-05/msg00151.html
And looking in /usr/local/BerkeleyDB.4.4/include/db.h I see the following
empty section:
I'm trying to build gcc in order to then build PyLucene against BSD DB
4.4.20. The 4.3.28 version of BSD DB does not seem to be available at
sleepycat any longer. Plus I already have Python's bsddb built against
4.4.20, so I thought building PyLucene against it was the best option.
The PyLucene -db- flavor of the binaries can be built with db 4.3.29 or db
4.4.20. Both are supported and the right version must be chosen in PyLucene's
Makefile. Also, you must ensure that the bsddb you're using is built against
the *same* version of Berkeley DB and is linked against the same shared
libraries.
Also, you do *not* need to build PyLucene against Berkeley DB unless you want
to use the DBDirectory feature. It is optional and is turned off by default in
the Makefile. The DB variable is commented out.
BTW, the README in the PyLucene tarballs says "To build PyLucene from
sources, please see the INSTALL file." This could be improved a little -
the INSTALL file is in svn but is not shipped in the tarballs.
Strange. The PyLucene-src-2.0.0-3.tar.gz source tarball I uploaded last night
does include that file. Which archive did you start with ?
Andi..
_______________________________________________
pylucene-dev mailing list
[email protected]
http://lists.osafoundation.org/mailman/listinfo/pylucene-dev