XrdClientConn error

I am trying to install root_v3.34.05 with

./configure --enable-qt
make

with the following errors

/users/root_v3.34.05/net/netx/src/TXNetFile.cxx:59:38: error: XrdClient/XrdClientConn.hh: No such file or directory
/users/root_v3.34.05/net/netx/src/TXNetFile.cxx: In member function ‘void TXNetFile::CreateXClient(const char*, const Option_t*, Int_t, Bool_t)’:
/users/root_v3.34.05/net/netx/src/TXNetFile.cxx:306: error: invalid use of undefined type ‘struct XrdClientConn’
/usr/include/xrootd/XrdClient/XrdClientAbs.hh:48: error: forward declaration of ‘struct XrdClientConn’
/users/root_v3.34.05/net/netx/src/TXNetFile.cxx:340: error: invalid use of undefined type ‘struct XrdClientConn’
/usr/include/xrootd/XrdClient/XrdClientAbs.hh:48: error: forward declaration of ‘struct XrdClientConn’
/users/root_v3.34.05/net/netx/src/TXNetFile.cxx:340: error: ‘kSTRootd’ was not declared in this scope
/users/root_v3.34.05/net/netx/src/TXNetFile.cxx:345: error: invalid use of undefined type ‘struct XrdClientConn’
/usr/include/xrootd/XrdClient/XrdClientAbs.hh:48: error: forward declaration of ‘struct XrdClientConn’
/users/root_v3.34.05/net/netx/src/TXNetFile.cxx:363: error: invalid use of undefined type ‘struct XrdClientConn’
/usr/include/xrootd/XrdClient/XrdClientAbs.hh:48: error: forward declaration of ‘struct XrdClientConn’
/users/root_v3.34.05/net/netx/src/TXNetFile.cxx: In member function ‘virtual void TXNetFile::Init(Bool_t)’:
/users/root_v3.34.05/net/netx/src/TXNetFile.cxx:951: error: invalid use of undefined type ‘struct XrdClientConn’
/usr/include/xrootd/XrdClient/XrdClientAbs.hh:48: error: forward declaration of ‘struct XrdClientConn’
/users/root_v3.34.05/net/netx/src/TXNetFile.cxx:952: error: invalid use of undefined type ‘struct XrdClientConn’
/usr/include/xrootd/XrdClient/XrdClientAbs.hh:48: error: forward declaration of ‘struct XrdClientConn’
/users/root_v3.34.05/net/netx/src/TXNetFile.cxx: In member function ‘void TXNetFile::SynchronizeCacheSize()’:
/users/root_v3.34.05/net/netx/src/TXNetFile.cxx:1398: error: ‘XrdClientReadCache’ has not been declared
make: *** [net/netx/src/TXNetFile.o] Error 1

What did i miss? Thanks.
F.

Hi,

I hit the same problem today while trying to install root_v5.34.07

The problem is that the newest xrootd-devel (version 3.3) RPMs for Fedora/RedHat/SL do not include that header file anymore (it was there in version 3.1). There is a transitional package xrootd-private-devel that will install the missing header files into

So you will then need to run

Cheers, Daniel

Hi, dmeister:

What’s the correct format to put two directories for xrootd-incdir?

[root@valtical06 root]# ./configure --with-xrootd-incdir /usr/include/xrootd/ --with-xrootd-incdir /usr/include/xrootd/private/
Checking for source directory … /opt/test/root
Configuring for linuxx8664gcc
Invalid option ‘–with-xrootd-incdir’. Try ./configure --help

[root@valtical06 root]# ./configure --with-xrootd-incdir=/usr/include/xrootd/,/usr/include/xrootd/private/
Checking for XrdVersion.hh … /usr/include/xrootd

Checking for xrootd version … grep: /usr/include/xrootd/,/usr/include/xrootd/private//XrdVersion.hh: No such file or directory

Cheers,Gang

Cheers,Gang