Re: Missing Headers?

Juan Gorondi <juang-Cd52Pbhak+NxEa0u/P/[email protected]>
Newsgroups gmane.comp.python.db.cx-oracle
Message-ID <1556064707.8742583.1370975849811.JavaMail.root@dining.rutgers.edu>
Thanks David, for your quick response. It did solved my headers issue! 
Greatfully, 
Juan 

----- Original Message -----

> From: "David Hancock (DHANCOCK)" <DHANCOCK-Iw1l/[email protected]>
> To: cx-oracle-users-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@public.gmane.org
> 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 | dhancock-Iw1l/[email protected]

> From: Juan Gorondi < juang-Cd52Pbhak+NxEa0u/P/[email protected] >
> Reply-To: " cx-oracle-users-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@public.gmane.org " <
> cx-oracle-users-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@public.gmane.org >
> Date: Tuesday, June 11, 2013 2:02 PM
> To: " cx-oracle-users-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@public.gmane.org " <
> cx-oracle-users-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@public.gmane.org >
> 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-oracle-users-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@public.gmane.org
> https://lists.sourceforge.net/lists/listinfo/cx-oracle-users

------------------------------------------------------------------------------
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-oracle-users-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@public.gmane.org
https://lists.sourceforge.net/lists/listinfo/cx-oracle-users
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.