linux - 无法进行菜单配置

标签 linux ubuntu kernel debian upgrade

我使用 Debian 7.4 Wheezy。我试图升级我的内核,但是当我输入“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] Error 1
make: *** [menuconfig] Error 2

我尝试安装“libncurses5-dev”,但出现错误:

E: Unable to locate package libncurses5-dev

附言

我手动下载并安装了软件包,现在一切正常! 非常感谢!!

最佳答案

你应该已经运行(作为 root)

aptitude update
aptitude search libncurses

这会建议您正确的包名称。

然后试试

aptitude install libncurses-dev

aptitude install kernel-package
aptitude build-dep linux-image linux-image-amd64 

最后,使用make-kpkg --initrd binary 编译您的内核。 (它将在父目录中生成 *.deb 文件)。你想配置 /etc/kernel-pkg.conf 或许还有 /etc/kernel-img.conf

关于linux - 无法进行菜单配置,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/23050188/

相关文章:

c# - 绕过 DotNet 核心服务堆栈上的 SSL 证书验证

python - 绘制透明并单击所有窗口顶部的文本

bash - 在 Ubuntu 中重新创建 PyCharm 启动器

ubuntu - Ubuntu 14.04 VM : -std=c++11 flag isn't being detected 上的 GCC 4.8.4 错误

c - 为什么我不能从某些处理器异常中返回?玩具内核开发

linux - 用于 GCC/G++ 的宏来区分 Linux 和 Mac OSX?

php - 在 www-data (apache2, php) 下启动 shell 进程

linux - 如何将 PKCS#12 导入 Seahorse

linux-kernel - spin_lock期间的抢占

linux - 在 netfilter 中编译多个文件