...
Once LCGCMT has been unpacked you may have a directory tree that looks like:
LGCCMT/LCG_CMT40a/LCG_Interfaces - contains packages that behave like our IExtermal package where the subpackages determine how to find the external libraries
LCGCMT/LCG_CMT40a/LCG_Settings - requirements file sets up global environment to find externals - in particular it defines the tags for the various operating systems and compilers
LCGCMT/LCG_CMT40a/LCG_Policy - like our GlastPolicy
There are some environment variables that should be set before compiling Gaudi:
CMTBIN
CMTROOT
CMTVERSION
CMTPATH
CMTCONFIG
SITEROOT
In addition some of the requirements in LCGCMT should be modified:
Update LCG_Settings/cmt/requirements:
set LCG_home=C:\heather
set LCG_releases - determines path to find POOL and SEAL
set LCG_external - determines path to find other externals like AIDA... haven't experimented with makeing LCG_external == LCG_releases
Update LCG_Interfaces/CLHEP/cmt/requirements
CLHEP_version - version number of CLHEP for Gaudi v18r1 it is 1.9.2.2
CLHEP_home - points to our CLHEP external example: $(GLAST_EXT)/CLHEP/$(CLHEP_native_version)
Also add python.exe to the PATH if it isn't already.
Gaudi uses CMT, so building goes something like this:
From within the Gaudi cmt directory
cmt broadcast "cmt config"
source setup.sh (setup.bat)
make (nmake /f nmake)
Linux Notes
Might check if there is a .cmtrc file in your $HOME directory to be sure it doesn't override your CMTPATH
Windows Notes
set CMTBIN = VisualC
set CMTROOT=C:\heather\glast\tools\CMT\v1r16p20040901
set CMTVERSION=v1r16p20040901
set CMTPATH=C:\heather\gaudi\GAUDI\GAUDI_v18r1;C:\heather\gaudi\LCGCMT;C:\heather\gaudi\LCGCMT\LCGCMT_40a;C:\heather\glast\tools
set CMTCONFIG=win32_vc71_dbg
set SITEROOT=C:\heatherUpdate LCG_Settings/cmt/requirements:
set LCG_home=C:\heather
set LCG_releases - determines path to find POOL and SEAL
set LCG_external - determines path to find other externals like AIDA... haven't experimented with makeing LCG_external == LCG_releasesUpdate LCG_Interfaces/CLHEP/cmt/requirements
CLHEP_version - version number of CLHEP for Gaudi v18r1 it is 1.9.2.2
CLHEP_home - points to our CLHEP external example: $(GLAST_EXT)/CLHEP/$(CLHEP_native_version)
add python.exe to the PATH if it isn't already.