Missing XRootD executables in Root installation

I configured the Root build for building also XRootD:

...
-- Looking for XROOTD
-- XROOTD not found, enabling 'builtin_xrootd' option
-- Downloading and building XROOTD version 5.4.2
...
-- Enabled support for:  asimage builtin_afterimage builtin_clang builtin_cling builtin_ftgl builtin_gl2ps builtin_llvm builtin_lz4 builtin_openui5 builtin_tbb builtin_vdt builtin_xrootd builtin_xxhash builtin_zstd clad dataframe exceptions gdml http imt mathmore mlp minuit2 opengl pyroot roofit webgui root7 rpath runtime_cxxmodules shared ssl tmva tmva-cpu tmva-pymva spectrum vdt x11 xrootd
...
...
-- XROOTD install command succeeded.  See also /wizard/bombur/software/source/root-6.26.04.build/builtins/xrootd/XROOTD-prefix/src/XROOTD-stamp/XROOTD-install-*.log
...

The XRootD executables like xrdcp are available in the build tree:

$ ls /wizard/bombur/software/source/root-6.26.04.build/builtins/xrootd/XROOTD-prefix/bin
cconfig  cmsd  frm_admin  frm_purged  frm_xfragent  frm_xfrd  mpxstats  wait41  xrdacctest  xrdadler32  xrdcopy  xrdcp  xrdcrc32c  xrdfs  xrdgsiproxy  xrdgsitest  xrdmapc  xrdpfc_print  xrdpinls  xrdpwdadmin  xrdsssadmin  xrootd  xrootd-config

but not in the Root installation folder:

$ ls $ROOTSYS/bin
genreflex  prepareHistFactory  proofserv.exe  root        rootcint   root-config  rootdrawtree       root.exe  rootmkdir  rootnb.exe  rootprint  roots      rootslimtree  setxrd.sh     thisroot.fish  xpdtest
hadd       proofserv           rmkdepend      rootbrowse  rootcling  rootcp       rooteventselector  rootls    rootmv     rootn.exe   rootrm     roots.exe  setxrd.csh    thisroot.csh  thisroot.sh

$ find $ROOTSYS -name xrdcp
$

I checked the definition of ROOTSYS and it is correct, pointing to the actual installation folder. I think I’ve done something wrong but I cannot figure out what. Any suggestion?
Thanks.

ROOT Version: 6.26.04
Platform: CentOS 7
Compiler: GCC 11.2.1 from devtoolset 11

Hi @Nicola_Mori,

Thanks for your question.

We only install XROOTD library and headers (not the binaries, so you can’t find them in the bin folder) as part of ROOT installation. You can find the libraries by looking for libXrd* in your lib directory.

Hope that answers your question.

Cheers,
Dev

Hi Dev, understood. I think I’ll somehow copy them manually to the Root installation folder, thank you for your insight.

1 Like