RBrowser cannot be launched

Hi,
I installed ROOT 6.26.00 following the inbstructions from : Installing ROOT - ROOT

When I launch ROOT with command root, I get :

root
ERROR in cling::CIFactory::createCI(): cannot extract standard library include paths!
Invoking:
  LC_ALL=C x86_64-linux-gnu-g++-9   -xc++ -E -v /dev/null 2>&1 | sed -n -e '/^.include/,${' -e '/^ \/.*++/p' -e '}'
Results was:
With exit code 0
   ------------------------------------------------------------------
  | Welcome to ROOT 6.26/00                        https://root.cern |
  | (c) 1995-2021, The ROOT Team; conception: R. Brun, F. Rademakers |
  | Built for linuxx8664gcc on Mar 03 2022, 06:51:13                 |
  | From tags/v6-26-00@v6-26-00                                      |
  | With c++ (Ubuntu 9.3.0-17ubuntu1~20.04) 9.3.0                    |
  | Try '.help', '.demo', '.license', '.credits', '.quit'/'.q'       |
   ------------------------------------------------------------------

root [0] 

Do the RBrowser does not work for ubuntu 21 or is there something I miss ?
Arnaud


Please read tips for efficient and successful posting and posting code

ROOT Version: 6.26.00
Platform: ubuntu 21.10
Compiler: gcc 11


You are trying to use binaries that were built on Ubuntu 20.04 / gcc 9 on Ubuntu 21.10 / gcc 11.

ok, so do you think it will be more useful to load sources and make a compilation or will I have to wait a version which will be compiled for my configuration ?

If you want “native” binaries for Ubuntu 21.10 / gcc 11, then you need to “build from source”.

Ubuntu 22.04 LTS is coming soon, so building “official” ROOT binaries for your “almost outdated” release does not make sense.

You can also use the conda or snap package (see Installing ROOT - ROOT ) instead of compiling from source.

Cheers,
Enrico

Hi, I tried it and got :

/home/arnaud/Téléchargements/ROOT/9000-test3/DQM_V0001_R000000001__RelValZEE_14__CMSSW_12_1_0_pre5-121X_mcRun3_2021_realistic_v9000-v214__DQMIO.root:4:62: error: expected unqualified-id
Nu<U+001D><U+0011><EC><87><E4><U+007F><A9><9E><86><BE><EF><U+0000><U+0000><U+0000><U+0000><U+0000><U+0000><U+0000><U+0000><U+0000><U+0000><U+0000><U+0000><U+0000><U+0000><U+0000><U+0000><U+0000><U+0000><U+0000><U+0000><U+0000><U+0000><U+0000><U+0000><U+0000><U+0000><U+0000><U+0000><U+0000><U+0000><U+0000><U+0000><U+0000><U+0000><U+0000><U+0000><U+0000><U+0000><U+0000><U+0000><DE><U+0000><U+0004><U+0000><U+0000><U+0000>}l\<A8><ED><U+0000>a<U+0000><U+0001><U+0000><U+0000><U+0000>d<U+0000><U+0000><U+0000><U+0000><U+0005>TFile?./DQM_V0001_R000000001__Global__CMSSW_X_Y_Z__RECO_9000_214.root<U+0000>?./DQM_V0001_R000000001__Global__CMSSW_X_Y_Z__RECO_9000_214.root<U+0000><U+0000><U+0005>l\<A8><ED>l\<A9>   <U+0000><U+0000><U+0000><9A><U+0000><U+0000><U+0000><A2><U+0000><U+0000><U+0000>d<U+0000><U+0000><U+0000><U+0000><U+0008><FC><U+0014><C0><U+0000><U+0001>Y<9B>
                                                                                                                                                                                                                                                                                                                                                                                                                                        ^
fatal error: too many errors emitted, stopping now [-ferror-limit=]

Arnaud

P.S. I also tried the installation from sources with :

gmake[1]: *** [CMakeFiles/Makefile2:37151 : roofit/hs3/CMakeFiles/G__RooFitHS3.dir/all] Erreur 2
gmake: *** [Makefile:171 : all] Erreur 2

and with : cmake -DCMAKE_INSTALL_PREFIX=~/Téléchargements/ROOT/root_6.26.00 ~/Téléchargements/ROOT/root_src -Droofit=OFF
I get :

-- Configuring done
CMake Error at CMakeLists.txt:517 (add_dependencies):
  The dependency target "RooFit" of target "modules_idx" does not exist.

CMake Error at CMakeLists.txt:517 (add_dependencies):
  The dependency target "RooFitCore" of target "modules_idx" does not exist.

CMake Error at CMakeLists.txt:517 (add_dependencies):
  The dependency target "RooFitHS3" of target "modules_idx" does not exist.

CMake Error at CMakeLists.txt:517 (add_dependencies):
  The dependency target "RooFitRDataFrameHelpers" of target "modules_idx"
  does not exist.

CMake Error at CMakeLists.txt:517 (add_dependencies):
  The dependency target "RooStats" of target "modules_idx" does not exist.

-- Generating done
CMake Generate step failed.  Build files cannot be regenerated correctly.

Here it is !
and a beautiful client :slight_smile:

thanks to you all for the help.
Arnaud

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