码迷,mamicode.com
首页 > 其他好文 > 详细

parted 从2.1版本升级到3.0版本

时间:2015-02-04 18:56:26      阅读:437      评论:0      收藏:0      [点我收藏+]

标签: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 从2.1版本升级到3.0版本

标签:parted 3.0

原文地址:http://5228690.blog.51cto.com/5218690/1611533

(0)
(0)
   
举报
评论 一句话评论(0
登录后才能评论!
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!