[PATCH]Fix menuconfig error message

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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.

This patch fixes a silly typo conflating RPM-based systems with Debian
derivatives and adds the name of the Debian package to install.

MAINTAINERS doesn'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]>


--- a/scripts/lxdialog/Makefile	2005-07-04 09:54:44.000000000 -0400
+++ b/scripts/lxdialog/Makefile	2005-07-04 11:50:00.000000000 -0400
@@ -35,8 +35,11 @@
 		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 ">> distribution you should install the ncurses-devel" ;\
+		echo ">> Debian users will probably want to install the
+		echo ">> libncurses5-dev package." ;\
 		echo ;\
 		exit 1 ;\
 	fi
-- 
Rule of Feline Frustration:
	When your cat has fallen asleep on your lap and looks utterly
content and adorable, you will suddenly have to go to the bathroom.
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to [email protected]
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

[Index of Archives]     [Kernel Newbies]     [Netfilter]     [Bugtraq]     [Photo]     [Gimp]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Video 4 Linux]     [Linux for the blind]
  Powered by Linux