Details
-
Bug
-
Resolution: Duplicate
-
Not Evaluated
-
None
-
5.7.1
-
None
-
Linux.
Description
I'm trying to build Qt 5.7.1 from Linux for android-platform as described in the wiki.
I invoke the build like this:
$ ./configure -xplatform android-g++ \ -prefix /home/markand/android/libqt \ -confirm-license \ -opensource \ -nomake tests \ -nomake examples \ -android-ndk /home/markand/android/ndk \ -android-sdk /home/markand/android \ -android-ndk-host linux-x86_64 \ -android-toolchain-version 4.9 \ -skip qttranslations \ -skip qtserialport \ -no-warnings-are-errors $ make $ make install
The build works fine but install fails with the following errors:
cd qtplugininfo/ && ( test -e Makefile || /tmp/qt-everywhere-opensource-src-5.7.1/qtbase/bin/qmake /tmp/qt-everywhere-opensource-src-5.7.1/qttools/src/qtplugininfo/qtplugininfo.pro -qtconf /tmp/qt-everywhere-opensource-src-5.7.1/qtbase/bin/qt.conf -o Makefile ) && make -f Makefile install make[3]: Entering directory '/tmp/qt-everywhere-opensource-src-5.7.1/qttools/src/qtplugininfo' mkdir: cannot create directory ‘/libs’: Permission denied make[3]: *** [Makefile:782: install_target] Error 1 make[3]: Leaving directory '/tmp/qt-everywhere-opensource-src-5.7.1/qttools/src/qtplugininfo' make[2]: *** [Makefile:212: sub-qtplugininfo-install_subtargets] Error 2 make[2]: Leaving directory '/tmp/qt-everywhere-opensource-src-5.7.1/qttools/src' make[1]: *** [Makefile:57: sub-src-install_subtargets] Error 2 make[1]: Leaving directory '/tmp/qt-everywhere-opensource-src-5.7.1/qttools' make: *** [Makefile:871: module-qttools-install_subtargets] Error 2
According to the error, I think there is a variable that is not expanded because the install target should not use /libs from root.
Attachments
Issue Links
- duplicates
-
QTBUG-56331 Qt for Android source package tries to install to /lib
- Closed