]> git.proxmox.com Git - mirror_ubuntu-jammy-kernel.git/commitdiff
kconfig: be more helpful if pkg-config is missing
authorAlyssa Ross <hi@alyssa.is>
Tue, 5 Nov 2019 15:07:36 +0000 (15:07 +0000)
committerMasahiro Yamada <yamada.masahiro@socionext.com>
Mon, 11 Nov 2019 11:10:01 +0000 (20:10 +0900)
If ncurses is installed, but at a non-default location, the previous
error message was not helpful in resolving the situation.  Now it will
suggest that pkg-config might need to be installed in addition to
ncurses.

Signed-off-by: Alyssa Ross <hi@alyssa.is>
Signed-off-by: Masahiro Yamada <yamada.masahiro@socionext.com>
scripts/kconfig/mconf-cfg.sh
scripts/kconfig/nconf-cfg.sh

index c812872d7f9d78697d40debbe636674419e646a4..aa68ec95620d6095123c538e25193d627ba6107c 100755 (executable)
@@ -44,4 +44,7 @@ echo >&2 "* Unable to find the ncurses package."
 echo >&2 "* Install ncurses (ncurses-devel or libncurses-dev"
 echo >&2 "* depending on your distribution)."
 echo >&2 "*"
+echo >&2 "* You may also need to install pkg-config to find the"
+echo >&2 "* ncurses installed in a non-default location."
+echo >&2 "*"
 exit 1
index 001559ef0a60b539c8615c23d4bcc94be5eaf59f..c212255070c0cafc4dd9e212bf7b68399ef41512 100755 (executable)
@@ -44,4 +44,7 @@ echo >&2 "* Unable to find the ncurses package."
 echo >&2 "* Install ncurses (ncurses-devel or libncurses-dev"
 echo >&2 "* depending on your distribution)."
 echo >&2 "*"
+echo >&2 "* You may also need to install pkg-config to find the"
+echo >&2 "* ncurses installed in a non-default location."
+echo >&2 "*"
 exit 1