[MacPorts] #36866: clhep: add symlink libCLHEP.dylib, else Geant4 cannot find it

MacPorts noreply at macports.org
Wed Nov 7 07:04:13 PST 2012


#36866: clhep: add symlink libCLHEP.dylib, else Geant4 cannot find it
-------------------------------------+---------------------------------
  Reporter:  mojca.miklavec.lists@…  |      Owner:  cristiano.fontana@…
      Type:  defect                  |     Status:  new
  Priority:  Normal                  |  Milestone:
 Component:  ports                   |    Version:  2.1.2
Resolution:                          |   Keywords:
      Port:  clhep                   |
-------------------------------------+---------------------------------

Comment (by mojca.miklavec.lists@…):

 I was wrong about the fact that clhep doesn't install libCLHEP.dylib(.a).
 It does install the two files, but they are created in /opt/local/lib
 instead of being put to DESTDIR first. From that point of view the above
 mentioned patch is not entirely correct. I'll try to get it fixed upstream
 and come back to this.

 The problem presumably lies in cmake/Modules/ClhepBuildLibrary.cmake and
 two files which call

 {{{
 execute_process(COMMAND "/opt/local/bin/cmake" -E create_symlink
 libCLHEP-2.1.2.5.dylib libCLHEP.dylib WORKING_DIRECTORY "/opt/local/lib" )

 execute_process(COMMAND "/opt/local/bin/cmake" -E create_symlink
 libCLHEP-2.1.2.5.a libCLHEP.a WORKING_DIRECTORY "/opt/local/lib" )
 }}}

-- 
Ticket URL: <https://trac.macports.org/ticket/36866#comment:2>
MacPorts <http://www.macports.org/>
Ports system for Mac OS


More information about the macports-tickets mailing list