質問: menuconfigとxconfigは機能しません! make menuconfigを使用しようとすると、次のようになります。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 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およびqtは既にインストールされていますこれを解決するには?
回答: 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. libqt3-devは使用できませんが、qt4をインストールできます。したがって、3つのパッケージとビルドツールをインストールする必要があります。sudo apt install ncurses-dev kernel-package qt4-dev-tools pkg-config build-essential その後、make menuconfigおよびmake xconfigを実行できます。