免费注册 查看新帖 |

Chinaunix

  平台 论坛 博客 文库
123下一页
最近访问板块 发新帖
查看: 7970 | 回复: 23

Fedora8下不能编译grub 0.97? [复制链接]

论坛徽章:
0
发表于 2008-08-28 11:59 |显示全部楼层
在网上找了很多的资料,很多人有遇到同样的问题,但是没有找到解决方法,请解决这个问题的朋友,分享一下。
configure: error: GRUB requires a working absolute objcopy; upgrade your binutils
这个错误

[ 本帖最后由 locom 于 2008-8-28 12:01 编辑 ]

论坛徽章:
0
发表于 2008-08-28 18:35 |显示全部楼层

回复 #1 locom 的帖子

在Fedora 4下编译居然没有问题。

论坛徽章:
0
发表于 2008-08-28 22:06 |显示全部楼层
跟binutils的版本有關係吧

论坛徽章:
0
发表于 2008-08-28 23:18 |显示全部楼层
你的错误信息清清楚楚地告诉了你因为什么.

论坛徽章:
0
发表于 2008-08-30 19:47 |显示全部楼层

回复 #5 locom 的帖子

有没有使用fc8的朋友呢?
在fc8下安装grub-0.97-19.src.rpm,安装过程# rpm -ivh grub-0.97-19.src.rpm
# cd /usr/src/redhat/SPECS  #rpmbuild -bp grub.specs #cd /usr/src/redhat/BUILD/grub-0.97  #./configure-fedora8   这个时候出现如下错误:
checking for a BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane... configure.fedora-8: error: ls -t appears to fail.  Make sure there is not a broken
alias in your environment
configure.fedora-8: error: newly created file is older than distributed files!
Check your system clock
我已经使用date配置了正确的时间,上面的错误依旧

论坛徽章:
0
发表于 2008-08-30 21:47 |显示全部楼层
搞不明白为什么连grub为什么都要编译?!

论坛徽章:
0
发表于 2008-08-31 08:54 |显示全部楼层
原帖由 jerrywjl 于 2008-8-30 21:47 发表
搞不明白为什么连grub为什么都要编译?!


因为要改一些代码,所以要去重新编译

论坛徽章:
0
发表于 2008-08-31 09:22 |显示全部楼层
configure.fedora-8: error: newly created file is older than distributed files!

我认为他是说你的grub版本太旧。

论坛徽章:
0
发表于 2008-08-31 09:53 |显示全部楼层
原帖由 jerrywjl 于 2008-8-31 09:22 发表
configure.fedora-8: error: newly created file is older than distributed files!

我认为他是说你的grub版本太旧。

我刚刚又去下了一个grub-0.97-33.1.fc8.src.rpm,重新试了,错误还是依旧。
grub现在的最新版本是多少呢?在这里ftp://alpha.gnu.org/gnu/grub/  版本号从0.97就升到1.90,我拆过grub-0.97-33.1.fc8.src.rpm,它是往grub-0.97(源代码目录)里面打fc8的patch

论坛徽章:
0
发表于 2008-08-31 17:32 |显示全部楼层

回复 #10 locom 的帖子

没有人再fc8下编译安装过grub的源代码吗?
您需要登录后才可以回帖 登录 | 注册

本版积分规则 发表回复

  

北京盛拓优讯信息技术有限公司. 版权所有 京ICP备16024965号-6 北京市公安局海淀分局网监中心备案编号:11010802020122 niuxiaotong@pcpop.com 17352615567
未成年举报专区
中国互联网协会会员  联系我们:huangweiwei@itpub.net
感谢所有关心和支持过ChinaUnix的朋友们 转载本站内容请注明原作者名及出处

清除 Cookies - ChinaUnix - Archiver - WAP - TOP