Hi Andi. Thanks for answering.
| > 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 ? Sorry, it's 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 Ok, I'll try that, thanks. | 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. Ok. | 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. I saw that, and uncommented it. I don't know exactly what the DBDirectory feature does, but it sounds good :-) I imagine it arranges for Lucene to use BDB DB for all back-end storage (and I read that it gives me transactions, which I need), instead of storing indices into the file system. | > 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 ? That's a source tarball. I downloaded a couple of binary ones, e.g.: $ md5sum PyLucene-db-2.0.0.tar.gz 600abf7377a66aa225fd5a43de489686 PyLucene-db-2.0.0.tar.gz $ ls -la PyLucene-db-2.0.0.tar.gz -rw-r--r-- 1 terry terry 10246479 May 28 01:55 PyLucene-db-2.0.0.tar.gz This for the Mac intel (and PPC) binary tarballs. I suppose it's a minor point - if you download a binary tarball, you're not intending to build from source. But then again, you're lead to look for an INSTALL file. Thanks again, I'll give it another shot. Terry _______________________________________________ pylucene-dev mailing list [email protected] http://lists.osafoundation.org/mailman/listinfo/pylucene-dev
