The following commands will install GDML 2.8.0 static libraries on your system.
wget http://service-spi.web.cern.ch/service-spi/app/releases/GDML/downloads/GDML_2_8_0.tar.gz tar -zxvf GDML_2_8_0.tar.gz cd GDML2/CPPGDML ./configure --with-geant4=/path/to/geant4 --with-xercesc=/path/to/xercesc --with-clhep=/path/to/clhep --prefix=/path/to/install/dir --enable-shared=no make make install