Re: [cx-oracle-users] Installation of cx_Oracle 5.1.1
Brought to you by:
atuining
From: Jani T. <re...@gm...> - 2012-05-10 05:03:34
|
With instant client version doesn't matter, so you can use never 11 version with older database. I can check which versions do I use at work. Oh, do you have 64 bit instant client and sdk? On Wed, May 9, 2012 at 7:59 PM, Marilena Papageorgiou <map...@ut...>wrote: > Yes, although I'm not sure if the version of the instant client > (10.2.x.x.) i installed is compatible with cx_Oracle 5.1.1 because the > build instructions in it are for instant client 11.1.x.x. but I use oracle > 10g xe so I guess that i must have the 1st one. Am I right? > > 2012/5/9 Jani Tiainen <re...@gm...> > >> 9.5.2012 14:32, Marilena Papageorgiou kirjoitti: >> > Hi all, >> > I have a question according to the installation of cx_Oracle 5.1.1. I'm >> > using Oracle Database 10g xe universal Rel.10.2.0.1.0 on Ubuntu 10.04 >> > 64-bit for a django project with python 2.6. I try to install cx_Oracle >> > 5.1.1 but after the build i get errors like these: >> > >> > cx_Oracle.c:519: warning: passing argument 3 of >> > ‘PyModule_AddIntConstant’ makes integer from pointer without a cast >> > /usr/include/python2.6/modsupport.h:41: note: expected ‘long int’ but >> > argument is of type ‘struct PyMemberDef *’ >> > cx_Oracle.c:520: error: ‘OCI_UCBTYPE_REPLACE’ undeclared (first use in >> > this function) >> > cx_Oracle.c:520: warning: passing argument 3 of >> > ‘PyModule_AddIntConstant’ makes integer from pointer without a cast >> > /usr/include/python2.6/modsupport.h:41: note: expected ‘long int’ but >> > argument is of type ‘struct PyMemberDef *’ >> > cx_Oracle.c:521: error: ‘OCI_SPOOL_ATTRVAL_WAIT’ undeclared (first use >> > in this function) >> > cx_Oracle.c:521: warning: passing argument 3 of >> > ‘PyModule_AddIntConstant’ makes integer from pointer without a cast >> > /usr/include/python2.6/modsupport.h:41: note: expected ‘long int’ but >> > argument is of type ‘struct PyMemberDef *’ >> > cx_Oracle.c:522: error: ‘OCI_SPOOL_ATTRVAL_NOWAIT’ undeclared (first use >> > in this function) >> > cx_Oracle.c:522: warning: passing argument 3 of >> > ‘PyModule_AddIntConstant’ makes integer from pointer without a cast >> > /usr/include/python2.6/modsupport.h:41: note: expected ‘long int’ but >> > argument is of type ‘struct PyMemberDef *’ >> > cx_Oracle.c:523: error: ‘OCI_SPOOL_ATTRVAL_FORCEGET’ undeclared (first >> > use in this function) >> > cx_Oracle.c:523: warning: passing argument 3 of >> > ‘PyModule_AddIntConstant’ makes integer from pointer without a cast >> > /usr/include/python2.6/modsupport.h:41: note: expected ‘long int’ but >> > argument is of type ‘struct PyMemberDef *’ >> > error: command 'gcc' failed with exit status 1 >> > >> > The instant client is the 10.2.x.x. Is it compatible? >> > >> > Can anyone guide me through these errors? >> > >> > Thx in advance. >> >> Do you have both installed: python development headers/libs and instant >> client SDK? >> >> >> -- >> Jani Tiainen >> >> - Well planned is half done and a half done has been sufficient before... >> >> >> ------------------------------------------------------------------------------ >> Live Security Virtual Conference >> Exclusive live event will cover all the ways today's security and >> threat landscape has changed and how IT managers can respond. Discussions >> will include endpoint security, mobile security and the latest in malware >> threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ >> _______________________________________________ >> cx-oracle-users mailing list >> cx-...@li... >> https://lists.sourceforge.net/lists/listinfo/cx-oracle-users >> > > > > ------------------------------------------------------------------------------ > Live Security Virtual Conference > Exclusive live event will cover all the ways today's security and > threat landscape has changed and how IT managers can respond. Discussions > will include endpoint security, mobile security and the latest in malware > threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ > _______________________________________________ > cx-oracle-users mailing list > cx-...@li... > https://lists.sourceforge.net/lists/listinfo/cx-oracle-users > > -- Jani Tiainen - Well planned is half done, and a half done has been sufficient before... |