设为首页
收藏本站
用户名
Email
自动登录
找回密码
密码
登录
注册
快捷导航
平台
Portal
论坛
BBS
文库
项目
群组
Group
我的博客
Space
搜索
搜索
热搜:
shell
linux
mysql
本版
用户
LinuxSir.cn,穿越时空的Linuxsir!
»
论坛
›
Linux 发行版讨论区 —— LinuxSir.cn
›
Redhat/Fedora/CentOS Linux
›
交叉编译环境安装不上,为什么?
返回列表
查看:
1006
|
回复:
4
交叉编译环境安装不上,为什么?
[复制链接]
ducling
ducling
当前离线
积分
1
IP卡
狗仔卡
发表于 2007-5-11 15:50:41
|
显示全部楼层
|
阅读模式
我的笔记本用的是fedora 6,我打算向里安装arm机的编译环境,文件是arm-elf-tools-20030314.sh。但是安装不上,请高手分析一下原因。下面是我打的命令,这是什么原因?(uClinux-040408-hzh.tar.bz2、arm-elf-tools-20030314.sh在/home/hyb/ucdrag目录下存放)
[root@localhost home]# ls
cvtech fedora core 6安装包 hyb ucdrag
[root@localhost home]# cd ucdrag/
[root@localhost ucdrag]# ls
arm-elf-tools-20030314.sh uClinux-040408 uClinux-040408-hzh.tar.bz2
[root@localhost ucdrag]# sh ./arm-elf-tools-20030314.sh
tail: 无法打开 “+43” 读取数据: 没有那个文件或目录
gunzip: stdin: not in gzip format
[root@localhost ucdrag]#
回复
使用道具
举报
提升卡
置顶卡
沉默卡
喧嚣卡
变色卡
显身卡
和尚娶媳妇
和尚娶媳妇
当前离线
积分
249
IP卡
狗仔卡
发表于 2007-5-11 17:22:47
|
显示全部楼层
arm-elf-tools-20030314.sh脚本处理解压的部分有误.tail的使用方法改过了,这个脚本使用的是2003年的tail命令,
使用vi或者其它文本编辑器打开arm-elf-tools-20030314.sh修改tail命令的参数.应该是"tail -n 43",而不是"tail +43"
回复
支持
反对
使用道具
举报
显身卡
mishuang
mishuang
当前离线
积分
62
IP卡
狗仔卡
发表于 2007-5-14 21:49:48
|
显示全部楼层
它怎么又说
gunzip: stdin: not in gzip format
回复
支持
反对
使用道具
举报
显身卡
mishuang
mishuang
当前离线
积分
62
IP卡
狗仔卡
发表于 2007-5-15 21:42:28
|
显示全部楼层
这样好像就行了
# cat arm-elf-tools-20030314.sh | sed '1,42d' | gunzip | tar xvf -
回复
支持
反对
使用道具
举报
显身卡
mishuang
mishuang
当前离线
积分
62
IP卡
狗仔卡
发表于 2007-5-15 21:50:37
|
显示全部楼层
这样好像就行了
# cat arm-elf-tools-20030314.sh | sed '1,42d' | gunzip | tar xvf -
回复
支持
反对
使用道具
举报
显身卡
返回列表
高级模式
B
Color
Image
Link
Quote
Code
Smilies
您需要登录后才可以回帖
登录
|
注册
本版积分规则
发表回复
回帖后跳转到最后一页
浏览过的版块
Gentoo Linux
开源软件专题讨论
Copyright © 2002-2023
LinuxSir.cn
(http://www.linuxsir.cn/) 版权所有 All Rights Reserved.
Powered by
RedflagLinux!
技术支持:
中科红旗
|
京ICP备19024520号
快速回复
返回顶部
返回列表