When install root 6.22.08, can not find XrdClient.hh


_Hello, when I use this command:
cmake -DCMAKE_INSTALL_PREFIX= installdir sourcedir
to install a root, but give a error log:
fatal error: XrdClient/XrdClient.hh: No such file or directory
#include <XrdClient/XrdClient.hh>
How can I solve this problem?

Best Regards!

_ROOT Version:root 6.22.08
Platform: Centos7
Compiler: GCC10


Try:
cmake -Dxrootd=OFF ...
or:
cmake -Dbuiltin_xrootd=ON ...
or maybe:
sudo yum install xrootd-client-devel # from EPEL
cmake ...

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