【问题描述】
编译xfsprogs执行./configure报“FATAL ERROR: could not find a valid BLKID header.”错误,详细错误如下:
checking pkg-config is at least version 0.9.0... yes
checking pkg-config is at least version 0.9.0... yes
checking for libicu... no
checking whether openat is declared... yes
checking whether fstatat is declared... yes
checking for struct sg_io_hdr ... no
checking for struct hd_geometry ... yes
checking for systemd... yes
checking for systemd system unit dir... /usr/lib/systemd/system
checking for system crontab dir... /etc/cron.d
checking for library containing blkid_probe_all... no
checking for blkid_probe_get_topology... no
FATAL ERROR: could not find a valid BLKID header.
Install the Block device ID development package.

【解决方法】
执行yum -y install libblkid*安装libblkid-devel,再次执行./configure即可正常运行;
【问题描述】
编译xfsprogs执行./configure报“FATAL ERROR: could not find a valid BLKID header.”错误,详细错误如下:
checking pkg-config is at least version 0.9.0... yes
checking pkg-config is at least version 0.9.0... yes
checking for libicu... no
checking whether openat is declared... yes
checking whether fstatat is declared... yes
checking for struct sg_io_hdr ... no
checking for struct hd_geometry ... yes
checking for systemd... yes
checking for systemd system unit dir... /usr/lib/systemd/system
checking for system crontab dir... /etc/cron.d
checking for library containing blkid_probe_all... no
checking for blkid_probe_get_topology... no
FATAL ERROR: could not find a valid BLKID header.
Install the Block device ID development package.
【解决方法】
执行yum -y install libblkid*安装libblkid-devel,再次执行./configure即可正常运行;