Problem 61 - installation problem, CLHEP libraries not found
Summary: installation problem, CLHEP libraries not found
Status: CLOSED INVALID
Alias: None
Product: Geant4
Classification: Unclassified
Component: config (show other problems)
Version: 1.0
Hardware: PC Linux
: P2 normal
Assignee: Gabriele Cosmo
URL:
Depends on:
Blocks:
 
Reported: 2000-02-21 07:09 CET by M.Dahlinger
Modified: 2000-03-14 10:27 CET (History)
0 users

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this problem.
Description M.Dahlinger 2000-02-21 07:09:50 CET
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?
Comment 1 Gabriele Cosmo 2000-02-21 07:52:59 CET
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.