Differences between revisions 21 and 22
Revision 21 as of 2006-12-20 03:29:28
Size: 3106
Editor: ip-85-160-0-27
Comment: answered a question/comment
Revision 22 as of 2007-01-12 10:49:27
Size: 3000
Editor: sa216-05
Comment: Removing a no longer valid link
Deletions are marked like this. Additions are marked like this.
Line 109: Line 109:

http://prpi.blogspot.com/ - Przemek Piotrowski blogging about Python, Oracle and emerging technologies

TableOfContents

Masthead

URL

http://www.oracle.com/index.html

FAQ

http://www.orafaq.com/

Wiki

http://www.orawiki.com/

Wikipedia

http://en.wikipedia.org/wiki/Oracle_database

license

commercial; free for development from [http://www.oracle.com/technology//index.html Oracle Technology Network]; [http://www.oracle.com/technology/software/products/database/xe/index.html Oracle XE] is free for production and development(and an excellent option all-around)

platforms
Unix, Linux, win32, win64

DB API 2.0 Drivers

DCOracle2

URL

http://www.zope.org/Members/matt/dco2

licence
ZPL
platforms
Unix, win32
Python versions

Extensions to DB API

Comments

cx_Oracle

URL

http://www.computronix.com/utilities.shtml

licence

[http://www.computronix.com/download/License(cxOracle).txt BSD like]

platforms
Unix, win32
Python versions
2.2 - 2.4
Oracle versions
8i - 10g

Extensions to DB API

Comments

While trying to install the cx_Oracle Python utility, I encounter the following error:

sh-2.05b# python setup.py build

running build

running build_ext

building 'cx_Oracle' extension

gcc -pthread -DNDEBUG -g -O3 -Wall -Wstrict-prototypes -fPIC -I/devtools/oracle/product/8.1.5/rdbms/demo -I/devtools/oracle/product/8.1.5/rdbms/public -I/devtools/oracle/product/8.1.5/network/public -I/usr/local/python2.4/include/python2.4 -c cx_Oracle.c -o build/temp.linux-i686-2.4/cx_Oracle.o -DBUILD_TIME="January 21, 2005 11:19:47"

cx_Oracle.c:10: xa.h: No such file or directory

error: command 'gcc' failed with exit status 1

Where can I find the xa.h file? The only package I could find online that provides any such file is a cd i/o library, and that doesn’t seem right.

I am running a 2.4 linux kernel, trying to install cx_Oracle-4.0.1 on top of Python 2.4.

I have tried the beta package which should be more 2.4 compatible, but still no luck. Any help is appreciated. Thanks!

Answer:

I got the same problem. Installing package "python2.4-dev" worked for me.

apt-get install python2.4-dev

Other Drivers

driver name

URL
licence
platforms
Python versions

Programming Model

Comments

Supported Python Applications

  • ["Zope"]
  • an Oracle (DCOracle and DCOracle2) driver exists for ["PyDO"] (Python Data Objects)

Pros

Cons

  • Requires bloated Oracle client installation on any machine that the app will run on

http://www.orafaq.com/forum

http://www.oracle-10g.de/oracle-wiki

http://www.oracle-doku.de/oracle_10g_documentation/index.htm

http://www.oracle-doku.de/oracle_9i_documentation/index.htm

http://www.oracle-doku.de/oracle_8i_documentation/index.htm

http://www.oracle-doku.de/oracle_7_documentation/index.htm

Oracle (last edited 2017-08-07 18:24:13 by MaximilianFuxjaeger)

Unable to edit the page? See the FrontPage for instructions.