Problem 644 - libname.map become empty, if one isntall geant4 under "test(s)" directory
Summary: libname.map become empty, if one isntall geant4 under "test(s)" directory
Status: RESOLVED FIXED
Alias: None
Product: Geant4
Classification: Unclassified
Component: config (show other problems)
Version: 6.2
Hardware: All All
: P2 normal
Assignee: John.Allison
URL: http://geant4-hn.slac.stanford.edu:50...
Depends on:
Blocks:
 
Reported: 2004-07-09 18:21 CEST by tkoi
Modified: 2004-07-13 05:29 CEST (History)
0 users

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this problem.
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); \