安装xfsprogs:FATAL ERROR: could not find a valid UUID header.

在安装xfsprogs时,报如下错误:

checking uuid.h usability... no
checking uuid.h presence... no
checking for uuid.h... no
checking sys/uuid.h usability... no
checking sys/uuid.h presence... no
checking for sys/uuid.h... no
checking uuid/uuid.h usability... no
checking uuid/uuid.h presence... no
checking for uuid/uuid.h... no

FATAL ERROR: could not find a valid UUID header.
Install the Universally Unique Identifiers development package.

系统目录下存在有:
/lib64/libuuid.so.1
/lib64/libuuid.so.1.3.0

根据提示,说明缺少uuid的devel开发包,安装如下:

yum install libuuid
yum install libuuid-devel
一切OK!

你可能感兴趣的:(linux应用)