Fix menuconfig error message
PATCH 1/1 Fix menuconfig error message
If you try to run `make menuconfig' on a system that lacks ncurses development libs, you get an error message telling you to install ncurses-devel. Some popular distributions don't have an ncurses-devel package. This patch generalizes the error message. Patch is against 2.6.12.
MAINTAINERS doesn't list a maintainer for menuconfig or lxdialog, so I sent this to lkml, kbuild-devel, and to the kconfig maintainer.
scripts/lxdialog/Makefile +4 -2
@@ -35,8 +35,10 @@ echo -e "\007" ;\ echo ">> Unable to find the Ncurses libraries." ;\ echo ">>" ;\ - echo ">> You must install ncurses-devel in order" ;\ - echo ">> to use 'make menuconfig'" ;\ + echo ">> You must install ncurses development libraries" ;\ + echo ">> to use 'make menuconfig'. If you have an RPM-based" ;\ + echo ">> Debian-based distribution you should install the" ;\ + echo ">> ncurses-devel package." ;\ echo ;\ exit 1 ;\ fi
Kurt
Signature · 2 lines
"I have a very firm grasp on reality! I can reach out and strangle it any time!"
Quoted 17 lines · Kurt Wall
If you try to run `make menuconfig' on a system that lacks ncurses development libs, you get an error message telling you to install ncurses-devel. Some popular distributions don't have an ncurses-devel package. This patch generalizes the error message. Patch is against 2.6.12.
MAINTAINERSdoesn't list a maintainer for menuconfig or lxdialog, so I sent this to lkml, kbuild-devel, and to the kconfig maintainer.Signed-off-by Kurt Wall <[email protected]>scripts/lxdialog/Makefile +0
-0@@ -35,8 +35,10 @@ echo -e "\007" ;\ echo ">> Unable to find the Ncurses libraries." ;\
scripts/lxdialog/Makefile line 44
Quoted 10 lines
scripts/lxdialog/Makefile +4
-2echo ">>" ;\ - echo ">> You must install ncurses-devel in order" ;\ - echo ">> to use 'make menuconfig'" ;\ + echo ">> You must install ncurses development libraries" ;\ + echo ">> to use 'make menuconfig'. If you have an RPM-based" ;\ + echo ">> Debian-based distribution you should install the" ;\ + echo ">> ncurses-devel package." ;\ echo ;\ exit 1 ;\ fi
You know, I'd say that *very* few (approximately zero) Debian-based distributions are RPM-based =) The Debian package is called libncurses5-dev, btw.
Regards: David Weinehall
Signature · 3 lines
/) David Weinehall <[email protected]> /) Northern lights wander (\ // Maintainer of the v2.0 kernel // Dance across the winter sky // \) http://www.acc.umu.se/~tao/ (/ Full colour fire (/
Quoted 6 lines · David Weinehall
Quoted 5 lines · Kurt Wall
If you try to run `make menuconfig' on a system that lacks ncurses development libs, you get an error message telling you to install ncurses-devel. Some popular distributions don't have an ncurses-devel package. This patch generalizes the error message. Patch is against 2.6.12.
[...]
Quoted 10 lines
scripts/lxdialog/Makefile line 44
Quoted 6 lines
scripts/lxdialog/Makefile +3
-0+ echo ">> to use 'make menuconfig'. If you have an RPM-based" ;\ + echo ">> Debian-based distribution you should install the" ;\ + echo ">> ncurses-devel package." ;\ echo ;\ exit 1 ;\ fiYou know, I'd say that *very* few (approximately zero) Debian-based distributions are RPM-based =) The Debian package is called libncurses5-dev, btw.
Silly typo. I'll post a new patch with the Debian package name. Thanks.
Kurt
Signature · 3 lines
Bradley's Bromide: If computers get too powerful, we can organize them into a committee -- that will do them in.