Wednesday, December 19, 2007

Install 11.5.8 and R12 on same machine

I have installed 11.5.8 and R12 on the same windows machine successfully. I installed R12 on a server running 11.5.8. After installation both run smoothly (but not fast -- my machine is only 2GB in memory and is a standard Pentium 4 PC).
Because disk space was low, I had to compress both instance. No problem arise yet, even on patching.
The only problem was I had to change 11.5.8 to use cygwin because I removed all MKS Toolkit.

Thursday, December 13, 2007

Clean up MKS Toolkit if you want to use Cygwin

MKS Toolkit have to be uninstalled if you want to use Cygwin. More than that you will also have to clean up some environment setting left by MKS Toolkit. If you don't clean up, you will get error on Cygwin shell when running some ad programs such as adrelink.

Using Cygwin with Oracle EBS R12

Note from Oracle: Cygwin is free software and is not supported unless you purchase a support contract from a third party providing Cygwin support. We recommend MKS toolkit for all critical production and test systems.

Download the Cygwin Software
Perform the following to download the Cygwin software:
  • Navigate to http://www.cygwin.com and click on "Install or Update Now!" to download setup.exe to your machine.
  • Run setup.exe and click Next, which will bring up the Choose Installation Type screen.
  • Choose Option 2, Download without Installing.
  • Click on Next to go through the next few screens, where you will be asked to choose the directory to store the packages (called the Local Package Directory), your Internet connection type, and a download site.
  • Click on Next again to get to the Select Packages screen, and select the following packages (click on cygwin to toggle):
  • All cygwin Default
  • Archive cygwin Default, plus manually select the zip package
  • Base cygwin Default, plus manually select the following extra packages: ash, coreutils, findutils, gawk, grep, sed, tar and which
  • Devel cygwin Default, plus manually select binutils, gcc, gcc-core, gcc-g++, make and mktemp
  • Doc cygwin Default, plus manually select cygwin-doc and man
  • Editors cygwin Default, plus manually select vim
  • Interpreters cygwin Default, plus manually select gawk
  • Shells cygwin Default, plus manually select ash and tcsh
  • Utils cygwin Default, plus manually select cygutils, diffutils and file
  • Click on Next again to download the selected files.
Install Cygwin
Once the download is complete, perform the following steps to install Cygwin:
  • Launch setup.exe again to conduct the install.
  • From the Choose Installation Type screen, choose Option 3, Install from Local Directory.
  • Click Next, and specify the Root Directory where you wish to install Cygwin (created in Step 2), and DOS as the Default Text File Type.
  • Click Next and specify the same Local Package Directory from Step 3.
  • Click Next to get to the Select Packages screen.
  • Choose All cygwin Install (click on cygwin to toggle). Note: Do not choose All cygwin Default, since this will not include all the necessary files.
  • Click on Next again to conduct the installation

Verify Package Versions
Verify that the versions of packages, such as Bash and Make, are supported for use with Oracle Applications Release 11i. See the Attention at the top of this document for supported versions.

To determine the package versions:

C:\> cd
C:\> make --version
C:\> bash --version

Note: Depending on how the packages are installed, the Cygwin Installer may display the incorrect package version information. Use the command-line interface to verify the correct package version.
Note: Make versions 3.79.1-7 and 3.80-1 and Bash versions 3.0-11, 3.1-9, 3.2.9-11, and 3.2.25-16 from Cygwin are supported for use with Oracle E-Business Suite R12. Other versions are currently not supported.

If any of the package versions are not supported, perform the following to update the package:

* Download a supported version of the package from http://cygwin.paracoda.com/release/.
* Overwrite the existing version of the package with the supported version of the package:

C:\> cd
C:\> tar -xjvf \

Update Compatibilty with Shell Scripts
Type these commands to maintain compatibility with existing shell scripts:
C:\> copy gawk.exe awk.exe (answer yes to copy over existing file)
C:\> copy grep.exe egrep.exe
C:\> copy make.exe gnumake.exe
C:\> copy gcc.exe cc.exe

Note: There may be a problem overwriting files, delete the destination file first before overwriting.

Add Cygwin Bin Directory to Path
Add the cygwin bin directory to the system path. For instance:
C:\> set path = %path%;D:\cygwin\bin

Next Step
If you have installed MKS Toolkit before, uninstall it and clean up windows environment from MKS Toolkit leftovers.
On Oracle EBS installation, when you asked to input UNIX Toolkit directory, use D:\cygwin\bin