Problem 644

Summary: libname.map become empty, if one isntall geant4 under "test(s)" directory
Product: Geant4 Reporter: tkoi
Component: configAssignee: John.Allison
Status: RESOLVED FIXED    
Severity: normal    
Priority: P2    
Version: 6.2   
Hardware: All   
OS: All   
URL: http://geant4-hn.slac.stanford.edu:5090/HyperNews/public/get/installconfig/272.html

Description tkoi 2004-07-09 18:21:01 CEST
If one install Geant4 under the directory whose full path name contains a
string of g/test/h or g/tests/h, then the libname.map file becomes empty.
As the result of this, one has to build global libraries.

This trouble is coursed by the 70th line of GNUmakefile on source dir. At this
line, all GNUmakefile which contain gtesth or gtestsh string in their full
path name weeded out (from temporal working file of libname.map).

See Geant4 Hyper News Installation and Configuration 272
Comment 1 John.Allison 2004-07-13 05:29:59 CEST
Fixed for next release.  Involves changes to two lines of source/GNUmakefile:
63c63
<       @find $(G4INSTALL)/source \
---
>       @find . \
81c81,82
<         echo $$i >> /tmp/G4libname.map.starter.$(unique); \
---
>         echo $$i | sed s\#^\\.\#source\# \
>         >> /tmp/G4libname.map.starter.$(unique); \