Installation issues with NetxNG

ROOT Version: 6.26.10
Platform: Mac 12.5.1
Compiler: ?

While trying to install root from source, I get the following error

[ 97%] Linking CXX shared library …/…/lib/
[ 97%] Built target unordered_multisetDict
make[2]: *** No rule to make target NetxNG', needed by lib/modules.idx’. Stop.
make[1]: *** [CMakeFiles/modules_idx.dir/all] Error 2
make: *** [all] Error 2

How can I fix this?

Hi and welcome to the ROOT forum!

Sorry for the slow response. A couple of questions:

  • do you actually need to build from source, or can you take an existing binary (conda, released binary, distro package, etc)?
  • if you really need to build from source, do you need xrootd? Else you can disable it passing -Dxrootd=Off to cmake
  • that’s likely not the actual error; I suspect that it happened before. There might be some output along the lines of “Failed to build xrootd, see …log” - we will need these log files.

Cheers, Axel

You’ve likely hit this bug: macOS 13 + ROOT 6.26.08 broken building from source on homebrew · Issue #1815 · xrootd/xrootd · GitHub. The next releases of ROOT and XRootD should have that fixed.

Thanks. I was able to successfully install using brew

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