Re: [cx-oracle-users] Missing Headers?
Brought to you by:
atuining
From: Juan G. <ju...@di...> - 2013-06-11 18:37:37
|
Thanks David, for your quick response. It did solved my headers issue! Greatfully, Juan ----- Original Message ----- > From: "David Hancock (DHANCOCK)" <DHA...@ar...> > To: cx-...@li... > Sent: Tuesday, June 11, 2013 2:14:50 PM > Subject: Re: [cx-oracle-users] Missing Headers? > I think the fix for this is to apt-get python-dev. > Cheers! > -- > David Hancock | dha...@ar... > From: Juan Gorondi < ju...@di... > > Reply-To: " cx-...@li... " < > cx-...@li... > > Date: Tuesday, June 11, 2013 2:02 PM > To: " cx-...@li... " < > cx-...@li... > > Subject: [cx-oracle-users] Missing Headers? > 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 > ------------------------------------------------------------------------------ > This SF.net email is sponsored by Windows: > Build for Windows Store. > http://p.sf.net/sfu/windows-dev2dev > _______________________________________________ > cx-oracle-users mailing list > cx-...@li... > https://lists.sourceforge.net/lists/listinfo/cx-oracle-users |