[pylucene-dev] Trouble compiling JCC in PyLucene 2.4.0-2
Eric P
eric.maillist at gmail.com
Wed Jun 24 15:29:08 PDT 2009
Hi,
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:
...snip
In file included from /usr/include/stdio.h:28,
from /usr/lib/gcc/i586-redhat-linux/4.4.0/include/jni.h:48,
from jcc/sources/JArray.cpp:19:
/usr/include/features.h:160:1: warning: this is the location of the
previous definition
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
JArray<signed char>’
jcc/sources/JArray.cpp:948: error: redefinition of ‘PyObject*
JArray<signed char>::wrap()’
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.
Eric P
More information about the pylucene-dev
mailing list