lucene-java-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Herbert Roitblat" <>
Subject Trouble compiling JCC
Date Tue, 27 Apr 2010 21:37:45 GMT
I'm trying to compile JCC, using  python build

This is what I get:

~/pylucene-2.9.2-1/jcc$ python build                   running 
running build_py
copying jcc/ -> build/lib.linux-x86_64-2.5/jcc
running build_ext
building 'jcc._jcc' extension
gcc -pthread -fno-strict-aliasing -DNDEBUG -g -fwrapv -O2 -Wall -Wstrict-prototypes 
 -fPIC -I/usr/lib/jdk/java-6-sun- -I/usr/lib/jdk/java-6-sun-

 -I_jcc -Ijcc/sources -I/usr/include/python2.5 -c jcc/sources/JArray.cpp -o 
build/temp.linux-x86_64-2.5/jcc/sources/JArray.o -DPYTHON -fno-strict-aliasing 
cc1plus: warning: command line option "-Wstrict-prototypes" is valid for 
Ada/C/ObjC but not for C++
In file included from jcc/sources/JArray.cpp:21:
jcc/sources/JArray.h:483: error: redefinition of âclass JArray<signed char>â
jcc/sources/JArray.h:337: error: previous definition of âclass JArray<signed 
jcc/sources/JArray.cpp:961: error: redefinition of âPyObject* JArray<signed 
jcc/sources/JArray.cpp:945: error: âPyObject* JArray<signed char>::wrap()â 
previously defined here
error: command 'gcc' failed with exit status 1

I saw a message posted ( ) 
saying that it is using the wrong header files., but I don't know how to 
change the header files that it is using.

I'm trying to build pylucene-2.9.2-1 on Ubuntu 8.04.

What other information would be useful?


To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message