Successful ROOT v6.22.01 installation

_ROOT Version:_6.22.01
_Platform:_64 bit Fedora 32
_Compiler:_gcc version 10.1.1 20200507; Python 3.8.3; Python 2.7.18

I have recently observed that many ROOT users are complaining about failing ROOT build and installation. I report here successful ROOT (downloaded via git) installation on 64 bit Fedora 32 running gcc and python versions mentioned above. I have used following sequence of commands for the installation:

  1. cmake ../root_src -DCMAKE_INSTALL_PREFIX=../root_install -Dall=ON -Dfortran=OFF
  2. cmake --build . -- -j8
  3. make install

Please note that I have to disable the fortran support. Since -Dfortran=ON gives :-
f771: error: unrecognized command line option "-std=legacy" error.

1 Like

Thank you for the report, this is now

I was told (in some post) that this error is due to the incompatibility with the newer gcc version 10.

That is very much possible, gcc10 introduced some problems. I asked around and this issue did not seem to have a corresponding ticket already, but in case if it’s a duplicate it will get closed with the original :smile:

Okay, thanks for informing, and generating the jira ticket.

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