zoglauer / megalib

MEGAlib - the Medium-Energy Gamma-ray Astronomy library
http://megalibtoolkit.com
Other
41 stars 32 forks source link

ROOT 6.14.08 fails to build on Scientific Linux 7 #56

Closed LaHaine closed 4 years ago

LaHaine commented 4 years ago

I have tried to build megalib on Scientifc Linux 7.7. I have tried the commands ./setup.sh with and without the --branch=experimental switch. ROOT always fails to build with this error:

Scanning dependencies of target TBB
[ 75%] Creating directories for 'TBB'
[ 75%] Performing download step (download, verify and extract) for 'TBB'
-- TBB download command succeeded.  See also /tmp/waschk/megalib/external/root_v6.14.08/root_v6.14.08-build/TBB-prefix/src/TBB-stamp/TBB-download-*.log
[ 75%] No patch step for 'TBB'
[ 75%] No update step for 'TBB'
[ 75%] No configure step for 'TBB'
[ 75%] Performing build step for 'TBB'
CMake Error at /tmp/waschk/megalib/external/root_v6.14.08/root_v6.14.08-build/TBB-prefix/src/TBB-stamp/TBB-build-RelWithDebInfo.cmake:49 (message):
  Command failed: 2

   'make' 'compiler=gcc' 'CXXFLAGS= -mno-rtm' 'CPLUS=/usr/bin/c++' 'CONLY=/usr/bin/cc'

  See also

    /tmp/waschk/megalib/external/root_v6.14.08/root_v6.14.08-build/TBB-prefix/src/TBB-stamp/TBB-build-*.log

make[2]: *** [TBB-prefix/src/TBB-stamp/TBB-build] Fehler 1
make[1]: *** [CMakeFiles/TBB.dir/all] Fehler 2
make: *** [all] Fehler 2
ERROR: Something went wrong while compiling ROOT!

ERROR: Something went wrong during the ROOT setup.

       Please take a look if you find the issue here (look at open and closed issues):
       https://github.com/zoglauer/megalib/issues
       If not add your problem and write me an email!

I have installed all packages required for RHEL7. RootBuildLog.txt

zoglauer commented 4 years ago

Is this also in a container as in your other issue?

LaHaine commented 4 years ago

No, it is a bare metal machine, not that it would make much of a difference.

zoglauer commented 4 years ago

Hi,

I just tested the experimental branch on Scientific Linux 7.7 and it compiles without issues (I had to install the latest version of cmake).

Can you try that?

Thanks, Andreas

LaHaine commented 4 years ago

Edit: I forgot to check out the experimental branch from git, I'll try that. D'oh.

LaHaine commented 4 years ago

It built fine after checking out experimental. Sorry for the noise.