编译问题!

编译打包和其他
回复
jfpu
帖子: 1
注册时间: 2009-04-03 20:05

编译问题!

#1

帖子 jfpu » 2009-04-03 20:35

我在编译2.6.29内核时出现以下问题:
root@core-desktop:/usr/src/linux-2.6.29# 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

之后我在/usr/src/目录下运行:
root@core-desktop:/usr/src/linux-2.6.29# apt-get install ncurses
Reading package lists... Done
Building dependency tree
Reading state information... Done
Package ncurses is not available, but is referred to by another package.
This may mean that the package is missing, has been obsoleted, or
is only available from another source
E: Package ncurses has no installation candidate

该如何解决这个问题? 请高手指点迷津! 谢谢
头像
HuntXu
帖子: 5776
注册时间: 2007-09-29 3:09

Re: 编译问题!

#2

帖子 HuntXu » 2009-04-03 20:50

aptitude search ncurses
HUNT Unfortunately No Talent...
头像
kelen
帖子: 734
注册时间: 2008-05-02 19:50

Re: 编译问题!

#3

帖子 kelen » 2009-04-04 15:51

检查你的源. 把官方的源加上吧. 这样保险点, (虽然有点慢).
In a world without walls who needs Windows?
回复