[cx-oracle-users] cx_Oracle install under cygwin
Brought to you by:
atuining
|
From: Miten M. <ind...@gm...> - 2014-04-11 12:44:59
|
Hi,
I am unable to get python setup.py build to function correctly under cygwin.
$ python setup.py build
running build
running build_ext
building 'cx_Oracle' extension
creating build/temp.cygwin-1.7.27-i686-2.7-11g
gcc -fno-strict-aliasing -ggdb -O2 -pipe
-fdebug-prefix-map=/home/jt/rel/python-2.7.3-1/python-2.7.3-1/build=/usr/src/debug/python-2.7.3-1
-fdebug-prefix-map=/home/jt/rel/python-2.7.3-1/python-2.7.3-1/src/Python-2.7.3=/usr/src/debug/python-2.7.3-1
-DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes -I/usr/include
-I/cygdrive/d/software/oracle/instantclient_11_2/rdbms/demo
-I/cygdrive/d/software/oracle/instantclient_11_2/rdbms/public
-I/cygdrive/d/software/oracle/instantclient_11_2/network/public
-I/cygdrive/d/software/oracle/instantclient_11_2/oci/include
-I/usr/include/python2.7 -c cx_Oracle.c -o
build/temp.cygwin-1.7.27-i686-2.7-11g/cx_Oracle.o -DBUILD_VERSION=5.1
-mno-cygwin
gcc: error: unrecognized command line option '-mno-cygwin'
error: command 'gcc' failed with exit status 1
I am using /cygdrive/d/software/pythonlibs/cx_Oracle-5.1
$ echo $ORACLE_HOME
/cygdrive/d/software/oracle/instantclient_11_2
$ echo $LD_LIBRARY_PATH
/cygdrive/d/software/oracle/instantclient_11_2
My python is:
Python 2.7.3 (default, Dec 18 2012, 13:50:09)
[GCC 4.5.3] on cygwin
Type "help", "copyright", "credits" or "license" for more information.
dlopen("/usr/lib/python2.7/lib-dynload/readline.dll", 2);
import readline # dynamically loaded from
/usr/lib/python2.7/lib-dynload/readline.dll
Regards,
Miten.
I am not sure how to fix the error. why do I see those /usr/src/debug and
/home/jt/rel which are non-existent in my file system.
|