Installation

Windows NT/95/98



Installation of this release of XML4C2 is simply to unzip the .zip archive under Windows environment (using WinZip, or any other UnZip utility like WinZip).

    unzip xml4c2_2_0.zip

This will create an 'xml4c2_2_0' sub-directory (in the current directory) which contains the XML4C distribution.

You will need to add the 'xml4c2_2_0\bin ' directory to your path:

To do this under Windows NT, go to the start menu, click the settings menu and select control panel. When the control panel opens, double click on System and select the 'Environment' tab. Locate the PATH variable under system variables and add <full_path_to_xml4c2_2_0>\bin to the PATH variable.  To do this under Windows 95/98 add the line:

SET PATH= <full_path_to_xml4c2_2_0>\bin;%PATH% to your AUTOEXEC.BAT file.

UNIX (AIX, Solaris, HP-UX, Linux)

 

Installation of this release is to extract the files from the compressed .tar archive (using 'tar').

cd $HOME
uncompress xml4c2_2_0.tar.Z
tar -xvf xml4c2_2_0.tar
 

This will create an ' xml4c2_2_0' sub-directory (in the home directory) which contains the XML4C distribution. You will need to add the xml4c2_2_0/bin directory to your PATH environment variable:

For Bourne Shell, K Shell or Bash, type:
export PATH="$PATH:$HOME/xml4c2_2_0/bin"

For C Shell type:
setenv PATH "$PATH:$HOME/xml4c2_2_0/bin"

If you wish to make this setting permanent, you need to change your profile by changing your setup files which can be either .profile or .kshrc.

In addition, you will also need to set the environment variables ROOTDIR and the library search path. (LIBPATH on AIX, LD_LIBRARY_PATH on Solaris, SHLIB_PATH on HP-UX). ROOTDIR is needed only if you intend to recompile the samples or build your own applications. The library path is necessary to link the shared libraries at runtime.

For Bourne Shell, K Shell or Bash, type:

export ROOTDIR=$HOME/xml4c2_2_0
export LIBPATH=$ROOTDIR/lib:$LIBPATH (on AIX)
export LD_LIBRARY_PATH=$ROOTDIR/lib:$LD_LIBRARY_PATH (on Solaris, Linux)
export SHLIB_PATH=$ROOTDIR/lib:$SHLIB_PATH (on HP-UX)

For C Shell, type:

setenv ROOTDIR "$HOME/xml4c2_2_0"
setenv LIBPATH "$ROOTDIR/lib:$LIBPATH" (on AIX)
setenv LD_LIBRARY_PATH "$ROOTDIR/lib:$LD_LIBRARY_PATH" (on Solaris, Linux)
setenv SHLIB_PATH "$ROOTDIR/lib:$SHLIB_PATH" (on HP-UX)

IMPORTANT NOTE: If you need to build the samples after installaton, make sure you read and follow the build instructions given in the FAQ.

Copyright (c) IBM Corp. 1999, Center for Java Technology, Cupertino, USA