On Feb 11, 2008, at 9:47, Andi Vajda <[EMAIL PROTECTED]> wrote:
On Feb 11, 2008, at 5:24, Alessandro Magni <[EMAIL PROTECTED]> wrote:
Hello everybody,
I am not a python developer at all, but I badly need JCC installed
(because I need PyLucene installed (because I need UpLib installed
(...)))
While compiling the just-downloaded JCC, I get immediately:
It looks like you might be picking up header files you shouldn't
that contain an incorrect definition of jbyte.
In particular, how many versions of jni.h do you have installed ?
Are you sure that you're picking up the one for sun java 6 ?
Andi..
Andi..
[EMAIL PROTECTED] JCC-1.7]# python setup.py build
running build
running build_py
copying jcc/config.py -> build/lib.linux-i686-2.5/jcc
running build_ext
building 'jcc._jcc' extension
gcc -pthread -fno-strict-aliasing -DNDEBUG -O2 -g -pipe -Wall -Wp,-
D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector --param=ssp-
buffer-size=4 -m32 -march=i386 -mtune=generic -fasynchronous-unwind-
tables -D_GNU_SOURCE -fPIC -fPIC -I/usr/lib/jvm/java-6-sun/include -
I/usr/lib/jvm/java-6-sun/include/linux -I_jcc -Ijcc/sources -I/usr/
include/python2.5 -c jcc/sources/jcc.cpp -o build/temp.linux-
i686-2.5/jcc/sources/jcc.o -DPYTHON -fno-strict-aliasing
jcc/sources/JArray.h:166: error: redefinition of 'class
JArray<signed char>'
jcc/sources/JArray.h:74: error: previous definition of 'class
JArray<signed char>'
jcc/sources/jcc.cpp: In function 'PyObject* make_descriptor(jbyte)':
jcc/sources/jcc.cpp:183: error: redefinition of 'PyObject*
make_descriptor(jbyte)'
jcc/sources/jcc.cpp:168: error: 'PyObject* make_descriptor
(jboolean)' previously defined here
error: command 'gcc' failed with exit status 1
Please, tell me which other info you need, I am really in dire
straits...
thank you !
alessandro
--
~~~
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/ Dr.Alessandro Magni
\ Electromagnetics Division
/ INRiM Strada delle Cacce 91, 10135 Torino (ITALIA)
\ Email [EMAIL PROTECTED]
/ Tel: 0039-011-3919821 Fax: 0039-011-3919834
\ URL http://www.inrim.it/~magni
/ Our business in life is not to succeed but to continue to fail \
in high spirits. -- Robert Louis Stevenson
~~~
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
_______________________________________________
pylucene-dev mailing list
[email protected]
http://lists.osafoundation.org/mailman/listinfo/pylucene-dev
_______________________________________________
pylucene-dev mailing list
[email protected]
http://lists.osafoundation.org/mailman/listinfo/pylucene-dev
_______________________________________________
pylucene-dev mailing list
[email protected]
http://lists.osafoundation.org/mailman/listinfo/pylucene-dev