Installation fails on macOS 11.0.1 Big Sur in tbb module

Hi all,

I am trying to test install ROOT 6.22.04 on macOS 11.0.1 Big Sur, but it fails when trying to compile TBB:

CMake Error at /Users/a/root_v6.22.04/root_v6.22.04-build/TBB-prefix/src/TBB-stamp/TBB-build-Release.cmake:49 (message):
  Command failed: 2

   'make' 'compiler=clang' 'cpp0x=1' 'CXXFLAGS= -mno-rtm -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX11.0.sdk' 'CPLUS=/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/c++' 'CONLY=/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/cc'

  See also

    /Users/a/root_v6.22.04/root_v6.22.04-build/TBB-prefix/src/TBB-stamp/TBB-build-*.log


make[2]: *** [TBB-prefix/src/TBB-stamp/TBB-build] Error 1
make[1]: *** [CMakeFiles/TBB.dir/all] Error 2
make[1]: *** Waiting for unfinished jobs....

With TBB-build-out.log:

Created ./build/macos_intel64_clang_cc12.0.0_os11.0.1_release and ..._debug directories

And TBB-build-err.log:

build/common.inc:48: "Warning: deprecated cpp0x=1 is used, stdver must be used instead. Building in stdver=c++0x mode."
../../build/Makefile.tbb:28: CONFIG: cfg=debug arch=intel64 compiler=clang target=macos runtime=cc12.0.0_os11.0.1
ld: library not found for -ldl
clang: error: linker command failed with exit code 1 (use -v to see invocation)
make[4]: *** [libtbb_debug.dylib] Error 1
make[3]: *** [tbb] Error 2

Any help is appreciated.

Thanks,
Andreas


ROOT Version: 6.22.04
Platform: macOS 11.0.1
Compiler: Default from Xcode 12.2


Hi Andreas,

ROOT is not yet released on macOS 11 but we are building the head of development. Could you try with the latest master branch from git?

Cheers,
Jakob

Or you can curl -O https://root.cern/download/nightly/root_v6.23.01.macosx64-11.0-clang120RELEASE.pkg or curl -O https://root.cern/download/nightly/root_v6.23.01.macosx64-11.0-clang120RELEASE.tar.gz to just grab a nightly binary!

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.