[PyQt] pyqtdeploy x-compile linux to android: pyqt make install: permission denied creating /libs
bootch at nc.rr.com
bootch at nc.rr.com
Mon Aug 25 12:30:09 BST 2014
When building PyQt static, x-compiled at the 'make --debug=v install' step I get:
...
Must remake target `install_target'.
make[1]: Entering directory `/home/bootch/Downloads/PyQt-commercial-5.3.1/QtCore'
mkdir: cannot create directory ‘/libs’: Permission denied
make[1]: *** [install_target] Error 1
make[1]: Leaving directory `/home/bootch/Downloads/PyQt-commercial-5.3.1/QtCore'
make: *** [sub-QtCore-install_subtargets-ordered] Error 2
host: Ubuntu 14.04, Python 3.4
I had previously run:
>export ANDROID_NDK_ROOT=/home/bootch/android-ndk-r10
>export PYTHONPATH=/usr/lib/python3.4/site-packages
>export SYSROOT=/home/bootch/aRoot
>pyqtdeploy --package pyqt5 --target android-32 configure
(edited the .cfg to remove most modules)
>python3 configure.py --static --verbose --sysroot=/home/bootch/aRoot --no-tools --no-qsci-api --no-designer-plugin --no-qml-plugin --configuration=pyqt5-android.cfg --qmake=/home/bootch/Qt/5.3/android_armv7/bin/qmake
I tried '>sudo make install' and that seemed to work, but that created /libs (in root), which I don't think is correct (and later I got Qt Creator errors which might be unrelated?)
More information about the PyQt
mailing list