Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

  1. Go back to the work dir, create a subdir for Xerces-C++, and go into it.
    No Format
    cd $sim_work
    mkdir xercesc
    cd xercesc
    
  2. Download the Xerces tarball.
    No Format
    wget http://www.apache.org/dist/xml/xerces-c/xerces-c-src_2_6_0.tar.gz
    
  3. Unzip the tarball.
    No Format
    tar -zxvf xerces-c-src_2_6_0.tar.gz
    
  4. Set XERCESCROOT for the build in your environment, only.
    No Format
    export XERCESCROOT=${sim_work}/xercesc/xerces-c-src_2_6_0
    
  5. Go into the Xerces-C++ build area.
    No Format
    cd xerces-c-src_2_6_0/src/xercesc
    
  6. Configure the build.
    No Format
    runConfigure -plinux -cgcc -xg++ -minmem -nsocket -tnative -rpthread -P `cd ../../..; pwd`
    
  7. Build and install it.
    No Format
    
    make
    make install
    
  8. In setup.sh, set XERCESCROOT to the installation area and add the DLL location to the PATH.
    No Format
    export XERCESCROOT=${sim_work}/xercesc
    export LD_LIBRARY_PATH=$XERCESCROOT/lib:$LD_LIBRARY_PATH
    

...

  1. Download a snapshot of the current CVS head using this link in your browser: http://simu.cvs.cern.ch/cgi-bin/simu.cgi/simu/GDML2/GDML2.tar.gz?tarball=1.
    • Save the tarball to sim_wrk, which should be C:\sim.
  2. Unzip the tarball.
    No Format
    tar -zxvf GDML2.tar.gz
    
  3. Change into the CPPGDML directory.
    No Format
    cd GDML2/CPPGDML
    
  4. Set GDML_BASE and PLATFORM in setup.sh.
    No Format
    export GDML_BASE=${sim_work}/GDML2/CPPGDML
    
  5. Configure the build.
    No Format
    ./configure --enable-geant4-vis 
                --enable-geant4-ui 
                --enable-geant4-granular-libs
                --enable-shared-libs=no
    
  6. Build it.
    No Format
    make
    

...