Learn how easy it is to sync an existing GitHub or Google Code repo to a SourceForge project! See Demo

Close

#80 jpype "setup.py" fails under Ubuntu 11.04

open
nobody
None
5
2011-06-27
2011-06-27
Anonymous
No

After downloading the 0.5.4.1 zip to an Ubuntu 11.04 system.
python setup.py build
running build
running build_py
running build_ext
building '_jpype' extension
cc1plus: warning: command line option "-Wstrict-prototypes" is valid for Ada/C/ObjC but not for C++
In file included from src/native/common/jp_invocationhandler.cpp:1:0:
src/native/common/include/jpype.h:45:17: fatal error: jni.h: No such file or directory
compilation terminated.
error: command 'gcc' failed with exit status 1

However, the Synaptic manager installs correctly, I think.
Oz
4dtext.com

Discussion