cx_Oracle install under cygwin

Miten Mehta <[email protected]>
Newsgroups gmane.comp.python.db.cx-oracle
Message-ID <CAC60Fwf218BdSHy3YCNsAmw6y7LEon_c7wUrFSjzPv-UEDDEAg@mail.gmail.com>
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.

------------------------------------------------------------------------------
Put Bad Developers to Shame
Dominate Development with Jenkins Continuous Integration
Continuously Automate Build, Test & Deployment 
Start a new project now. Try Jenkins in the cloud.
http://p.sf.net/sfu/13600_Cloudbees

_______________________________________________
cx-oracle-users mailing list
cx-oracle-users-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@public.gmane.org
https://lists.sourceforge.net/lists/listinfo/cx-oracle-users
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.