[pylucene-dev] PyLucene2 from sources on Ubuntu

Andi Vajda vajda at osafoundation.org
Tue Jun 13 08:54:50 PDT 2006


On Tue, 13 Jun 2006, Victor Peinado wrote:

> Hi all,
>
> I'm trying to install PyLucene-src-2.0.0 on an Ubuntu Hoary box
> without success. I'm using the current available packages:
> gcc-3.4.3-9ubuntu4, g++-3.4.3-9ubuntu4 and gcj-3.4.3-9ubuntu4, and the
> copilation exits, after finding some errors in IndexReader.h, with the
> following message:
>
> make: *** [release/regex.cpp.o] Error 1
>
> Has anybody been able to install it on Ubuntu? Any idea about why it's
> crashing? Thanks a lot in advance.

The first error says:

> En el fichero incluido de cpp/PythonRegex.cpp:24:
> cpp/PyLucene.h:27:21: gcj/cni.h: No existe el fichero o el directorio
> cpp/PyLucene.h:29:34: java/lang/Comparable.h: No existe el fichero o
> el directorio
> cpp/PyLucene.h:30:34: java/util/Collection.h: No existe el fichero o
> el directorio

It looks like you don't have the header files to common Java classes 
installed. This prevents any CNI C++ code from being compiled. Why that is, I 
don't know but some essential stuff is missing from the your gcj installation.

Andi..


More information about the pylucene-dev mailing list