安装TFS报错:
session_util.cpp: In static member function ‘static std::string tfs::common::SessionUtil::gene_uuid_str()’: session_util.cpp:17: 错误:‘uuid_t’在此作用域中尚未声明 session_util.cpp:17: 错误:expected ‘;’ before ‘uu’ session_util.cpp:18: 错误:‘uu’在此作用域中尚未声明 session_util.cpp:18: 错误:‘uuid_generate’在此作用域中尚未声明 session_util.cpp:20: 错误:‘uuid_unparse’在此作用域中尚未声明 make[2]: *** [session_util.o] 错误 1 make[2]: Leaving directory `/Disk/tb-common-utils/tfs-2.2.10/src/common‘ make[1]: *** [all-recursive] 错误 1 make[1]: Leaving directory `/Disk/tb-common-utils/tfs-2.2.10/src‘ make: *** [all-recursive] 错误 1
解决办法:
yum -y install libuuid-devel
时间: 2024-10-10 00:13:15