Release 10.1A: OpenEdge Data Management:
DataServer for ORACLE

> ## Building executables for the UNIX Client

> This section contains instructions for building client executables. The script is located in the `oebuild/make` directory under the root of your OpenEdge install.

> | To build a UNIX client executable:

> 1. Open a terminal and invoke a Bourne shell (`/bin/sh`) on the system where OpenEdge is installed.

> 2. Change to user '`root`'.

> 3. Set and export the environment variable DLC to the OpenEdge installation directory. For example:

>     DLC=/usr/OpenEdge/dlc
>     export DLC

> 4. Optionally set and export the environment variable `IMAGE` to the full pathname of the executable to be generated. By default the client executable will be named:

>     $DLC/oebuild/orarx

> 5. Set the environment variable `ORACLE_HOME` to the top level directory of your ORACLE installation. For example:

>     ORACLE_HOME=/usr/oracle/9i
>     export ORACLE_HOME

> 6. Verify that the variable `PATH` contains the directory to the linker.

> 7. Unset all the library path variables for your operating system. The script will set these variables as required. For example:

>     unset LD_LIBRARY_PATH LIBPATH SHLIB_PATH

> 8. Run the script `$DLC/oebuild/make/build_orarx.sh.` If you did not set the `IMAGE` variable, the ORACLE DataServer client executable will be built as `$DLC/oebuild/orarx`, otherwise the executable is built as specified by `$IMAGE`.

> To use your new executable once it is built, you must replace your default executable or set the `PROEXE` environment variable.

> | To replace your default client executable:

> 1. Make a backup copy of the original executable. For example:

>     cp $DLC/bin/_progres $DLC/bin/_progres.orig

> 2. Copy the newly built executable into your installed `bin` directory. For example:

>     cp $DLC/oebuild/orarx $DLC/bin/_progres

> 3. Change permissions on the newly created executable to include the Set UID bit. For example:

>     chmod u+s $DLC/bin/_progres

> | To identify your new executable with an environment variable and without relocating:

> 1. Define the environment variable `PROEXE`. For example:

>     PROEXE=$DLC/oebuild/orarx
>     export PROEXE

> 2. Change permissions on the newly created executable to include the Set UID bit. For example:

>     chmod u+s $DLC/oebuild/orarx

Copyright © 2005 Progress Software Corporation www.progress.com Voice: (781) 280-4000 Fax: (781) 280-4095