I’m trying to build ROOT and got this error and am not sure how to fix it. I am on a mac with catalina OS. (Also I tried installing the binary distribution and it did not work)
Someone also gave me the advice of adding sudo before cmake (I had just been doing cmake …/root-6.22.00 followed by cmake --build .), which gave me this error instead:
Scanning dependencies of target copymodulemap
[ 0%] Generating include/module.modulemap
cat: 1/Desktop/Research/root-6.22.00_builddir/include/module.modulemap.extra: No such file or directory
cat: 1/Desktop/Research/root-6.22.00_builddir/include/module.modulemap: No such file or directory
make[2]: *** [include/module.modulemap] Error 1
make[2]: *** Deleting file `include/module.modulemap’
make[1]: *** [CMakeFiles/copymodulemap.dir/all] Error 2
make: *** [all] Error 2