Hello, All,
I've been loosing sleep trying to get PyLucene going on my G3 iMac running
Ubuntu 6.06. I've tried compiling with 3.4.4, 3.4.6, and the 4.0.3 that ships
with the OS. I've gotten furthest with 4.0.3, but I hit this after a while:
/usr/bin/g++ -Ilucene-java-2.1.0-509013/build/classes/java
-Ilucene-java-2.1.0-509013/build/contrib/highlighter/classes/java
-Ilucene-java-2.1.0-509013/build/contrib/snowball/classes/java
-Ilucene-java-2.1.0-509013/build/contrib/analyzers/classes/java
-Ilucene-java-2.1.0-509013/build/contrib/regex/classes/java
-Ilucene-java-2.1.0-509013/build/contrib/queries/classes/java -Irelease/classes
-I/usr/include/python2.4 -I/usr/include -O2 -fPIC -c -o release/regex.cpp.o
cpp/PythonRegex.cpp
In file included from cpp/PythonRegex.cpp:24:
cpp/PyLucene.h:27:21: error: gcj/cni.h: No such file or directory
cpp/PyLucene.h:29:34: error: java/lang/Comparable.h: No such file or directory
cpp/PyLucene.h:30:34: error: java/util/Collection.h: No such file or directory
In file included from cpp/PyLucene.h:43,
from cpp/PythonRegex.cpp:24:
cpp/../converters.h:29:33: error: java/lang/Throwable.h: No such file or
directory
..and then lots more woe.
I'm a little out of my depth here and if I could find a binary, I'd use it.
Some version info:
Linux atomboy 2.6.15-27-powerpc
Python 2.4.3 (#2, Oct 6 2006, 07:50:06)
[GCC 4.0.3 (Ubuntu 4.0.3-1ubuntu5)] on linux2
gcc (GCC) 4.0.3 (Ubuntu 4.0.3-1ubuntu5)
#This is the version of Makefile that gets furthest - I'm not on 64bit, but I
had no luck with the gcc 3.4.4 version so I thought I'd try this.
# Linux 64 (with gcc 4.2.0 and libgcj dynamically linked)
PREFIX=/usr
PREFIX_PYTHON=/usr
LIBDIR_NAME=lib
GCJ_HOME=/usr
GCJ_LIBDIR=$(GCJ_HOME)/$(LIBDIR_NAME)
GCJ_STATIC=0
LIB_INSTALL=libgcj.so.8 libstdc++.so.6 libgcc_s.so.1
#WCCFLAGS=-Wno-write-strings
#DB=$(PYLUCENE)/db-$(DB_VER)
#PREFIX_DB=$(PREFIX)/BerkeleyDB.$(DB_LIB_VER)
ANT=ant
PYTHON=$(PREFIX_PYTHON)/bin/python
java version "1.5.0"
Java(TM) 2 Runtime Environment, Standard Edition (build pxp32dev-20070201 (SR4))
IBM J9 VM (build 2.3, J2RE 1.5.0 IBM J9 2.3 Linux ppc-32 j9vmxp3223-20070201
(JIT enabled)
Apache Ant version 1.6.5 compiled on October 26 2005
Any advice apreciated- thanks!
-Andrew
_______________________________________________
pylucene-dev mailing list
[email protected]
http://lists.osafoundation.org/mailman/listinfo/pylucene-dev