Hi,
Newbie question on XRootD here:
I’m trying to compile latest XRootD (5.5.1) on CentOS 7 and I’m getting a compilation error.
I’m wondering if someone has seen or encountered this before, and if there are good tips to go around it.
Cheers,
Dejan
------
Scanning dependencies of target XrdOssSIgpfsT-5
[ 59%] Building CXX object src/CMakeFiles/XrdOssSIgpfsT-5.dir/XrdOss/XrdOssSIgpfsT.cc.o
[ 59%] Linking CXX shared module libXrdOssSIgpfsT-5.so
[ 59%] Built target XrdOssSIgpfsT-5
Scanning dependencies of target XrdAccSciTokens-5
[ 59%] Building CXX object src/CMakeFiles/XrdAccSciTokens-5.dir/XrdSciTokens/XrdSciTokensAccess.cc.o
/home/centos/xrd/xrootd-5.5.1/src/XrdSciTokens/XrdSciTokensAccess.cc: In function 'std::string {anonymous}::AccessRuleStr(const AccessRulesRaw&)':
/home/centos/xrd/xrootd-5.5.1/src/XrdSciTokens/XrdSciTokensAccess.cc:153:71: error: 'make_unique' is not a member of 'std'
auto result = rule_map.insert(std::make_pair(rule.second, std::make_unique<std::stringstream>()));
^
/home/centos/xrd/xrootd-5.5.1/src/XrdSciTokens/XrdSciTokensAccess.cc:153:105: error: expected primary-expression before '>' token
auto result = rule_map.insert(std::make_pair(rule.second, std::make_unique<std::stringstream>()));
^
/home/centos/xrd/xrootd-5.5.1/src/XrdSciTokens/XrdSciTokensAccess.cc:153:107: error: expected primary-expression before ')' token
auto result = rule_map.insert(std::make_pair(rule.second, std::make_unique<std::stringstream>()));
^
make[2]: *** [src/CMakeFiles/XrdAccSciTokens-5.dir/XrdSciTokens/XrdSciTokensAccess.cc.o] Error 1
make[1]: *** [src/CMakeFiles/XrdAccSciTokens-5.dir/all] Error 2
make: *** [all] Error 2
[centos@xrootd build-5.5.1]$
.........