Thread: RE: [cx-oracle-users] Question on Cx_Oracle module on Fedora Core 3 and AIX
Brought to you by:
atuining
From: Robert, A. <AR...@MF...> - 2004-11-29 16:46:13
|
That's sounds like a plan. Stupid question though. How do you set ORACLE_HOME=3F Thank you, Andrew Robert Systems Architect Information Technology - OpenVMS Massachusetts Financial Services Phone: 617-954-5882 Pager: 781-764-7321 E-mail: ar...@mf... Linux User Number: #201204 -----Original Message----- =46rom: cx-...@li... [mailto:cx-...@li...] On Behalf Of Mihai Ibanescu Sent: Monday, November 29, 2004 11:42 AM To: cx-...@li... Subject: Re: [cx-oracle-users] Question on Cx_Oracle module on Fedora Core 3 and AIX On Mon, Nov 29, 2004 at 11:23:39AM -0500, Robert, Andrew wrote: > Hi Everyone, >=20 >=20 > In an effort to learn Python better as well as tie it in to my everyday > work, I would like to find a suitable Python module for Oracle v9 > databases that works under both Linux and AIX. >=20 > The cx_Oracle module has a Windows installer that works well but the > RPM's available are only for RH9. >=20 > I tried building a new rpm for Fedora Core 3 but ran into problems with > the SPEC file and the setup.py included in the source. >=20 > The SPEC file is hard-coded to reference Python v2.2 and the setup.py > file does not have code in place to handle a sys.platform value of > linux2. >=20 > Does anyone know of a way to get cx_Oracle functioning on Fedora Core 3 > and AIX=3F >=20 > Any help you can provide on this would be greatly appreciated. =66tp://people.redhat.com/misa/cx_Oracle/ I am not sure about AIX; this rpm works for me on FC3 (on an amd64 box too!). As long as you have ORACLE_HOME set, it should build. Let me know if it doesn't work for you. Cheers, Misa ------------------------------------------------------- SF email is sponsored by - The IT Product Guide Read honest & candid reviews on hundreds of IT Products from real users. Discover which products truly live up to the hype. Start reading now.=20 http://productguide.itmanagersjournal.com/ _______________________________________________ cx-oracle-users mailing list cx-...@li... https://lists.sourceforge.net/lists/listinfo/cx-oracle-users "MFS Relay Service" made the following annotations on 11/29/2004 11:51:33 AM ---------------------------------------------------------------------------= --- This email communication and any attachments may contain proprietary, = confidential, or privileged information. If you are not the intended = recipient, you are hereby notified that you have received this email in = error and that any review, disclosure, dissemination, distribution or = copying of it or its contents is prohibited. The sender does not waive = confidentiality or any privilege by mistransmission. If you have received = this email in error, please notify the sender immediately, delete this = email, and destroy all copies and any attachments. =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D |
From: Anthony T. <an...@co...> - 2004-11-30 17:12:23
|
It depends on the shell. For bash/ksh and friends use export ORACLE_HOME=<value> For csh use setenv ORACLE_HOME <value> That said, Oracle has a script (oraenv for bash/ksh and coraenv for csh) that will do all of this for you. This script is installed during a normal installation of Oracle. In general then you do the following: . oraenv which will run the script, prompting you for the information it requires. This kind of stuff you can find more information about in the manuals that Oracle provides. Robert, Andrew wrote: > That's sounds like a plan. > > Stupid question though. > > How do you set ORACLE_HOME? > > > Thank you, > Andrew Robert > Systems Architect > Information Technology - OpenVMS > Massachusetts Financial Services > Phone: 617-954-5882 > Pager: 781-764-7321 > E-mail: ar...@mf... > Linux User Number: #201204 > > -----Original Message----- > From: cx-...@li... > [mailto:cx-...@li...] On Behalf Of Mihai > Ibanescu > Sent: Monday, November 29, 2004 11:42 AM > To: cx-...@li... > Subject: Re: [cx-oracle-users] Question on Cx_Oracle module on Fedora > Core 3 and AIX > > On Mon, Nov 29, 2004 at 11:23:39AM -0500, Robert, Andrew wrote: > >>Hi Everyone, >> >> >>In an effort to learn Python better as well as tie it in to my > > everyday > >>work, I would like to find a suitable Python module for Oracle v9 >>databases that works under both Linux and AIX. >> >>The cx_Oracle module has a Windows installer that works well but the >>RPM's available are only for RH9. >> >>I tried building a new rpm for Fedora Core 3 but ran into problems > > with > >>the SPEC file and the setup.py included in the source. >> >>The SPEC file is hard-coded to reference Python v2.2 and the setup.py >>file does not have code in place to handle a sys.platform value of >>linux2. >> >>Does anyone know of a way to get cx_Oracle functioning on Fedora Core > > 3 > >>and AIX? >> >>Any help you can provide on this would be greatly appreciated. > > > ftp://people.redhat.com/misa/cx_Oracle/ > > I am not sure about AIX; this rpm works for me on FC3 (on an amd64 box > too!). > As long as you have ORACLE_HOME set, it should build. > > Let me know if it doesn't work for you. > > Cheers, > Misa > > > ------------------------------------------------------- > SF email is sponsored by - The IT Product Guide > Read honest & candid reviews on hundreds of IT Products from real users. > Discover which products truly live up to the hype. Start reading now. > http://productguide.itmanagersjournal.com/ > _______________________________________________ > cx-oracle-users mailing list > cx-...@li... > https://lists.sourceforge.net/lists/listinfo/cx-oracle-users > > > "MFS Relay Service" made the following > annotations on 11/29/2004 11:51:33 AM > ------------------------------------------------------------------------------ > This email communication and any attachments may contain proprietary, confidential, or privileged information. If you are not the intended recipient, you are hereby notified that you have received this email in error and that any review, disclosure, dissemination, distribution or copying of it or its contents is prohibited. The sender does not waive confidentiality or any privilege by mistransmission. If you have received this email in error, please notify the sender immediately, delete this email, and destroy all copies and any attachments. > ============================================================================== > > > > ------------------------------------------------------- > SF email is sponsored by - The IT Product Guide > Read honest & candid reviews on hundreds of IT Products from real users. > Discover which products truly live up to the hype. Start reading now. > http://productguide.itmanagersjournal.com/ > _______________________________________________ > cx-oracle-users mailing list > cx-...@li... > https://lists.sourceforge.net/lists/listinfo/cx-oracle-users -- Anthony Tuininga an...@co... Computronix Distinctive Software. Real People. Suite 200, 10216 - 124 Street NW Edmonton, AB, Canada T5N 4A3 Phone: (780) 454-3700 Fax: (780) 454-3838 http://www.computronix.com |