allthough I defined CLHEP_BASE_DIR, trying to make the geant4 code, I receive always error messages like: /cern/lhc++/geant4.1.0/source/global/management/include/G4Types.hh:19: warning: No include path in which to find CLHEP/config/CLHEP.h In file included from include/G4ExcitedBaryonConstructor.hh:23, from src/G4ExcitedBaryonConstructor.cc:21: /cern/lhc++/geant4.1.0/source/global/management/include/globals.hh:54: warning: No include path in which to find CLHEP/config/TemplateFunctions.h In file included from /cern/lhc++/geant4.1.0/source/global/STLInterface/g4rw/cstring.h:31, from /cern/lhc++/geant4.1.0/source/global/management/include/globals.hh:60, from include/G4ExcitedBaryonConstructor.hh:23, from src/G4ExcitedBaryonConstructor.cc:21: /cern/lhc++/geant4.1.0/source/global/STLInterface/g4rw/defs.h:42: warning: No include path in which to find CLHEP/config/TemplateFunctions.h I can however do a ls $CLHEP_BASE_DIR/CLHEP/config/TemplateFunctions.h succesfully. what's wrong?
Please, check your CLHEP installation and variable $CLHEP_BASE_DIR. If the standard CLHEP installation procedure has been adopted, the variable $CLHEP_BASE_DIR should point to the area where include/ and lib/ directories for CLHEP headers & lib are installed (i.e., one level up in your case, it should be /usr/local for the default CLHEP installation). If it's not the case (i.e. a non-standard CLHEP installation has been adopted), define $CLHEP_INCLUDE_DIR, $CLHEP_LIB_DIR (and $CLHEP_LIB) to refer explicitly to the place where includes, library (and library-name) respectively are placed in your system.