Ubuntu安装codesourcery交叉编译器的问题
来源:互联网 发布:运营美工推广招聘 编辑:程序博客网 时间:2024/05/01 07:30
安装交叉编译器出问题了, ./arm-2010q1-202-arm-none-linux-gnueabi.bin 错误信息如下; Checking for required programs: awk grep sed bzip2 gunzip 那么怎么把sh改为指向bash呢?
===============================================================
Error: DASH shell not supported as system shell
===============================================================
The installer has detected that your system uses the dash shell
as /bin/sh. This shell is not supported by the installer.
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:
% sudo dpkg-reconfigure -plow dash
Install as /bin/sh? No
Please refer to the Getting Started guide for more information,
or contact CodeSourcery Support for assistance.
Ubuntu下sh默认指向dash 。
echo $SHELL --> /bin/bash
type sh --> /bin/sh
然后我到/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 / man dash看一下。
最暴力的方法当然是直接把/bin/sh的软链接改到bash中,
如:ln -s /bin/bash /bin/sh
但是,有优雅一些的方法,
sudo dpkg-reconfigure dash
出现菜单问你是否要dash的时候,选no就可以了。
- Ubuntu安装codesourcery交叉编译器的问题
- Ubuntu安装codesourcery交叉编译器的问题
- Ubuntu安装codesourcery交叉编译器的问题
- ubuntu 12.04版本交叉编译器安装的相关问题
- ubuntu安装交叉编译器后不能编译的问题
- 【Ubuntu】[交叉编译器]:ubuntu 安装交叉编译器
- ubuntu 安装交叉编译器
- Ubuntu 安装交叉编译器
- Ubuntu安装交叉编译器
- ubuntu安装交叉编译器
- 交叉编译器安装问题
- CodeSourcery G++编译器的BUG
- 自己安装交叉编译器遇到的问题
- 64位ubuntu安装交叉编译器出现的问题。nuc972工程中的问题
- vmware+ubuntu-安装交叉编译器
- ubuntu 安装ARM交叉编译器
- 交叉编译器的安装
- 交叉编译器的安装
- Java图像处理技巧四则
- ASP.NET MVC2中三种ajax实现方式-使用Jquery
- QT中的多线程(二)
- 五、Oracle初级学习之权限
- ASP.NET MVC2中三种ajax实现方式-使用AjaxHelper
- Ubuntu安装codesourcery交叉编译器的问题
- Facebook网站所使用的开源软件一览表
- (转)简体繁体转换代码(Big5-GB | GBK简体-GBK繁体)
- QT中线程调用GUI主线程控件的问题
- SVN服务器的简单配置
- 今天的问题总结
- 1. js的控件分析
- 内存映射对于大文件的使用
- setTimeout与setInterval