Before running the tutorial, verify these environment settings:
For all platforms, the JAGUAR environment variable must be set to the location of your EAServer installation.
For Windows, the PATH environment variable must include the EAServer dll subdirectory.
For UNIX platforms, the EAServer lib directory must be added to the shared library search path variable listed in Table 3-1 for your platform. If running on Solaris, and you use the Solaris version 4.x compiler, the EAServer lib_sol4x directory must be in LD_LIBRARY_PATH.
Platform |
Variable name |
---|---|
Solaris |
LD_LIBRARY_PATH |
HP-UX |
SHLIB_PATH |
AIX |
LIBPATH |
Linux |
LD_LIBRARY_PATH |
Configuring the Windows environment
To configure the command line where you are running the tutorials, run these commands, substituting your EAServer installation location for eas-home:
set JAGUAR=eas-home set PATH=%JAGUAR%\dll;%PATH%
You can also edit these variables in the System dialog for the Windows Control Panel, or create a batch file to configure the settings.
Configuring the UNIX environment for C shell
To configure the C shell session where you are running the tutorials, run these commands, substituting your EAServer installation location for eas-home, and the shared-library variable from Table 3-1 for LIB_PATH:
setenv JAGUAR eas-home setenv LIB_PATH $JAGUAR/lib:$LIB_PATH
If running on Solaris, using a version 4.x CC compiler:
setenv JAGUAR eas-home setenv LD_LIBRARY_PATH \ $JAGUAR/lib_sol4x:$LD_LIBRARY_PATH
Configuring the UNIX environment for Bourne shell
To configure the Bourne shell session where you are running the tutorials, run these commands, substituting your EAServer installation location for eas-home, and the shared-library variable from Table 3-1 for LIB_PATH:
JAGUAR=eas-home export JAGUAR LIB_PATH=$JAGUAR/lib:$LIB_PATH export LIB_PATH
If running on Solaris, using a version 4.x CC compiler:
JAGUAR=eas-home export JAGUAR LD_LIBRARY_PATH=$JAGUAR/lib_sol4x:$LD_LIBRARY_PATH export LD_LIBRARY_PATH
Copyright © 2005. Sybase Inc. All rights reserved. |