[cx-oracle-users] More cx_Oracle under cygwin python woes
Brought to you by:
atuining
From: Laurelin of M. E. <la...@fn...> - 2006-09-19 20:47:02
|
Good day, After much wailing and gnashing of teeth (aka, reading the fine documentation and trying lots of peoples' suggestions) -- I still cannot get cx_Oracle to work in my cygwin python environment. It works in the Windows python environment -- and the windows installer did everything "just fine". But that doesn't really help me. I've tried building from scratch using "python setup.py build --compiler=mingw32", but get a multiscreenful of error messages that indicate I do not have the appropriate OCI "stuff" (whatever that means). The ORACLE_HOME I have contains OracleDesigner, and sqlplus, and other stuff -- but evidently not the part needed for OCI. (Instructions for this from http://sourceforge.net/mailarchive/message.php?msg_id=13148558, almost a year old; I'm not sure if this person ever resolved his/her problem either). I found webpages suggesting that one can use the instantclient (basic plus sdk), so I installed these and tried to follow the "edit and roll-your-own" instructions. Evidently the directions were posted before the latest release of instantclient and/or cx_Oracle, because the suggested "edit the setup.py file" instructions no longer match anything that I see when looking at the setup.py file, nor when looking at the instantclient file hierarchy. (Instructions for this from http://sourceforge.net/mailarchive/message.php?msg_id=13558142, almost a year old). I've tried copying the cx_Oracle.pyd file from the version that was Windows-installed into my cygwin $PYTHONPATH, but it seems to be entirely ignored ("ImportError: no module named cx_Oracle") (Instructions for this at http://sourceforge.net/mailarchive/message.php?msg_id=13766188, but it doesn't seem to work). Does anybody have "recent information" about how to get whatever-it-is- that-is-needed-in-the-simplest-way so that I have the OCI "stuff" needed by cx_Oracle so that I can build it myself? Thanks in advance, lauri -- lauri loebel carpenter computing grunt fermilab la...@fn... |