http://xml.apache.org/http://www.apache.org/http://www.w3.org/

Home

Readme
Download
Installation
Build Instructions

API Docs
Samples
Schema

FAQs
Programming
Migration

Releases
Bug-Reporting
Feedback

Y2K Compliance
PDF Document

CVS Repository
Mail Archive

Window NT/98
 

Install the binary Xerces-C++ release by using unzip on the file-win32.zip archive in the Windows environment. You can use WinZip, or any other UnZip utility.

unzip xerces-c1_6_0-win32.zip

This creates a 'xerces-c1_6_0-win32' sub-directory containing the Xerces-C++ distribution.

You need to add the 'xerces-c1_6_0-win32\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_xerces-c1_6_0>\bin to the PATH variable. To do this under Windows 95/98 add this line to your AUTOEXEC.BAT file:

SET PATH=<full_path_to_xerces-c1_6_0>\bin;%PATH%

or run the SET PATH command in your shell window.


UNIX
 

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

cd $HOME
gunzip xerces-c1_6_0-linux.tar.gz
tar -xvf xerces-c1_6_0-linux.tar

This will create an 'xerces-c1_6_0-linux' sub-directory (in the home directory) which contains the Xerces-C++ distribution. You will need to add the xerces-c1_6_0-linux/bin directory to your PATH environment variable:

For Bourne Shell, K Shell or Bash, type:

export PATH="$PATH:$HOME/xerces-c1_6_0-linux/bin"

For C Shell, type:

setenv PATH "$PATH:$HOME/xerces-c1_6_0-linux/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 XERCESCROOT, ICUROOT and the library search path. (LIBPATH on AIX, LD_LIBRARY_PATH on Solaris and Linux, SHLIB_PATH on HP-UX).

NoteXERCESCROOT and ICUROOT are 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 XERCESCROOT=<wherever you installed Xerces-C++>
export ICUROOT=<wherever you installed ICU>
export LIBPATH=$XERCESCROOT/lib:$LIBPATH (on AIX)
export LD_LIBRARY_PATH=$XERCESCROOT/lib:$LD_LIBRARY_PATH (on Solaris, Linux)
export SHLIB_PATH=$XERCESCROOT/lib:$SHLIB_PATH (on HP-UX)

For C Shell, type:

setenv XERCESCROOT "<wherever you installed Xerces-C++>"
setenv ICUROOT "<wherever you installed ICU>"
setenv LIBPATH "$XERCESCROOT/lib:$LIBPATH" (on AIX)
setenv LD_LIBRARY_PATH "$XERCESCROOT/lib:$LD_LIBRARY_PATH" (on Solaris, Linux)
setenv SHLIB_PATH "$XERCESCROOT/lib:$SHLIB_PATH" (on HP-UX)
NoteIf you need to build the samples after installation, make sure you read and follow the build instructions given in the FAQ.


Copyright © 2001 The Apache Software Foundation. All Rights Reserved.