_ROOT Version: 6-14-04
_Platform: MacOs Mojave 10.14.3
_Compiler: Apple LLVM version 10.0.0
After upgrading to Mojave I cannot compile root anymore. The error is:
/Users/marekkowalski/alice/sw/BUILD/29cdad616bcbc4d9bf29348cb117af22dfcdcdab/ROOT/include/TMathBase.h:141:18: error: expected unqualified-id
{ return std::signbit(a); }
/Library/Developer/CommandLineTools/SDKs/MacOSX10.14.sdk/usr/include/math.h:170:5: note: expanded from macro ‘signbit’
( sizeof(x) == sizeof(float) ? __inline_signbitf((float)(x))
Up to now I ran High Sierra and never had such problem.
All simple suggestions like:
brew update
brew outdated
brew upgrade
brew reinstall
don’t help
I have xcode installed correctly:
xcode-select -p
/Library/Developer/CommandLineTools
Help, please, Marek
amadio
March 1, 2019, 9:43am
2
You need to update the version of ROOT to either 6.14/08 or 6.16/00 to be able to compile on Mojave. Apple has removed /usr/include
and many packages broke due to that.
It seems 6.14.06 is out but it still has the build issue with freetype, when /usr/include headers are missing. Did the fixes for this in master not get ported to this branch after all ?
Right now homebrew is already up-to-date, so I’m trying to build a new ROOT. Are there any specific build options I need to include or can I just use the default ones?
And just to confirm, there’s no way that brew can currently and correctly install ROOT for me now, right?
Thank you once again!
After moving to 6.14.08 it works. Thanks a lot. Marek
system
Closed
March 18, 2019, 9:21am
4
This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.