quand j'essaie d'utiliser make menuconfig
, je reçois ceci:
scripts/kconfig/mconf Kconfig init/Kconfig:1301: can't open file
"usr/Kconfig" scripts/kconfig/Makefile:24: recipe for target
'menuconfig' failed make[1]: *** [menuconfig] Error 1 Makefile:541:
recipe for target 'menuconfig' failed make: *** [menuconfig] Error 2
avec make xconfig
:
CHECK qt
* Unable to find the QT4 tool qmake. Trying to use QT3
*
* Unable to find any QT installation. Please make sure that
* the QT4 or QT3 development package is correctly installed and
* either qmake can be found or install pkg-config or set
* the QTDIR environment variable to the correct location.
* make[1]: *** No rule to make target 'scripts/kconfig/.tmp_qtcheck', needed by 'scripts/kconfig/qconf.o'. Stop. Makefile:541: recipe for target 'xconfig' failed make: *** [xconfig] Error 2
PS: libncurses5-dev
libncursesw5-dev
et qt
sont déjà installés.
Comment résoudre ceci?
Vous pouvez utiliser le conseil de la commande apt-get install linux-source
:
$ Sudo apt-get install linux-source
[Sudo] password for user:
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following additional packages will be installed:
linux-source-4.4.0
Suggested packages: #<-- suggestion
libncurses-dev | ncurses-dev kernel-package libqt3-dev #<-- is here
The following NEW packages will be installed:
linux-source linux-source-4.4.0
0 upgraded, 2 newly installed, 0 to remove and 0 not upgraded.
Le libqt3-dev
n'est pas disponible, mais vous pouvez installer celui de Qt4.
Donc, vous devriez installer trois paquets et construire des outils:
Sudo apt install ncurses-dev kernel-package qt4-dev-tools pkg-config build-essential
Ensuite, vous pourrez exécuter make menuconfig
et make xconfig
.