Message: Weird CMake failures building 10.4 on MacOS High Sierra (10.13) Not Logged In (login)
 Next-in-Thread Next-in-Thread
 Next-in-Forum Next-in-Forum

Sad Weird CMake failures building 10.4 on MacOS High Sierra (10.13) 

Forum: Installation and Configuration
Date: 17 Feb, 2018
From: Michael H. Kelsey <Michael H. Kelsey>

I am attempting to rebuild my Geant 10.4 installation under High Sierra. I had previously built it as RelWithDebugInfo, but I need to drop optimization, so I changed that to Debug. But now |ccmake| is failing out with

CMake Error at cmake/Modules/Geant4OptionalComponents.cmake:121 (if):
   if given arguments:

     "VERSION_LESS" "2.0.1"

   Unknown arguments specified
 Call Stack (most recent call first):
   cmake/Modules/G4CMakeMain.cmake:59 (include)
   CMakeLists.txt:56 (include)

I dug into the .cmake files, and saw that this line involves trying to use the system EXPAT library. So I switched to using the Geant4 distributed version (GEANT4_USE_SYSTEM_EXPAT OFF), and that *also* fails!

CMake Error at
 /usr/local/Cellar/cmake/3.9.5/share/cmake/Modules/TestBigEndian.cmake:49
 (message):
   no suitable type found
 Call Stack (most recent call first):
   source/externals/expat/sources.cmake:55 (test_big_endian)
   cmake/Modules/G4DeveloperAPI_OLD.cmake:465 (include)
   source/externals/expat/CMakeLists.txt:20 (GEANT4_GLOBAL_LIBRARY_TARGET)

I am using CMake 3.9.5 installed via Homebrew (which I've used for the past many builds). Is this something other MacOSX users have seen?

  -- Michael Kelsey

Inline Depth:
 1 1
 All All
Outline Depth:
 1 1
 2 2
 All All
Add message: (add)

1 None: Re: Weird CMake failures building 10.4 on MacOS High Sierra (10.13)   (AP-CERN - 18 Feb, 2018)
(_ Sad: Re: Weird CMake failures building 10.4 on MacOS High Sierra (10.13)   (Michael H. Kelsey - 18 Feb, 2018)
 Add Message Add Message
to: "Weird CMake failures building 10.4 on MacOS High Sierra (10.13)"

 Subscribe Subscribe

This site runs SLAC HyperNews version 1.11-slac-98, derived from the original HyperNews


[ Geant 4 Home | Geant 4 HyperNews | Search | Request New Forum | Feedback ]