GSI Forum
GSI Helmholtzzentrum für Schwerionenforschung

Home » Fairroot » External Packages » Failure when compiling FairSopft may18 in MacOS Mojave
Failure when compiling FairSopft may18 in MacOS Mojave [message #24134] Wed, 26 June 2019 10:36 Go to next message
Volker Friese is currently offline  Volker Friese
Messages: 365
Registered: April 2004
Location: GSI CBM
first-grade participant
From: *188.096.pools.vodafone-ip.de
I fail to install FairSoft version may18 under MacOS Mojave (10.14.5). The compilation fails with ROOT.

I did not install XCode, but I do have the latest Command Line Tools:

Command Line Tools (macOS Mojave version 10.14) for Xcode 10.2

The clang version is

Apple LLVM version 10.0.1 (clang-1001.0.46.4)
Target: x86_64-apple-darwin18.6.0
Thread model: posix
InstalledDir: /Library/Developer/CommandLineTools/usr/bin

I have a "fresh" system, so no C++ headers in /usr/include (actually, there is no /usr/include directory).


The compilation fails with the following error messages (and many more). I do appreciate any help.

In file included from input_line_9:16:
In file included from /Users/vfriese/temp/fairsoft/tools/root/build_for_fair/include/TApplication.h:30:
In file included from /Users/vfriese/temp/fairsoft/tools/root/build_for_fair/include/TQObject.h:41:
In file included from /Users/vfriese/temp/fairsoft/tools/root/build_for_fair/include/TList.h:25:
In file included from /Users/vfriese/temp/fairsoft/tools/root/build_for_fair/include/TSeqCollection.h:25:
In file included from /Users/vfriese/temp/fairsoft/tools/root/build_for_fair/include/TCollection.h:29:
In file included from /Users/vfriese/temp/fairsoft/tools/root/build_for_fair/include/TString.h:26:
In file included from /Users/vfriese/temp/fairsoft/tools/root/build_for_fair/include/TMathBase.h:32:
/Library/Developer/CommandLineTools/usr/include/c++/v1/cmath:313:9: error: no member named 'signbit' in the global namespace
using ::signbit;
      ~~^
/Library/Developer/CommandLineTools/usr/include/c++/v1/cmath:314:9: error: no member named 'fpclassify' in the global namespace
using ::fpclassify;
      ~~^
/Library/Developer/CommandLineTools/usr/include/c++/v1/cmath:315:9: error: no member named 'isfinite' in the global namespace; did you mean 'finite'?
using ::isfinite;
      ~~^
/Library/Developer/CommandLineTools/SDKs/MacOSX10.14.sdk/usr/include/math.h:749:12: note: 'finite' declared here
extern int finite(double)
           ^
In file included from input_line_9:16:
In file included from /Users/vfriese/temp/fairsoft/tools/root/build_for_fair/include/TApplication.h:30:
In file included from /Users/vfriese/temp/fairsoft/tools/root/build_for_fair/include/TQObject.h:41:
In file included from /Users/vfriese/temp/fairsoft/tools/root/build_for_fair/include/TList.h:25:
In file included from /Users/vfriese/temp/fairsoft/tools/root/build_for_fair/include/TSeqCollection.h:25:
In file included from /Users/vfriese/temp/fairsoft/tools/root/build_for_fair/include/TCollection.h:29:
In file included from /Users/vfriese/temp/fairsoft/tools/root/build_for_fair/include/TString.h:26:
In file included from /Users/vfriese/temp/fairsoft/tools/root/build_for_fair/include/TMathBase.h:32:
/Library/Developer/CommandLineTools/usr/include/c++/v1/cmath:316:9: error: no member named 'isinf' in the global namespace
using ::isinf;
      ~~^
/Library/Developer/CommandLineTools/usr/include/c++/v1/cmath:317:9: error: no member named 'isnan' in the global namespace
using ::isnan;
      ~~^
/Library/Developer/CommandLineTools/usr/include/c++/v1/cmath:318:9: error: no member named 'isnormal' in the global namespace
using ::isnormal;
      ~~^
/Library/Developer/CommandLineTools/usr/include/c++/v1/cmath:319:9: error: no member named 'isgreater' in the global namespace; did you mean 'greater'?
using ::isgreater;
      ~~^
/Library/Developer/CommandLineTools/usr/include/c++/v1/functional:720:29: note: 'greater' declared here
struct _LIBCPP_TEMPLATE_VIS greater : binary_function<_Tp, _Tp, bool>






Re: Failure when compiling FairSopft may18 in MacOS Mojave [message #24142 is a reply to message #24134] Wed, 26 June 2019 11:42 Go to previous messageGo to next message
Mohammad Al-Turany is currently offline  Mohammad Al-Turany
Messages: 518
Registered: April 2004
Location: GSI, Germany
first-grade participant
From: *gsi.de
Hi Volker,

ROOT 6.12 and 6.14 has this problem with Mojave, there are many discussions on the ROOT forum about it, it was only solved in ROOT 6.16 and I just tested it was not back ported to 6.12.00.paches.

Can you use a newer FairSoft release?

best,

Mohammad
Re: Failure when compiling FairSopft may18 in MacOS Mojave [message #24144 is a reply to message #24142] Wed, 26 June 2019 13:12 Go to previous messageGo to next message
Volker Friese is currently offline  Volker Friese
Messages: 365
Registered: April 2004
Location: GSI CBM
first-grade participant
From: *188.096.pools.vodafone-ip.de
Sure, no problem, if it is available. Which one would you recommend?
Re: Failure when compiling FairSopft may18 in MacOS Mojave [message #24148 is a reply to message #24144] Wed, 26 June 2019 13:31 Go to previous messageGo to next message
Mohammad Al-Turany is currently offline  Mohammad Al-Turany
Messages: 518
Registered: April 2004
Location: GSI, Germany
first-grade participant
From: *gsi.de
We just released a new one:

https://github.com/FairRootGroup/FairSoft/releases/tag/jun19

cheers,

Mohammad
Re: Failure when compiling FairSopft may18 in MacOS Mojave [message #24149 is a reply to message #24148] Wed, 26 June 2019 16:20 Go to previous messageGo to next message
Volker Friese is currently offline  Volker Friese
Messages: 365
Registered: April 2004
Location: GSI CBM
first-grade participant
From: *188.096.pools.vodafone-ip.de
Thanks, that works!

May I suggest to put a disclaimer in the fairroot pages https://fairroot.gsi.de/?q=node/121? I may probably not be the last to encounter this problem on Mojave.
Re: Failure when compiling FairSopft may18 in MacOS Mojave [message #24152 is a reply to message #24149] Wed, 26 June 2019 16:54 Go to previous message
Mohammad Al-Turany is currently offline  Mohammad Al-Turany
Messages: 518
Registered: April 2004
Location: GSI, Germany
first-grade participant
From: *dip0.t-ipconnect.de
Ok done,

https://fairroot.gsi.de/?q=node/121

Previous Topic: compiling fairsoft in ubuntu 18.04.02
Next Topic: Bug Report: about FairMQ build error, brought by DDS 2.4
Goto Forum:
  


Current Time: Fri Nov 22 15:23:32 CET 2024

Total time taken to generate the page: 0.00746 seconds