...
- Obtain Xerces 2.8.0 source code from http://apache.mirrors.hoobly.com/xerces/c/2/sources/xerces-c-src_2_8_0.tar.gz and save to /afs/slac/g/glast/ground/GLAST_EXT/redhat4-x86_64-64bit/xerces if it doesn't already exist.
- Change directory to /afs/slac/g/glast/ground/GLAST_EXT/redhat4-x86_64-64bit/xerces
- Unzip and Untar the file xerces-c-src_2_8_0.tar.gz
- Change directory to xerces-c-src_2_8_0/src/xercesc
- Edit file util/Platforms/MacOS/MacOSDefs.hpp
- Replace lines 25-28 with
// ---------------------------------------------------------------------------
// MacOS runs in big endian mode (PPC) or little endian (intel).
// ---------------------------------------------------------------------------
// This had to be changed to work on intel Macs but is not needed with
// xerces version 3 and up. jcv#if defined(_BIG_ENDIAN) || defined(LITTLE_ENDIAN_)
#if _BIG_ENDIAN_
#define ENDIANMODE_BIG
#else
#define ENDIANMODE_LITTLE
#endif
#else
#define ENDIANMODE_BIG
#endif - Set environment variable XERCESCROOT to /afs/slac/g/glast/ground/GLAST_EXT/redhat4-x86_64-64bit/xerces/xerces-c-src_2_8_0/
- Execute ./runConfigure -p linux -t native -P /afs/slac/g/glast/ground/GLAST_EXT/redhat4-x86_64-64bit/xerces/2.8.0-gl1/gcc34
- Execute make
- Execute make install
- Leave and erase xerces-c-src_2_8_0/src/xercesc directory
redhat5-i686-32bit
These instructions should be performed as the glastrm user on a machine running redhat5 32bit (bldlnx09 as of this writing).
- Obtain Xerces 2.8.0 source code from http://apache.mirrors.hoobly.com/xerces/c/2/sources/xerces-c-src_2_8_0.tar.gz and save to /afs/slac/g/glast/ground/GLAST_EXT/redhat5-i686-32bit/xerces if it doesn't already exist.
- Change directory to /afs/slac/g/glast/ground/GLAST_EXT/redhat5-i686-32bit/xerces
- Unzip and Untar the file xerces-c-src_2_8_0.tar.gz
- Change directory to xerces-c-src_2_8_0/src/xercesc
- Edit file util/Platforms/MacOS/MacOSDefs.hpp
- Replace lines 25-28 with
// ---------------------------------------------------------------------------
// MacOS runs in big endian mode (PPC) or little endian (intel).
// ---------------------------------------------------------------------------
// This had to be changed to work on intel Macs but is not needed with
// xerces version 3 and up. jcv#if defined(_BIG_ENDIAN) || defined(LITTLE_ENDIAN_)
#if _BIG_ENDIAN_
#define ENDIANMODE_BIG
#else
#define ENDIANMODE_LITTLE
#endif
#else
#define ENDIANMODE_BIG
#endif - Set environment variable XERCESCROOT to /afs/slac/g/glast/ground/GLAST_EXT/redhat5-i686-32bit/xerces/xerces-c-src_2_8_0/
- Execute ./runConfigure -p linux -t native -P /afs/slac/g/glast/ground/GLAST_EXT/redhat5-i686-32bit/xerces/2.8.0-gl1/gcc41
- Execute make
- Execute make install
- Leave and erase xerces-c-src_2_8_0/src/xercesc directory
2.7.0-gl1
These are instructions for building Xerces 2.7.0-gl1 for the various OSes supported.
...