Problem 1282

Summary: geant4-config
Product: Geant4 Reporter: ungaro
Component: cmakeAssignee: Ben Morgan <Ben.Morgan>
Status: CLOSED WONTFIX    
Severity: trivial    
Priority: P5    
Version: other   
Hardware: PC   
OS: Linux   

Description ungaro 2012-01-24 19:56:59 CET
line 119 should read:


  cflags="${cflags} `sh ${clhep_config_exe} --include`"


sh added in case the clhep_config doesn't have exe permission
Comment 1 ungaro 2012-01-24 19:58:42 CET
on Snow Leopard it works fine - patch needed for Linux only - but won't hurt Mac OS :)
Comment 2 ungaro 2012-01-25 15:42:13 CET
Actually after restarting from scratch the Snow Leopard version does not work either.

so the "sh" is needed 

I'm using external clhep libraries.
Comment 3 Ben Morgan 2012-02-14 17:56:00 CET
This looks like an issue with your install of clhep - the clhep-config script should be installed with executable permissions.
Comment 4 ungaro 2012-02-14 19:40:35 CET
The issue seems indeed to be with the latest version of clhep. 

This does not set the permissions correctly on the 3 machines I tested: darwin, rhel5 and fedora 14.
Comment 5 Ben Morgan 2012-02-20 14:49:41 CET
This is related to a bug in CLHEP

https://savannah.cern.ch/bugs/?91543

now fixed upstream, so marking this as WONTFIX as it's a clhep issue.