Hello everyone,
I am trying to install coherent waveburst (cWB), which requires the ROOT and FRAMELIB libraries. The cWB site offers these instructions to install ROOT version 6.24.6 from source:
git clone <git link>
cd root
git checkout -b v6-24-06 v6-24-06
mkdir -p root/build_root; cd root/build_root
cmake .. -DCMAKE_INSTALL_PREFIX:PATH=${HOME}/SOFT/ROOT/root_v6-24-06;
cmake --build . --verbose --parallel ${CPU_COUNT}
cmake --build . --verbose --parallel ${CPU_COUNT} --target install
At around 70% it starts producing many fatal errors saying
"x86_64-conda-linux-gnu-c++: fatal error: Killed signal terminated program cc1plus"
and proceeds too slowly, so I terminate it.
I then proceed with a pre-compiled version and it seems to be installed just fine. I try to install FRAMELIB version 8.33 according to these instructions from cWB.
wget <git link>
tar zxvf libframe-8.33.tar.gz
mv libframe-8.33 libframe-8.33_root-6.14.06
# edit libframe-8.33_root-6.14.06/root/build
# set ROOTSYS = "/home/waveburst/SOFT/ROOT/root_v6.24.06/"
cd mgr
./makegcc
cd ../root
./build
cd ..
ln -s Linux-x86_64 Linux
Everything seem OK until the ./build
command, where it produces some errors and terminates. Some of the errors are:
error: "ROOT requires support for C++11 or higher."
error: "Pass `-std=c++11` as compiler argument."
I am using the conda environment igwn-py39 . Ubuntu-20.04 .
Does anyone know how to solve this?
I suppose it could have something to do with the version of the C++ standard used by the compiler?
I should note that I do not understand completely what all these commands I am entering do (only vaguely). So it could be entirely possible that I am doing something wrong with the inputs.
I have pasted the outputs of the commands on pastebin, but since this is my first post, I am not allowed to post links.
Thank you all in advance.
ROOT Version: 6.24/6
Platform: Ubuntu 20.04.3
Compiler: Not Provided