linux 内核 菜单,linux内核菜单编译小问题

进行目录化配置时,出现如下问题

#make menuconfig    //键入之后 出现

*** Unable to find the ncurses libraries or the

*** required header files.

*** 'make menuconfig' requires the ncurses libraries.

***

*** Install ncurses (ncurses-devel) and try again.

***

make[1]: *** [scripts/kconfig/dochecklxdialog] 错误 1

make: *** [menuconfig] 错误 2

#sudo apt-get install ncurses-dev     //键入即可ncurses 用于make menuconfig界面显示

进行图形化配置编译时

#make xcongfig

CHECK   qt

*

* Unable to find the QT3 installation. Please make sure that

* the QT3 development package is correctly installed and

* either install pkg-config or set the QTDIR environment

* variable to the correct location.

*

sed < scripts/kconfig/lkc_proto.h > scripts/kconfig/lkc_defs.h 's/P(\([^,]*\),.*/#define \1 (\*\1_p)/'

HOSTCC  scripts/kconfig/kconfig_load.o

make[1]: *** 没有规则可以创建“scripts/kconfig/qconf.o”需要的目标“scripts/kconfig/.tmp_qtcheck”。 停止。

make: *** [xconfig] 错误 2

root@wang-desktop:/home/test/linux-2.6.33.2# su -c'yum groupinstall chinese-support'

bash: yum:找不到命令

根据http://forum.ubuntu.org.cn/viewtopic.php?t=110461&highlight=

我们知道除了安装ncurses外,还要安装build-essential 和 kernel-package

那么我们就将其安装上

#sudo apt-get install kernel-package

#sudo apt-get install build-essential

ok了

*博客内容为网友个人发布,仅代表博主个人观点,如有侵权请联系工作人员删除。

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值