安装交叉编译器出问题 ./arm-2010…
来源:互联网 发布:广电网络是什么 编辑:程序博客网 时间:2024/06/01 18:47
转自:http://blog.csdn.net/cgipro/archive/2010/10/12/5936262.aspx
安装交叉编译器出问题
./arm-2010q1-202-arm-none-linux-gnueabi.bin
错误信息如下;
Checking for required programs: awk grep sed bzip2 gunzip
===============================================================
Error: DASH shell not supported as system shell
===============================================================
The installer has detected that your system uses the dashshell
as /bin/sh.
You can work around this problem by changing /bin/sh to be a
symbolic link to a supported shell such as bash.
For example, on Ubuntu systems, execute this shell command:
Please refer to the Getting Started guide for moreinformation,
or contact CodeSourcery Support for assistance.
Google搜:
http://www.51testing.com/html/38/225738-208702.html
Ubuntu下sh默认指向dash。
echo $SHELL
typesh
然后我到/bin下看了有"sh -> dash",原来sh是/bin/dash的链接。
后来google了一下才发现,buntu6.10已将先前默认的bashshell更换为了dash。其表现是/bin/sh链接到了/bin/dash而不是传统的/bin/bash。
bash - GNU Bourne-Again SHell
dash - Debian Almquist Shell
可以分别man bash
那么怎么把sh改为指向bash呢?
最暴力的方法当然是直接把/bin/sh的软链接改到bash中,
如:ln -s /bin/bash /bin/sh
但是,有优雅一些的方法,
sudo dpkg-reconfigure dash
出现菜单问你是否要dash的时候,选no就可以了。
先看看链接:
cuigang@cui:~$ ls -l /bin/sh
lrwxrwxrwx 1 root root 4 2010-10-12 17:04 /bin/sh ->dash
按照出错的提示信息
就可以了,再看看链接:
cuigang@cui:~$ ls -l /bin/sh
lrwxrwxrwx 1 root root 4 2010-10-12 16:52 /bin/sh ->bash
那么Dash是什么东西呢
DASH
Description
DASH is a POSIX-compliant implementation of /bin/sh that aims tobe as small as possible. It does this without sacrificing speedwhere possible. In fact, it is significantly faster than bash (theGNU Bourne-Again SHell) for most tasks.
比bash小而快的东西
- 安装交叉编译器出问题 ./arm-2010…
- 安装交叉编译器出问题 ./arm-2010…
- Ubuntu 安装交叉编译器arm-no…
- Ubuntu 12.10安装交叉编译器a…
- ARM交叉编译器安装
- linux arm 交叉编译器安装
- ubuntu 安装ARM交叉编译器
- 嵌入式ARM交叉编译器安装
- Hive安装 …
- Keil Software –Cx51 编译器…
- arm-elf交叉编译器安装与测试
- 安装交叉编译器arm-linux-gcc
- 交叉编译器arm-linux-gcc的安装
- ubuntu 10.04下安装arm交叉编译器
- 安装交叉编译器arm-linux-gcc
- ubuntu 10.04下安装arm交叉编译器
- linux下ARM交叉编译器的安装
- linux下ARM交叉编译器的安装
- 编译android的linux内核
- Linux下android内核编译
- Linux下android内核编译
- emulator使用方法
- emulator使用方法
- 安装交叉编译器出问题 ./arm-2010…
- 安装交叉编译器出问题 ./arm-2010…
- 加载驱动模块时-1 Unknown symbol …
- 加载驱动模块时-1 Unknown symbol …
- INIT_WORK和container_of
- C 语言 undefined reference to 's…
- 动态链接库
- C 语言 undefined reference to 's…
- 生成和使用动态链接库和静态链接库…