Kbase P34980: Building OpenEdge 4GL Client and Oracle DataServer on UNIX
Autor |
  Progress Software Corporation - Progress |
Acesso |
  Público |
Publicação |
  1/17/2011 |
|
Status: Verified
GOAL:
Building OpenEdge 4GL Client and Oracle DataServer on UNIX
GOAL:
How to build OpenEdge 4GL Client and Oracle DataServer on UNIX
GOAL:
How to manually link executables for Oracle Dataserver
FACT(s) (Environment):
All Supported Operating Systems
Progress/OpenEdge Product Family
FIX:
Building OpenEdge 4GL Client and Oracle DataServer on UNIX
-----------------------------------------------------------
1. Open a terminal and invoke a Bourne shell (/bin/sh) on the system where OpenEdge and the supported compiler and operating system is installed
2. Change to user 'root'
3. Set and export the variable DLC to the OpenEdge installation directory
Example:
> DLC=/usr/OpenEdge/dlc
> export DLC
4. [Optional] Set and export the variable IMAGE to the full pathname of the executable to be generated. By default the new executable will be built in $DLC/oebuild/make
Example:
> IMAGE=/tmp/_progres
> export IMAGE
5. If you are building an oracle DataServer or client set the variable ORACLE_HOME to the top level installation directory of Oracle
Example:
> ORACLE_HOME=/usr/oracle/8.1.7
> export ORACLE_HOME
5. Make sure that the variable PATH contains the directory to the supported compiler/linker
6. Unset the library path variable for your operating system
Example:
> unset LD_LIBRARY_PATH LIBPATH SHLIB_PATH
7. Run the script:
$DLC/oebuild/make/build_rx.sh (The standard 4GL client)
- installed executable name : $DLC/bin/_progres
$DLC/oebuild/make/build_orarx.sh (The Oracle DataServer client)
- installed executable name : $DLC/bin/orarx
$DLC/oebuild/make/build_orasrv.sh (The Oracle DataServer)
- installed executable name : $DLC/bin/_orasrv
Example:
> $DLC/oebuild/make/build_rx.sh
8. Backup the original executable
Example:
> cp $DLC/bin/_progres $DLC/bin/_progres.orig
9. Copy the newly built executable
Example:
> cp $DLC/oebuild/make/rx $DLC/bin/_progres
OR (if step 4 is taken)
> cp $IMAGE $DLC/<executable_name>
10. Change permissions to add SUID bit
Example:
> chmod u+s $DLC/oebuild/make/rx
Modifying the standard 4GL client with customized objects
---------------------------------------------------------
l. Follow steps 1-6 of the previous section
2. Backup the original build script.
Example:
> cp $DLC/oebuild/make/build_rx.sh $DLC/oebuild/make/build_rx.sh.orig
3. Edit the script $DLC/oebuild/make/build_rx.sh and add customized objects and any necessary libraries to accommodate them on the link line and save the file.
4. Follow steps 7-10