Opened 5 years ago

Last modified 4 years ago

#55812 new defect

geant4.10.4: error during configuration on legacy systems

Reported by: mojca (Mojca Miklavec) Owned by: mojca (Mojca Miklavec)
Priority: Normal Milestone:
Component: ports Version:
Keywords: Cc:
Port: geant4.10.4


The latest geant4 fails to work on older systems:

CMake Error at cmake/Modules/G4DeveloperAPI_OLD.cmake:299 (target_compile_features):
  target_compile_features The compiler feature "cxx_alias_templates" is not
  known to CXX compiler


  version 4.2.1.
Call Stack (most recent call first):
  cmake/Modules/G4DeveloperAPI_OLD.cmake:499 (geant4_library_target)
  source/analysis/CMakeLists.txt:50 (GEANT4_GLOBAL_LIBRARY_TARGET)

full log

Change History (4)

comment:1 Changed 5 years ago by mojca (Mojca Miklavec)

On 10.7 it's a different error: log

comment:2 Changed 5 years ago by kencu (Ken)

wants c++11

comment:3 Changed 5 years ago by mojca (Mojca Miklavec)

Argh. I have that part of code under

if {${geant.version} == "10.3"} { ... }

which explains why it wasn't applied for 10.4.

comment:4 Changed 4 years ago by mojca (Mojca Miklavec)

In 7abc9f8f039e21448cb4839b34511bce66f546b2/macports-ports (master):

geant4: switch to cxx11 1.1 portgroup

See: #55812

Note: See TracTickets for help on using tickets.