sudo mkdir -p /media/netdir/source/raspberrypi/4-03_docker_readynas pi@raspberry48:~ $ sudo docker run -it -v /media/netdir/source/raspberrypi/4-03_docker_readynas:/mnt/compile xjzj/armel_make_phantomjs /bin/bash root@5fbed8fb3633:/# root@5fbed8fb3633:/# cd /mnt/compile root@5fbed8fb3633:/mnt/compile# git clone git://github.com/ariya/phantomjs.git fatal: destination path 'phantomjs' already exists and is not an empty directory. root@5fbed8fb3633:/mnt/compile# cd phantomjs root@5fbed8fb3633:/mnt/compile/phantomjs# git checkout 2.1.1 HEAD is now at d9cda3d... Set version to "2.1.1" root@5fbed8fb3633:/mnt/compile/phantomjs# git submodule init root@5fbed8fb3633:/mnt/compile/phantomjs# git submodule update root@5fbed8fb3633:/mnt/compile/phantomjs# echo "date > BUILD_START" > ./make_cmd.sh root@5fbed8fb3633:/mnt/compile/phantomjs# echo "python ./build.py -c --release" >> ./make_cmd.sh root@5fbed8fb3633:/mnt/compile/phantomjs# echo "##--git-clean-qtbase --git-clean-qtwebkit --jobs 2" >> ./make_cmd.sh root@5fbed8fb3633:/mnt/compile/phantomjs# echo "date > BUILD_END" >> ./make_cmd.sh root@5fbed8fb3633:/mnt/compile/phantomjs# chmod 751 ./make_cmd.sh root@5fbed8fb3633:/mnt/compile/phantomjs# ./make_cmd.sh Executing in /mnt/compile/phantomjs: git submodule init Executing in /mnt/compile/phantomjs: git submodule update --init configuring Qt Base, please wait... Executing in /mnt/compile/phantomjs/src/qt/qtbase: /mnt/compile/phantomjs/src/qt/qtbase/configure -static -opensource -confirm-license -prefix /mnt/compile/phantomjs/src/qt/qtbase -qt-zlib -qt-libpng -qt-libjpeg -qt-pcre -nomake examples -nomake tools -nomake tests -no-qml-debug -no-dbus -no-opengl -no-audio-backend -D QT_NO_GRAPHICSVIEW -D QT_NO_GRAPHICSEFFECT -D QT_NO_STYLESHEET -D QT_NO_STYLE_CDE -D QT_NO_STYLE_CLEANLOOKS -D QT_NO_STYLE_MOTIF -D QT_NO_STYLE_PLASTIQUE -D QT_NO_PRINTPREVIEWDIALOG -qpa phantom -openssl -openssl-linked -no-openvg -no-eglfs -no-egl -no-glib -no-gtkstyle -no-cups -no-sm -no-xinerama -no-xkb -no-xcb -no-kms -no-linuxfb -no-directfb -no-mtdev -no-libudev -no-evdev -no-pulseaudio -no-alsa -no-feature-PRINTPREVIEWWIDGET -fontconfig -icu -release This is the Qt Open Source Edition. You are licensed to use this software under the terms of the Lesser GNU General Public License (LGPL) versions 2.1. You are also licensed to use this software under the terms of the GNU Lesser General Public License (LGPL) versions 3. You have already accepted the terms of the Open Source license. /mnt/compile/phantomjs/src/qt/qtbase/configure: 3413: /mnt/compile/phantomjs/src/qt/qtbase/configure: g++: Permission denied = /mnt/compile/phantomjs/src/qt/qtbase = /mnt/compile/phantomjs/src/qt/qtbase Creating qmake... .Done. Running configuration tests... Could not determine the target architecture! Turn on verbose messaging (-v) to see the final report. The ICU library support cannot be enabled. Turn on verbose messaging (-v) to /mnt/compile/phantomjs/src/qt/qtbase/configure to see the final report. If you believe this message is in error you may use the continue switch (-continue) to /mnt/compile/phantomjs/src/qt/qtbase/configure to continue. ERROR: Failed to build PhantomJS! Configuration of Qt Base failed. root@5fbed8fb3633:/mnt/compile/phantomjs# echo 00:00:10 00:00:10 root@5fbed8fb3633:/mnt/compile/phantomjs# date Sat Feb 29 00:31:17 UTC 2020 root@5fbed8fb3633:/mnt/compile/phantomjs# root@5fbed8fb3633:/mnt/compile/phantomjs# root@5fbed8fb3633:/mnt/compile/phantomjs# root@5fbed8fb3633:/mnt/compile/phantomjs# exit exit pi@raspberry48:~ $ logout