Re: Error Installing cx_Oracle-5.2.1 on AIX5.3

Anurag Chourasia <[email protected]> Sun, 14 Aug 2016 01:43:48 +0530
Newsgroups gmane.comp.python.db.cx-oracle
Message-ID <CANFgmFDQGbF5EsN2KFsz7ZC9zcMEBVKn=Ty-6cPPShhtr2M4-A@mail.gmail.com>
Thanks Shai, That was the case indeed. I am now trying with cx_Oracle
version 5.1.2 and with better results.

Regards,
Anurag

On Sun, Aug 14, 2016 at 12:24 AM, Shai Berger <shai-9mtU2oJkgntWk0Htik3J/[email protected]> wrote:

> Hi Anurag,
>
> I believe Oracle 10 is not supported by cx_Oracle 5.2. This does not
> necessarily mean you cannot use it with your existing server, but you
> probably
> need to get newer Oracle client libraries.
>
> HTH,
>         Shai.
>
> On Saturday 13 August 2016 16:49:09 Anurag Chourasia wrote:
> > Dear All,
> >
> > Could someone please help me with the error I am getting upon installing
> > cx_Oracle on AIX5.3
> >
> > a776q
> > /app/appadm/.Mim/cx_Oracle-5.2.1>/app/appadm/.Mim/python2.7/bin/python
> > *Python 2.7.12* (default, Aug 13 2016, 09:14:12) [C] on aix5
> > Type "help", "copyright", "credits" or "license" for more information.
> >
> > >>> exit()
> >
> > a776q
> > /app/appadm/.Mim/cx_Oracle-5.2.1>/app/appadm/.Mim/python2.7/bin/python
> > setup.py install
> > running install
> > running build
> > running build_ext
> > building 'cx_Oracle' extension
> > creating build
> > creating build/temp.aix-5.3-2.7-10g
> > /usr/vac/bin/xlc_r -DNDEBUG -O -I/app/appadm/.Mim/ncurses/include
> > -I/app/appadm/.Mim/ncurses/include/ncurses
> > -I/home/oracle10/OraHome_1/rdbms/demo
> > -I/home/oracle10/OraHome_1/rdbms/public
> > -I/app/appadm/.Mim/python2.7/include/python2.7 -c cx_Oracle.c -o
> > build/temp.aix-5.3-2.7-10g/cx_Oracle.o -DBUILD_VERSION=5.2.1 -DAIX5
> > "LobVar.c", line 24.59: 1506-046 (S) Syntax error.
> > "ExternalLobVar.c", line 168.5: 1506-046 (S) Syntax error.
> > "ExternalLobVar.c", line 172.5: 1506-045 (S) Undeclared identifier
> oraub8.
> > "ExternalLobVar.c", line 177.9: 1506-045 (S) Undeclared identifier
> > lengthInBytes.
> > "ExternalLobVar.c", line 178.26: 1506-045 (S) Undeclared identifier
> length.
> > "ExternalLobVar.c", line 178.9: 1506-045 (S) Undeclared identifier
> > lengthInChars.
> > "ExternalLobVar.c", line 201.45: 1506-045 (S) Undeclared identifier
> offset.
> > "ExternalLobVar.c", line 201.61: 1506-045 (S) Undeclared identifier
> > bufferSize.
> > "ExternalLobVar.c", line 239.5: 1506-046 (S) Syntax error.
> > "ExternalLobVar.c", line 246.42: 1506-045 (S) Undeclared identifier
> length.
> > "ExternalLobVar.c", line 262.5: 1506-046 (S) Syntax error.
> > "ExternalLobVar.c", line 265.5: 1506-045 (S) Undeclared identifier
> oraub8.
> > "ExternalLobVar.c", line 270.9: 1506-045 (S) Undeclared identifier
> amount.
> > "ExternalLobVar.c", line 273.23: 1506-045 (S) Undeclared identifier
> offset.
> > "ExternalLobVar.c", line 277.5: 1506-045 (S) Undeclared identifier
> length.
> > "ExternalLobVar.c", line 279.9: 1506-045 (S) Undeclared identifier
> > bufferSize.
> > "ExternalLobVar.c", line 316.12: 1506-275 (S) Unexpected text length
> > encountered.
> > "ExternalLobVar.c", line 316.5: 1506-045 (S) Undeclared identifier
> oraub8.
> > "ExternalLobVar.c", line 320.43: 1506-045 (S) Undeclared identifier
> length.
> > "ExternalLobVar.c", line 386.12: 1506-275 (S) Unexpected text offset
> > encountered.
> > "ExternalLobVar.c", line 386.5: 1506-045 (S) Undeclared identifier
> oraub8.
> > "ExternalLobVar.c", line 389.5: 1506-045 (S) Undeclared identifier
> offset.
> > "ExternalLobVar.c", line 390.5: 1506-045 (S) Undeclared identifier
> amount.
> > "ExternalLobVar.c", line 424.12: 1506-275 (S) Unexpected text amount
> > encountered.
> > "ExternalLobVar.c", line 424.20: 1506-045 (S) Undeclared identifier
> offset.
> > "ExternalLobVar.c", line 436.63: 1506-045 (S) Undeclared identifier
> amount.
> > "ExternalLobVar.c", line 454.12: 1506-275 (S) Unexpected text newSize
> > encountered.
> > "ExternalLobVar.c", line 458.5: 1506-045 (S) Undeclared identifier
> newSize.
> > "LobVar.c", line 317.5: 1506-046 (S) Syntax error.
> > "LobVar.c", line 331.10: 1506-045 (S) Undeclared identifier amount.
> > "LobVar.c", line 358.13: 1506-045 (S) Undeclared identifier offset.
> > "LobVar.c", line 392.12: 1506-275 (S) Unexpected text amount encountered.
> > "LobVar.c", line 427.51: 1506-045 (S) Undeclared identifier amount.
> > error: command '/usr/vac/bin/xlc_r' failed with exit status 1
> >
> > Regards,
> > Anurag
>
> ------------------------------------------------------------
> ------------------
> What NetFlow Analyzer can do for you? Monitors network bandwidth and
> traffic
> patterns at an interface-level. Reveals which users, apps, and protocols
> are
> consuming the most bandwidth. Provides multi-vendor support for NetFlow,
> J-Flow, sFlow and other flows. Make informed decisions using capacity
> planning reports. http://sdm.link/zohodev2dev
> _______________________________________________
> cx-oracle-users mailing list
> cx-oracle-users-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@public.gmane.org
> https://lists.sourceforge.net/lists/listinfo/cx-oracle-users
>

------------------------------------------------------------------------------
What NetFlow Analyzer can do for you? Monitors network bandwidth and traffic
patterns at an interface-level. Reveals which users, apps, and protocols are 
consuming the most bandwidth. Provides multi-vendor support for NetFlow, 
J-Flow, sFlow and other flows. Make informed decisions using capacity 
planning reports. http://sdm.link/zohodev2dev

_______________________________________________
cx-oracle-users mailing list
cx-oracle-users-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@public.gmane.org
https://lists.sourceforge.net/lists/listinfo/cx-oracle-users