menuconfig: fail with clearer error if curses.h N/A

From: Frans Pop
Date: Sun Oct 14 2007 - 17:23:33 EST


It would be nice if 'make menuconfig' could fail earlier or with a clearer
error if curses.h is not available. The actual error is currently rather
buried in a huge amount of indirect errors.

After installing libncurses-dev (Debian) everything was fine.

$ make menuconfig
HOSTCC scripts/kconfig/lxdialog/checklist.o
In file included from scripts/kconfig/lxdialog/checklist.c:24:
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:
scripts/kconfig/lxdialog/dialog.h:97: error: expected specifier-qualifier-list before âchtypeâ
scripts/kconfig/lxdialog/dialog.h:187: error: expected â)â before â*â token
scripts/kconfig/lxdialog/dialog.h:194: error: expected â)â before â*â token
scripts/kconfig/lxdialog/dialog.h:196: error: expected â)â before â*â token
scripts/kconfig/lxdialog/dialog.h:197: error: expected â)â before â*â token
scripts/kconfig/lxdialog/dialog.h:198: error: expected â)â before â*â token
scripts/kconfig/lxdialog/dialog.h:199: error: expected â)â before â*â token
scripts/kconfig/lxdialog/dialog.h:201: error: expected â)â before â*â token
scripts/kconfig/lxdialog/checklist.c:31: error: expected â)â before â*â token
scripts/kconfig/lxdialog/checklist.c:59: error: expected â)â before â*â token
scripts/kconfig/lxdialog/checklist.c:95: error: expected â)â before â*â token
scripts/kconfig/lxdialog/checklist.c: In function âdialog_checklistâ:
[another 30 or so lines with warnings/errors omitted]

Cheers,
FJP
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/