标签:parted 3.0
场景描述:parted 3.0版本一直以来都没有升级成功
操作步骤一:
CFLAGS=-Os .configure
出错如下:
configure:error:GNU Parted required libuuid -a part of the util-linux-ng package
(but usually distributed separately in libuuid-devel,uuid-dev or similar)
This can probably be found on your distribution is CD or FTP
Note: originally,libuuid was part of the e2fsprogs packages,Later ,it
moved to util-linux-ng-2.16,an that package is now the preferred source
操作步骤二:
尝试查看是否已经安装了util-linux-ng套件
#rpm -qa|grep linux
结果:
util-linux-ng-2.17.2
尝试查看是否已经安装了uuid套件
#rpm -qa |grep uuid
结果:
libuuid-2.17.2
尝试搜索libuuid
yum search libuuid
libuuid.x86_64
libuuid-devel.x86_64
解决方案:
尝试安装libuuid-devel.x86_64
yum -y install libuuid-devel.x86_64
操作步骤三:
configure:error:libdevmappper could not be found but is required
for the --enable-device-mapper option ,which is enabled by deafult,Either disable
disable device-mapper support with --disable-device-mapper or download
and install device-mapper vi
解决方案:
yum -y install device-mapper-devel.x86_64
操作步骤四:
解决方案:
由于系统没有安装readline套件,所以禁止这个功能重新编译
CFLAGS=-Os .configure --without-readline
标签:parted 3.0
原文地址:http://5228690.blog.51cto.com/5218690/1611533