Kernel 2.6.22 コンパイル時のエラー

Ubuntu 7.10 上で Kernel 2.6.22 をコンパイルしようと make menuconfig を実行したところ以下のようなエラーが発生。

linux-source-2.6.22$ make menuconfig
HOSTCC scripts/kconfig/lxdialog/checklist.o
scripts/kconfig/lxdialog/checklist.c:24 から include されたファイル中:
scripts/kconfig/lxdialog/dialog.h:32:20: error: curses.h: No such file or directory
In file included from scripts/kconfig/lxdialog/checklist.c:24:

この後エラー&警告が大量に続く

何事か?
Kernel コンパイルするのなんか数年ぶりなので、何か仕組みが変わったか?
と思ったのだが、エラーの内容をよく見ると、curses.hが必要なようだ。
そこで、libncurses5-devをインストールするとうまくいった。