[cx-oracle-users] Missing Headers?
Brought to you by:
atuining
From: Juan G. <ju...@di...> - 2013-06-11 18:02:34
|
I am attempting to install cx_Oracle-5.1.2 on Ubuntu 12.04 with python 2.7.3 I am getting the following build error: root@ubu1:/usr/local/src/cx_Oracle-5.1.2# python setup.py build running build running build_ext building 'cx_Oracle' extension creating build creating build/temp.linux-x86_64-2.7-11g gcc -pthread -fno-strict-aliasing -DNDEBUG -g -fwrapv -O2 -Wall -Wstrict-prototypes -fPIC -I/usr/local/src/instantclient_11_2/sdk/i2 cx_Oracle.c:6:20: fatal error: Python.h: No such file or directory compilation terminated. error: command 'gcc' failed with exit status 1 I searched the entire system for the missing header file to no avail. I also noticed that the include path /usr/local/src/instantclient_11_2/sdk/i2 does not exist. There is, however, an sdk/include directory with some header files included in cx_Oracle.c such as oci.h, orid.h, xa.h. But Python.h and structmember.h are missing. Any suggestions? Juan |