[pylucene-dev] Trouble compiling JCC in PyLucene 2.4.0-2
eric.maillist at gmail.com
Wed Jun 24 15:29:08 PDT 2009
I'm trying to compile/install PyLucene 2.4.0-2 on Fedora 11.
I'm getting stuck compiling JCC. Here's the install output:
In file included from /usr/include/stdio.h:28,
/usr/include/features.h:160:1: warning: this is the location of the
In file included from jcc/sources/JArray.cpp:24:
jcc/sources/JArray.h:502: error: redefinition of ‘class JArray<signed char>’
jcc/sources/JArray.h:356: error: previous definition of ‘class
jcc/sources/JArray.cpp:948: error: redefinition of ‘PyObject*
jcc/sources/JArray.cpp:937: error: ‘PyObject* JArray<signed
char>::wrap()’ previously defined here
error: command 'gcc' failed with exit status 1
Looking at another thread it seemed to matter which JDK/JRE I'm
running. I tried with the default OpenJDK provided by Fedora 11
(1.6.0) and also Sun's JDK/JRE (1.6.0_14). I see the same error with
either selected as the default.
Thanks for reading.
More information about the pylucene-dev