I've a Linux RedHat 7.2 kernel 2.4.9-13SGI_XFS_1.0.2 and i have a little trouble when i try to compile geant examples or any other geant application, i get an error, because the makefile can't locate CLHEP libraries. Well, i've tried to check the path ...I'll report you terminal output [root@vesta examples]# uname -a Linux vesta.fisica.unisi.it 2.4.9-13SGI_XFS_1.0.2 #1 Thu Nov 15 11:38:50 CST 2001 i686 unknown [root@vesta examples]# echo $CLHEP /root [root@vesta examples]# export CLHEP=/cern/include [root@vesta examples]# echo $CLHEP /cern/include [root@vesta examples]# pwd /cern/geant4.4.0/examples [root@vesta examples]# ls /cern/include CLHEP [root@vesta examples]# gmake ../../../tmp/Linux-egcs/exampleN01/ExN01DetectorConstruction.d:1: *** missing separator. Stop. ../../../tmp/Linux-egcs/exampleN02/ExN02TrackerSD.d:1: *** missing separator. Stop. ../../../tmp/Linux-egcs/exampleN03/exe/exampleN03.d:1: *** missing separator. Stop. ../../../tmp/Linux-egcs/exampleN04/exe/exampleN04.d:1: *** missing separator. Stop. Making dependency for file exampleN05.cc... In file included from ../../../source/global/management/include/G4ios.hh:37, from ../../../source/global/management/include/globals.hh:47, from include/ExN05RunAction.hh:31, from exampleN05.cc:41: ../../../source/global/management/include/G4Types.hh:41:32: CLHEP/config/CLHEP.h: No such file or directory etc ... [root@vesta examples]# Well, how is it possible that it can't find include CLHEP files even when they are installed and PATHed correctly? I think it's not a big trouble ... but i can't solve it, i'm sorry: help me. Alfredo Metere Physics Department - Siena University (ITALY)
Please, have a look at our FAQ page on web: http://cern.ch/geant4/support/faq.html item #2 of "Installation" and please, read carefully the installation manual. You're setting an environment variable "CLHEP" which does not mean anything ! You probably intended "CLHEP_BASE_DIR" instead. CLHEP_BASE_DIR should point to the area where headers and CLHEP library are installed in your system, i.e. (for standard installations of CLHEP): $ ls -F $CLHEP_BASE_DIR include/ lib/ $ ls -F $CLHEP_BASE_DIR/include CLHEP <--- headers $ ls -F $CLHEP_BASE_DIR/lib libCLHEP.a <--- library