[cx-oracle-users] Compiling cx_Oracle with Linux Oracle Instantclient 10.2
Brought to you by:
atuining
From: Nicolas D. <ni...@du...> - 2005-11-08 15:56:28
|
Hi all, Below is a small patch I had to apply on cx_Oracle sources to make them compile on my Debian Linux testing box with the Oracle Instantclient 10.2. There were compilation warnings but the module seems to work for me (and I don't plan to use it for production applications so not a problem for me). Thanks, -- Nicolas Duboc <ni...@du...> --- setup.py.bak 2005-01-21 06:17:28.000000000 +0100 +++ setup.py 2005-11-08 15:33:15.000000000 +0100 @@ -47,7 +47,7 @@ libDirs[i] = os.path.join(oracleHome, libDirs[i]) libs = ["oci"] else: - includeDirs = ["rdbms/demo", "rdbms/public", "network/public"] + includeDirs = ["rdbms/demo", "rdbms/public", "network/public", "sdk/include"] if sys.platform == "darwin": includeDirs.append("plsql/public") for i in range(len(includeDirs)): @@ -56,6 +56,7 @@ if sys.platform == "sunos5" and sys.maxint > 2147483647: libPath = os.path.join(oracleHome, "lib64") libDirs = [libPath] + libDirs.append(oracleHome) libs = ["clntsh"] # determine the build time to use in the binary |