Package Details: python-cx_oracle 5.1.3-2

Package Base: python-cx_oracle
Description: Python extension module that allows access to Oracle databases
Upstream URL: http://cx-oracle.sourceforge.net/
Category: lib
Licenses: python
Submitter: kornerr
Maintainer: soul_rebel
Last Packager: soul_rebel
Votes: 3
First Submitted: 2012-07-16 10:55
Last Updated: 2015-02-07 08:34

Latest Comments

Comment by soul_rebel

2015-02-07 08:35

try now

Comment by freaks

2015-02-04 16:17

hello

i have this error when i try to compile
[code]
==> ERROR: Missing package() function in /data/build/python2-cx_oracle/btmp/PKGBUILD[/code]
and the package function is missing ...

can you update the package ?

thanks

Comment by soul_rebel

2014-09-13 06:25

I updated the PKGBUILD so that it compiles the latest version, that works for me with sdk version 12.x.

This is my first aur upload. If anyone cares to do better I will gladly yield mantainership, otherwise I'll try this role for a while.

Comment by kornerr

2014-05-13 12:19

I decided to disown the package, because I no longer use cx_Oracle at work.
As for 12 support, it won't hurt to patch cx_Oracle to support the latest version.

Comment by psi.neamf

2014-05-13 09:33

Lol, never got a notification and clearly didn't think about checking for replies after I fixed my problem, until now.

For other users who are trying to build this: cx_oracle does not build against version 12 of oracle-instantclient. The aur packages for oracle-instantclient-basic and oracle-instantclient-sdk (both are required for this package to build as the sdk depends on basic) can be modified to point to version 11.2.0.4.0. Then this package will build.

Ideally cx_oracle neeeds to be updated upstream.

Comment by kornerr

2013-10-17 12:38

So, it's not the package's fault, right?

Comment by psi.neamf

2013-10-17 09:44

Ah, the oracle packages are vesion 12g.
cx_Oracle appears to be looking for 11g as highest vesion number.

Comment by psi.neamf

2013-10-17 09:34

Hi,

I can't seem to build this :-|

==> Starting build()...
Traceback (most recent call last):
File "setup.py", line 126, in <module>
raise DistutilsSetupError(messageFormat % userOracleHome)
distutils.errors.DistutilsSetupError: Oracle home (/usr) does not refer to an 9i, 10g or 11g installation.

I have oracle-instantclient-basic and oracle-instantclient-sdk installed.

Any ideas? Thx.

Comment by kornerr

2012-07-17 03:31

The cx_oracle comments and voices has been moved to here. Thanks to Daniel.

Comment by kornerr

2012-07-16 10:58

whitelynx, I've done as you suggested and used the updated PKGBUILD you provided. Thanks for separation suggestion and PKGBUILD.
New packages:
python2-cx_oracle https://aur.archlinux.org/packages.php?ID=60871
python-cx_oracle https://aur.archlinux.org/packages.php?ID=60873

Unfortunately, I'm not sure how to delete this package. I'm not sure I have permissions to, since I'm only a supporter here. May be encelo can drop this package?

Comment by kornerr

2012-07-16 10:55

The package obsoletes cx_oracle one. The package has been created, because of Arch changes with Python 2/3. Thanks to whitelynx for suggestion.

Comment by whitelynx

2012-07-12 15:41

There is a new version available: 5.1.2

The name of the 'instantclient-sdk' dependency has also changed (it is now 'oracle-instantclient-sdk'), and it is now installed in /usr, so it doesn't require the ORACLE_HOME environment variable any more.

Updated PKGBUILD: http://pastebin.com/WXC6ieQF

Also, I'd like to suggest changing the package name to python2-cx_oracle and making a python-cx_oracle for python 3, in keeping with the Arch guidelines for Python packages.

Comment by kornerr

2011-11-29 11:13

I've made it for Python2, because I needed it for web.py which, for now, requires Python2.
If you want it for Python3, just change 'python2' in depends and in install to 'python'.

Comment by encelo

2011-05-01 17:25

I'm not dealing with Oracle anymore, would you like to adopt this package rickeyski?

Comment by rickeyski

2011-04-29 14:45

the current version of this is 5.1. It also doesn't need the oracle-xe dependency. It can be built with sqlplus and the instantclient-sdk and sqlplus if you don't want to install the entire database onto your computer as shown here http://pastebin.com/pU2wVu7z