Re: [cx-oracle-users] cx_Oracle 4.1 crashing Python 2.3 vm under Mac OS X
Brought to you by:
atuining
From: Marcos P. <ma...@bu...> - 2005-02-01 23:03:18
|
=BFHave you tried python -v to see what exact files are being loaded? El mar, 01-02-2005 a las 11:20 -0800, Sean P.Kane escribi=F3: > Anthony, >=20 > I have been trying to compile this version on Mac OS X 10.3.7 with =20 > Python 2.3 and have run into a strange problem. Below is a copy of the= =20 > session, where I build and install cx_Oracle and then try to import it.= =20 > It crashes the python interpreter. Even though I get a few compiler =20 > errors, it seems that everything is actually going fine. I was able to = =20 > use the previous version without a problem. Do you have any ideas what = =20 > might be going on. I researched the error a bit and it mentioned that =20 > this can happen when something is compiled against a different version = =20 > of Python and then the one it is being run in. I do have python 2.4 on = =20 > the system as well, but it is in another directory and I have done some= =20 > testing, and am reasonable sure this isn't the problem, unless there =20 > are some hard coded paths in the module somewhere (which seems =20 > unlikely). >=20 > Any ideas? >=20 > Thanks, > Sean >=20 > ------ >=20 > $ sudo python setup.py build >=20 > running build > running build_ext > building 'cx_Oracle' extension > creating build > creating build/temp.darwin-7.7.0-Power_Macintosh-2.3 > gcc -fno-strict-aliasing -Wno-long-double -no-cpp-precomp =20 > -mno-fused-madd -fno-common -dynamic -DNDEBUG -g -O3 -Wall =20 > -Wstrict-prototypes -I/Users/spkane/oracle/OraHome_1/rdbms/demo =20 > -I/Users/spkane/oracle/OraHome_1/rdbms/public =20 > -I/Users/spkane/oracle/OraHome_1/network/public =20 > -I/Users/spkane/oracle/OraHome_1/plsql/public =20 > -I/System/Library/Frameworks/Python.framework/Versions/2.3/include/=20 > python2.3 -c cx_Oracle.c -o =20 > build/temp.darwin-7.7.0-Power_Macintosh-2.3/cx_Oracle.o =20 > -DBUILD_TIME=3D"February 01, 2005 11:11:53" > In file included from =20 > /Users/spkane/oracle/OraHome_1/rdbms/public/oci.h:2327, > from cx_Oracle.c:9: > /Users/spkane/oracle/OraHome_1/rdbms/public/oci1.h:148: warning: =20 > function declaration isn't a prototype > In file included from =20 > /Users/spkane/oracle/OraHome_1/rdbms/public/ociap.h:206, > from =20 > /Users/spkane/oracle/OraHome_1/rdbms/public/oci.h:2351, > from cx_Oracle.c:9: > /Users/spkane/oracle/OraHome_1/rdbms/public/nzt.h:674: warning: =20 > function declaration isn't a prototype > /Users/spkane/oracle/OraHome_1/rdbms/public/nzt.h:2665: warning: =20 > function declaration isn't a prototype > /Users/spkane/oracle/OraHome_1/rdbms/public/nzt.h:2674: warning: =20 > function declaration isn't a prototype > /Users/spkane/oracle/OraHome_1/rdbms/public/nzt.h:2684: warning: =20 > function declaration isn't a prototype > /Users/spkane/oracle/OraHome_1/rdbms/public/nzt.h:2693: warning: =20 > function declaration isn't a prototype > /Users/spkane/oracle/OraHome_1/rdbms/public/nzt.h:2702: warning: =20 > function declaration isn't a prototype > /Users/spkane/oracle/OraHome_1/rdbms/public/nzt.h:2711: warning: =20 > function declaration isn't a prototype > /Users/spkane/oracle/OraHome_1/rdbms/public/nzt.h:2719: warning: =20 > function declaration isn't a prototype > /Users/spkane/oracle/OraHome_1/rdbms/public/nzt.h:2729: warning: =20 > function declaration isn't a prototype > /Users/spkane/oracle/OraHome_1/rdbms/public/nzt.h:2736: warning: =20 > function declaration isn't a prototype > /Users/spkane/oracle/OraHome_1/rdbms/public/nzt.h:2744: warning: =20 > function declaration isn't a prototype > In file included from =20 > /Users/spkane/oracle/OraHome_1/rdbms/public/oci.h:2351, > from cx_Oracle.c:9: > /Users/spkane/oracle/OraHome_1/rdbms/public/ociap.h:9952: warning: =20 > function declaration isn't a prototype > /Users/spkane/oracle/OraHome_1/rdbms/public/ociap.h:9958: warning: =20 > function declaration isn't a prototype > creating build/lib.darwin-7.7.0-Power_Macintosh-2.3 > gcc -Wl,-F. -Wl,-F. -bundle -framework Python =20 > build/temp.darwin-7.7.0-Power_Macintosh-2.3/cx_Oracle.o =20 > -L/Users/spkane/oracle/OraHome_1/lib -lclntsh -o =20 > build/lib.darwin-7.7.0-Power_Macintosh-2.3/cx_Oracle.so >=20 > $ sudo python setup.py install >=20 > running install > running build > running build_ext > running install_lib > copying build/lib.darwin-7.7.0-Power_Macintosh-2.3/cx_Oracle.so -> =20 > /System/Library/Frameworks/Python.framework/Versions/2.3/lib/python2.3/= =20 > site-packages >=20 > $ python >=20 > Python 2.3 (#1, Sep 13 2003, 00:49:11) > [GCC 3.3 20030304 (Apple Computer, Inc. build 1495)] on darwin > Type "help", "copyright", "credits" or "license" for more information. > >>> import cx_Oracle > Fatal Python error: Interpreter not initialized (version mismatch?) > Abort trap >=20 > $=20 >=20 >=20 >=20 > ------------------------------------------------------- > This SF.Net email is sponsored by: IntelliVIEW -- Interactive Reporting > Tool for open source databases. Create drag-&-drop reports. Save time > by over 75%! Publish reports on the web. Export to DOC, XLS, RTF, etc. > Download a FREE copy at http://www.intelliview.com/go/osdn_nl > _______________________________________________ > cx-oracle-users mailing list > cx-...@li... > https://lists.sourceforge.net/lists/listinfo/cx-oracle-users |