红联Linux门户
Linux帮助

$SHELL not set to bash.是什么意思啊?

发布时间:2008-04-19 20:04:34来源:红联作者:sandy_zheng
我在安装无线的时候,提示这个。
这是我./configure /make /make install 出的提示
[root@localhost iwlwifi-1.0.0-1]# make
Makefile:20:
Makefile:21: WARNING: $SHELL not set to bash.
Makefile:22: If you experience build errors, try
Makefile:23: 'make SHELL=/bin/bash'.
Makefile:24:Checking kernel compatibility in:
/lib/modules/2.6.17.1-7smp/sourcemac80211 headers not found in:
/lib/modules/2.6.17.1-7smp/source/include/net/

[root@localhost iwlwifi-1.0.0-1]# ./configure
bash: ./configure: 没有那个文件或目录

[root@localhost iwlwifi-1.0.0-1]# make install
Makefile:20:
Makefile:21: WARNING: $SHELL not set to bash.
Makefile:22: If you experience build errors, try
[root@localhost iwlwifi-1.0.0-1]# make
Makefile:20:
Makefile:21: WARNING: $SHELL not set to bash.
Makefile:22: If you experience build errors, try
Makefile:23: 'make SHELL=/bin/bash'.
Makefile:24:Checking kernel compatibility in:
/lib/modules/2.6.17.1-7smp/sourcemac80211 headers not found in:
/lib/modules/2.6.17.1-7smp/source/include/net/Please install the mac80211 subsystem.Terminating.make: *** [compatible和/kversion] 错误 2

想上网啊!网卡没有linux 的驱动,只有无线有。

(5ty( :0w223dc :0w223dc
文章评论

共有 3 条评论

  1. sandy_zheng 于 2008-04-20 14:57:02发表:

    还有个问题就是怎么对kernal 进行更新啊?我的核心好像不支持 网络适配器 Marvell Yukon 88E8036 PCI-E Fast Ethernet Controller 下了一个新的核心,不知道怎么更新。我用的是红旗五,不想换六呢。我的核心是2.6.17
    0:w(5(

  2. sandy_zheng 于 2008-04-20 14:54:07发表:

    好的。我会试试
    先先谢谢了!

  3. gongji110 于 2008-04-19 21:00:34发表:

    这个可能是你的系统没有设置好bash,或者没有安装。
    你在终端运行
    cat /etc/passwd
    在里面就可以看到root用户的信息,我的是这样的:
    root:x:0:0:root:/root:/bin/bash
    bin:x:1:1:bin:/bin:/sbin/nologin
    第一行的中的/bin/bash就是你用的shell类型,一般有bash、tcsh等。
    看看你的里面是什么就知道了。