[MacPorts] #58629: Geant4 Source Script Clashes With Root

MacPorts noreply at macports.org
Mon Jun 24 15:15:51 UTC 2019


#58629: Geant4 Source Script Clashes With Root
---------------------------+----------------------
  Reporter:  StevenGreen1  |      Owner:  mojca
      Type:  defect        |     Status:  assigned
  Priority:  Normal        |  Milestone:
 Component:  ports         |    Version:
Resolution:                |   Keywords:
      Port:  geant4.10.3   |
---------------------------+----------------------

Comment (by StevenGreen1):

 Hi Mojca,

 Thanks for your reply.  I was indeed using geant 4.10.3.  What I was
 attempting to do was to build an example geant4 calorimeter that I edited
 to use root.  I was under the assumption that I needed to source the
 geant.sh script in order for my Mac to find the geant libraries, but I now
 see that this is not the case, so apologies for wasting your time with
 this.

 My code now compiles correctly, interacting to both root and geant, but
 when running the code I have to set the $G4ENSDFSTATEDATA environment
 variable.  This is set by the geant4.sh script, but if I source the script
 then I can no longer laugh root as the DYLD_LIBRARY_PATH is altered. So I
 think you are right in saying that you might want to remove the few lines
 in the .sh script changing the DYLD_LIBRARY_PATH variable.

 Thanks again for your help.
 Best Wishes
 Steve

-- 
Ticket URL: <https://trac.macports.org/ticket/58629#comment:6>
MacPorts <https://www.macports.org/>
Ports system for macOS


More information about the macports-tickets mailing list