Problem 638

Summary: CLHEP_BASE_DIR--UNDEFINED
Product: Geant4 Reporter: bongardo
Component: configAssignee: Serguei.Sadilov
Status: RESOLVED FIXED    
Severity: major    
Priority: P2    
Version: other   
Hardware: PC   
OS: Linux   

Description bongardo 2004-06-28 09:07:02 CEST
Hi.

I'm trying to install the latest release (6.2), but:

Please, specify where CLHEP is installed. It was found in:

CLHEP_BASE_DIR:                 /usr/local

and later:

ls: CLHEP_BASE_DIR--UNDEFINED: No such file or directory

This sounds very strange, since all the previous versions I have were installed
with the same library and with the same path. Since the 5.2 version I'm using
the Configure -install commad line; it ran both with Mandrake 9 and lately with
Red Hat 9, and above all it worked since ever, at least until this last release.

Thanks for your help.

Regards, Chris
Comment 1 Gabriele Cosmo 2004-06-28 09:58:59 CEST
This problem may be induced by the fact that in release 6.2 the 'hard-coded'
path to CLHEP defined in the configuration scripts has been removed.
The Configure script by default does not assign CLHEP_BASE_DIR in case the
path of installation for CLHEP is a 'system' path (i.e. /usr or /usr/local),
therefore running into this problem.
A patch will be issued soon to the Configure script to cover this case.
In the meantime, you could get around this by explicitely defining in your
environment the CLHEP_BASE_DIR variable -before- runnning the Configure
script (i.e. export CLHEP_BASE_DIR="").
Comment 2 Gabriele Cosmo 2004-06-30 04:56:59 CEST
The problem is now fixed and a new patched version of the 'Configure' script
can be downloaded from: http://cern.ch/geant4/source/source/geant4/Configure
or together with the distributed source-code archives.
Thanks for reporting the problem.
Comment 3 paganini 2004-11-25 15:11:59 CET
I don't execute geant4.6.2.p02 installation in a PC with Linux mandrake
it appears the following error message:Compiling G4NeutronHPPhotonDist.cc ...
g++: Internal error: Segmentation fault (program as)
Please submit a full bug report.
See <URL:https://qa.mandrakesoft.com/> for instructions.
gmake[2]: **
[/usr/local/geant4.6.2.p02/tmp/Linux-g++/G4had_neu_hp/G4NeutronHPPhotonDist.o]
Erro 1
Making dependency for file src/G4FTFParticipants.cc ...

Can somebody help me?
thanks