KK wrote:
kk-laptop:~/softies/socs/PyLucene-2.2.0-1/jcc$ python setup.py build running build running build_py creating build creating build/lib.linux-i686-2.6 creating build/lib.linux-i686-2.6/jcc copying jcc/cpp.py -> build/lib.linux-i686-2.6/jcc copying jcc/config.py -> build/lib.linux-i686-2.6/jcc copying jcc/python.py -> build/lib.linux-i686-2.6/jcc copying jcc/__init__.py -> build/lib.linux-i686-2.6/jcc creating build/lib.linux-i686-2.6/jcc/sources copying jcc/sources/jcc.cpp -> build/lib.linux-i686-2.6/jcc/sources copying jcc/sources/JCCEnv.cpp -> build/lib.linux-i686-2.6/jcc/sources copying jcc/sources/functions.cpp -> build/lib.linux-i686-2.6/jcc/sources copying jcc/sources/JObject.cpp -> build/lib.linux-i686-2.6/jcc/sources copying jcc/sources/functions.h -> build/lib.linux-i686-2.6/jcc/sources copying jcc/sources/macros.h -> build/lib.linux-i686-2.6/jcc/sources copying jcc/sources/JObject.h -> build/lib.linux-i686-2.6/jcc/sources copying jcc/sources/JArray.h -> build/lib.linux-i686-2.6/jcc/sources copying jcc/sources/JCCEnv.h -> build/lib.linux-i686-2.6/jcc/sources running build_ext building 'jcc._jcc' extension creating build/temp.linux-i686-2.6 creating build/temp.linux-i686-2.6/jcc creating build/temp.linux-i686-2.6/jcc/sources creating build/temp.linux-i686-2.6/_jcc creating build/temp.linux-i686-2.6/_jcc/java creating build/temp.linux-i686-2.6/_jcc/java/util creating build/temp.linux-i686-2.6/_jcc/java/lang creating build/temp.linux-i686-2.6/_jcc/java/lang/reflect gcc -pthread -fno-strict-aliasing -DNDEBUG -g -fwrapv -O2 -Wall -Wstrict-prototypes -fPIC -I/usr/lib/jvm/java-6-openjdk/include/ -I/usr/lib/jvm/java-6-openjdk/include/linux -I_jcc -Ijcc/sources -I/usr/include/python2.6 -c jcc/sources/jcc.cpp -o build/temp.linux-i686-2.6/jcc/sources/jcc.o -DPYTHON cc1plus: warning: command line option "-Wstrict-prototypes" is valid for Ada/C/ObjC but not for C++ jcc/sources/jcc.cpp:29:20: error: Python.h: No such file or directory
sudo apt-get install python-dev Christian