インストールに失敗しましたか? (make[2]:「インストール」に必要なアクションはありません。)

インストールに失敗しましたか? (make[2]:「インストール」に必要なアクションはありません。)

LMDE Linuxオペレーティングシステム(Lenovoノートブック)ベースのラズベリーゼロインストールQtでクロスコンパイルしようとしています。このガイドライン、このスクリプトを使用して次のように書きました。

#!/bin/bash

./configure -release -opengl es2 -device linux-rasp-pi-g++ -device-option CROSS_COMPILE=/home/so/raspi/tools/arm-bcm2708/gcc-linaro-arm-linux-gnueabihf-raspbian-x64/bin/arm-linux-gnueabihf- -sysroot /home/so/raspi/sysroot -opensource -confirm-license -skip qtwayland -skip qtlocation -skip qtscript -make libs -prefix /usr/local/qt5pi -extprefix /home/so/raspi/qt5pi -hostprefix /home/so/raspi/qt5 -no-use-gold-linker -v -no-gbm


 make
 make install

そして別名で保存install_qt.sh文書。走るのに使う

sudo ./instlation_qt.sh

出力が終わると、次のようになります。

so/Desktop/trash/3/qt-everywhere-src-5.12.3/qtbase/bin/qmake -install qinstall /home/so/Desktop/trash/3/qt-everywhere-src-5.12.3/qttranslations/translations/qtxmlpatterns_pl.qm /home/so/raspi/qt5pi/translations/qtxmlpatterns_pl.qm
/home/so/Desktop/trash/3/qt-everywhere-src-5.12.3/qtbase/bin/qmake -install qinstall /home/so/Desktop/trash/3/qt-everywhere-src-5.12.3/qttranslations/translations/qtxmlpatterns_ru.qm /home/so/raspi/qt5pi/translations/qtxmlpatterns_ru.qm
/home/so/Desktop/trash/3/qt-everywhere-src-5.12.3/qtbase/bin/qmake -install qinstall /home/so/Desktop/trash/3/qt-everywhere-src-5.12.3/qttranslations/translations/qtxmlpatterns_sk.qm /home/so/raspi/qt5pi/translations/qtxmlpatterns_sk.qm
/home/so/Desktop/trash/3/qt-everywhere-src-5.12.3/qtbase/bin/qmake -install qinstall /home/so/Desktop/trash/3/qt-everywhere-src-5.12.3/qttranslations/translations/qtxmlpatterns_uk.qm /home/so/raspi/qt5pi/translations/qtxmlpatterns_uk.qm
/home/so/Desktop/trash/3/qt-everywhere-src-5.12.3/qtbase/bin/qmake -install qinstall /home/so/Desktop/trash/3/qt-everywhere-src-5.12.3/qttranslations/translations/qtxmlpatterns_zh_TW.qm /home/so/raspi/qt5pi/translations/qtxmlpatterns_zh_TW.qm
make[2]: Leaving directory '/home/so/Desktop/trash/3/qt-everywhere-src-5.12.3/qttranslations/translations'
make[1]: Leaving directory '/home/so/Desktop/trash/3/qt-everywhere-src-5.12.3/qttranslations'
cd qtdoc/ && ( test -e Makefile || /home/so/Desktop/trash/3/qt-everywhere-src-5.12.3/qtbase/bin/qmake -o Makefile /home/so/Desktop/trash/3/qt-everywhere-src-5.12.3/qtdoc/qtdoc.pro ) && make -f Makefile install
make[1]: Entering directory '/home/so/Desktop/trash/3/qt-everywhere-src-5.12.3/qtdoc'
cd doc/ && ( test -e Makefile || /home/so/Desktop/trash/3/qt-everywhere-src-5.12.3/qtbase/bin/qmake -o Makefile /home/so/Desktop/trash/3/qt-everywhere-src-5.12.3/qtdoc/doc/doc.pro ) && make -f Makefile install
make[2]: Entering directory '/home/so/Desktop/trash/3/qt-everywhere-src-5.12.3/qtdoc/doc'
make[2]: Nothing to be done for 'install'.
make[2]: Leaving directory '/home/so/Desktop/trash/3/qt-everywhere-src-5.12.3/qtdoc/doc'
make[1]: Leaving directory '/home/so/Desktop/trash/3/qt-everywhere-src-5.12.3/qtdoc'

~/raspi/qt5piの説明に従って、新しいフォルダがあります ./configure ... -extprefix /home/so/raspi/qt5pi ...

インストールプロセスが正常に終了したと思います。この同様の質問に基づいて。インストールプロセスが正常に完了しましたか?

または

QtプロジェクトをRaspberry Pi Zeroにクロスコンパイルするのに問題があり、次のエラーが発生します。

  19:22:40: Starting /home/pi/Desktop/test_3/bin/test_3 ...
    libEGL warning: DRI3: xcb_connect failed
    libEGL warning: DRI2: xcb_connect failed
    libEGL warning: DRI2: xcb_connect failed
    Could not initialize egl display

だから何か間違っていると思います。私は見たこの同様の質問ここに何か問題があると思います。

作るサム: 「インストール」には何の処置も必要ありません。

このメッセージは、コマンドの作成時に発生したエラーが原因で発生します。make install例:

  1. sudo以前はありませんでしたか?
  2. このウェブサイトに基づいて、次のようになります。

makefile ルールのコマンドの前にタブの代わりにスペースがあるために発生します。

  1. それとも別のもの?

ベストアンサー1

「「インストール」に必要なアクションはありません。」メッセージはインストールの小さな部分を示します。

make[2]: Entering directory '/home/so/Desktop/trash/3/qt-everywhere-src-5.12.3/qtdoc/doc'
make[2]: Nothing to be done for 'install'.

これは、ディレクトリだけでは何もできないことを意味しますqtdoc/doc

たとえば、上記の行は

/home/so/Desktop/trash/3/qt-everywhere-src-5.12.3/qtbase/bin/qmake -install qinstall /home/so/Desktop/trash/3/qt-everywhere-src-5.12.3/qttranslations/translations/qtxmlpatterns_ru.qm /home/so/raspi/qt5pi/translations/qtxmlpatterns_ru.qm
/home/so/Desktop/trash/3/qt-everywhere-src-5.12.3/qtbase/bin/qmake -install qinstall /home/so/Desktop/trash/3/qt-everywhere-src-5.12.3/qttranslations/translations/qtxmlpatterns_sk.qm /home/so/raspi/qt5pi/translations/qtxmlpatterns_sk.qm
/home/so/Desktop/trash/3/qt-everywhere-src-5.12.3/qtbase/bin/qmake -install qinstall /home/so/Desktop/trash/3/qt-everywhere-src-5.12.3/qttranslations/translations/qtxmlpatterns_uk.qm /home/so/raspi/qt5pi/translations/qtxmlpatterns_uk.qm
/home/so/Desktop/trash/3/qt-everywhere-src-5.12.3/qtbase/bin/qmake -install qinstall /home/so/Desktop/trash/3/qt-everywhere-src-5.12.3/qttranslations/translations/qtxmlpatterns_zh_TW.qm /home/so/raspi/qt5pi/translations/qtxmlpatterns_zh_TW.qm

このファイルを見せてくださいはい成功したインストール。

インストール全体が失敗すると、make install次のエラーで実行が終了します。

make: *** [Makefile:20: install] Error 2

おすすめ記事