我使用 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/