星期三, 7月 26, 2017

安裝Oracle 12c Client 與Pro*C Precompilers 的方法

安裝Oracle 12c Client Pro*C Precompilers 的方法

安裝12c client 記得
第一次安裝進行[Administrator安裝]
第二次選擇[Custom Install] 時選擇安裝相同安裝路徑  ex /u01/app/oracle/product/client_1
  重點是 要勾選 [Programmer] 跟[OCI] 的部分

只要看的到 $ORACLE_HOME/precomp/demo/proc 資料夾應該就是完成了pro*c的安裝

ref:
http://mirrors.iyunwei.com/oracle/docs/12.1-E16655-01/server.121/e10638/prcmp_cll_int.htm#UNXAR006

另外設定好 bash shellPATH 環境參數便可

ref:
Configuring Pro*C/C++
https://docs.oracle.com/database/121/LACLI/E55097-10.pdf

其他注意事項
Aix環境如何編譯pro*c 程式
 http://www.cnblogs.com/logicbaby/archive/2011/02/25/1964798.html
 Pro*C文件pc_test中。

 pcscfg.cfg :
 #第一行要include instant client 的套件(其實pro*c程式可以搭配Instance Client 的套件即可)
 sys_include=(/u2/chenlong/instantclient_11_1/sdk/include,/usr/include)
  ref:
  https://docs.oracle.com/cd/B28359_01/appdev.111/b28427/pc_10opt.htm#g30455

 Oracle 11g Release 2 Client对 Aix 作業系统的最低要求为:
 AIX 5L V5.3 TL 09 SP1 ("5300-09-01"), 64 bit kernel
 AIX 6.1 TL 02 SP 1 ("6100-02-01), 64-bit kernel
 AIX 7.1 TL 0 SP 1 ("7100-00-01"), 64-bit kernel
 AIX 7.2 TL 0 SP1 ("7200-00-01"), 64-bit kernel
 https://docs.oracle.com/cd/E11882_01/install.112/e24335/toc.htm

 Compiler Requirements
 IBM XL C/C++ Enterprise Edition for AIX, V9.0 April 2008 PTF:

 Even if you do not install the IBM XL C/C++ compiler, you require the compiler for AIX Runtime Environment Component. 
 For AIX 5.3 and AIX 6.1:
 IBM XL C/C++ for AIX, V10.1 Runtime Environment
 For AIX 7.1:
 September 2010 Runtime for XL C/C++ for AIX, V11.1
 For AIX 7.2:
 November 2015 Runtime for XL C/C++ for AIX, V13.1

 Patch Requirement
  有相當多的OS patch要上, 詳情請參照
  https://docs.oracle.com/cd/E11882_01/install.112/e24335/toc.htm#CHDIGJJB

---------------------------------------------------------------------------
 Oracle 11g Release 2 Client对 Solaris 作業系统的最低要求为:
 Compiler Requirements
  Oracle Solaris Studio 12

 Operating System Requirements:
  Oracle Solaris 10 U6 (5.10-2008.10)
  Oracle Solaris 11 11/11 X86

 Package Requirements
  Oracle Solaris 10
  SUNWarc
  SUNWbtool
  SUNWhea
  SUNWlibC
  SUNWlibm
  SUNWlibms
  SUNWsprot
  SUNWtoo
  SUNWi1of
  SUNWi1cs (ISO8859-1)
  SUNWi15cs (ISO8859-15)
  SUNWxwfnt
  SUNWcsl

  Oracle Solaris 11
  pkg://solaris/developer/build/make
  pkg://solaris/developer/assembler

  Patches for Oracle Solaris 10:
  120754-06: SunOS 5.10_x86 libmtsk
  119961-05: SunOS 5.10_x86: Assembler
  119964-14: SunOS 5.10_x86 Shared library patch for C++_x86
  137104-02
  139575-03
  139556-08
  141415-04
  141445-09
 https://docs.oracle.com/cd/E11882_01/install.112/e24351/toc.htm


以上是在網路上找到相關的文件, 有空在找個時間來驗證一下囉~

沒有留言:

LinkWithin-相關文件

Related Posts Plugin for WordPress, Blogger...