Differences between revisions 1 and 23 (spanning 22 versions)
Revision 1 as of 2002-07-15 20:54:16
Size: 900
Editor: pD9EB03FC
Comment:
Revision 23 as of 2007-07-04 11:36:13
Size: 3109
Editor: ctb-cache5-vif1
Comment:
Deletions are marked like this. Additions are marked like this.
Line 6: Line 6:
  URL:: http://www.oracle.com/ip/deploy/database/oracle9i/
  licence:: commercial (free developmnt versions available?)
  platforms::
  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
Line 16: Line 19:
  platforms::   platforms:: Unix, win32
Line 25: Line 28:
  URL:: http://www.computronix.com/utilities/
  licence:: BSD like: http://www.computronix.com/utilities/License.txt
  platforms::
  Python versions:: 2.0 - 2.2
  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
Line 33: Line 37:

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''
Line 50: Line 89:
 * an Oracle (DCOracle and DCOracle2) driver exists for ["PyDO"] (Python Data Objects)
Line 54: Line 94:
 * Requires bloated Oracle client installation on any machine that the app will run on


== Weblinks ==

[http://www.orafaq.com/forum Oracle Forum]

Oracle Wiki's: [http://www.orafaq.com/wiki English] [http://www.oracle-10g.de/oracle-wiki German]

Oracle Documentation: [http://www.oracle-doku.de/oracle_10g_documentation/index.htm 10g] [http://www.oracle-doku.de/oracle_9i_documentation/index.htm 9i] [http://www.oracle-doku.de/oracle_8i_documentation/index.htm 8i] [http://www.oracle-doku.de/oracle_7_documentation/index.htm 7]

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 Oracle Forum]

Oracle Wiki's: [http://www.orafaq.com/wiki English] [http://www.oracle-10g.de/oracle-wiki German]

Oracle Documentation: [http://www.oracle-doku.de/oracle_10g_documentation/index.htm 10g] [http://www.oracle-doku.de/oracle_9i_documentation/index.htm 9i] [http://www.oracle-doku.de/oracle_8i_documentation/index.htm 8i] [http://www.oracle-doku.de/oracle_7_documentation/index.htm 7]

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

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