Unsolved Cross Compile Stuck on Configuration Tests
-
I am trying to cross-compile Qt 5.9.3 for Beaglebone Black. When I try to compile QT, it gets stuck on "Checking for system ninja".
sudo ./configure -platform linux-g++ -release -device linux-beagleboard-g++ -sysroot /opt/Compilers/Linaro6.3/sysroot-glibc-linaro-2.23-2017.05-arm-linux-gnueabihf/ -prefix /home/weston/Qt5.9.3/5.9.3/BBB -device-option CROSS_COMPILE=/opt/Compilers/Linaro6.3/gcc-linaro-6.3.1-2017.05-x86_64_arm-linux-gnueabihf/bin/arm-linux-gnueabihf- -qt-xcb -nomake tests -nomake examples -no-opengl + cd qtbase + /home/weston/Qt5.9.3/5.9.3/Src/qtbase/configure -top-level -platform linux-g++ -release -device linux-beagleboard-g++ -sysroot /opt/Compilers/Linaro6.3/sysroot-glibc-linaro-2.23-2017.05-arm-linux-gnueabihf/ -prefix /home/weston/Qt5.9.3/5.9.3/BBB -device-option CROSS_COMPILE=/opt/Compilers/Linaro6.3/gcc-linaro-6.3.1-2017.05-x86_64_arm-linux-gnueabihf/bin/arm-linux-gnueabihf- -qt-xcb -nomake tests -nomake examples -no-opengl Creating qmake... ........................................................................................Done. Info: creating super cache file /home/weston/Qt5.9.3/5.9.3/Src/.qmake.super Info: creating stash file /home/weston/Qt5.9.3/5.9.3/Src/.qmake.stash Selecting Qt Edition. Type 'c' if you want to use the Commercial Edition. Type 'o' if you want to use the Open Source Edition. Which edition of Qt do you want to use? o This is the Qt Open Source Edition. You are licensed to use this software under the terms of the GNU Lesser General Public License (LGPL) version 3 or the GNU General Public License (GPL) version 2. Type 'L' to view the GNU Lesser General Public License version 3 (LGPLv3). Type 'G' to view the GNU General Public License version 2 (GPLv2). Type 'y' to accept this license offer. Type 'n' to decline this license offer. Do you accept the terms of either license? y Running configuration tests... Checking for gold linker... yes Checking for machine tuple... yes Checking for valid makespec... yes Checking for alloca() in alloca.h... yes Checking for target architecture... arm Checking for host architecture... x86_64 Checking for C++14 support... yes Checking for C++1z support... yes Checking for pkg-config... no Checking for D-Bus >= 1.2... no Checking for new dtags support... yes Checking for D-Bus >= 1.2 (host)... yes Checking for udev... no Checking for NEON instructions... yes Checking for POSIX fallocate()... yes Checking for precompiled header support... yes Checking for symbol visibility support... yes Checking for -Bsymbolic-functions support... no Checking for STL compatibility... yes Checking for zlib... no Checking for clock_gettime()... yes Checking for POSIX monotonic clock... yes Checking for dlopen()... yes Checking for eventfd... yes Checking for GLib... no Checking for POSIX iconv... yes Checking for ICU... no Checking for inotify... yes Checking for SysV IPC... yes Checking for ppoll()... yes Checking for slog2... no Checking for 64 bit atomics... yes Checking for DoubleConversion... no Checking for PCRE2... no Checking for O_CLOEXEC... yes Checking for working std::atomic for function pointers... yes Checking for getaddrinfo()... yes Checking for getifaddrs()... yes Checking for IPv6 ifname... yes Checking for OpenSSL Headers... no Checking for XCB >= 1.5 (core)... no Checking for OpenVG... no Checking for evdev... yes Checking for FreeType... no Checking for GBM... no Checking for KMS... no Checking for LinuxFB... yes Checking for mtdev... no Checking for default QPA platform... eglfs Checking for HarfBuzz... no Checking for libjpeg... no Checking for tslib... no Checking for xkbcommon... no Checking for XLib... no Checking for CUPS... no Checking for DB2 (IBM)... no Checking for InterBase... no Checking for MySQL... no Checking for OCI (Oracle)... no Checking for ODBC... no Checking for PostgreSQL... no Checking for SQLite (version 2)... no Checking for TDS (Sybase)... no Checking for Socket CAN... yes Checking for Socket CAN FD... yes Checking for Direct3D 12... no Checking for SDL2... no Checking for Assimp... no Checking for Autodesk FBX... no Checking for Wayland client library... no Checking for Wayland EGL library... no Checking for wayland-server... no Checking for BlueZ... no Checking for sensorfw... no Checking for Gypsy... no Checking for WinRT Geolocation API... no Checking for ALSA... no Checking for GStreamer 1.0... no Checking for GStreamer 0.10... no Checking for Video for Linux... yes Checking for OpenAL... no Checking for PulseAudio >= 0.9.10... no Checking for libresourceqt5... no Checking for ALSA... no Checking for embedded... yes Checking for PulseAudio >= 0.9.10... no Checking for Python 2... /usr/bin/python2 Checking for system ninja...
When I added verbose, it started where it stopped, and said ninja was found, but it won't continue:
sudo ./configure -verbose -platform linux-g++ -release -device linux-beagleboard-g++ -sysroot /opt/Compilers/Linaro6.3/sysroot-glibc-linaro-2.23-2017.05-arm-linux-gnueabihf/ -prefix /home/weston/Qt5.9.3/5.9.3/BBB -device-option CROSS_COMPILE=/opt/Compilers/Linaro6.3/gcc-linaro-6.3.1-2017.05-x86_64_arm-linux-gnueabihf/bin/arm-linux-gnueabihf- -qt-xcb -nomake tests -nomake examples -no-opengl + cd qtbase + /home/weston/Qt5.9.3/5.9.3/Src/qtbase/configure -top-level -verbose -platform linux-g++ -release -device linux-beagleboard-g++ -sysroot /opt/Compilers/Linaro6.3/sysroot-glibc-linaro-2.23-2017.05-arm-linux-gnueabihf/ -prefix /home/weston/Qt5.9.3/5.9.3/BBB -device-option CROSS_COMPILE=/opt/Compilers/Linaro6.3/gcc-linaro-6.3.1-2017.05-x86_64_arm-linux-gnueabihf/bin/arm-linux-gnueabihf- -qt-xcb -nomake tests -nomake examples -no-opengl Creating qmake... make: Nothing to be done for 'first'. Command line: -verbose -platform linux-g++ -release -device linux-beagleboard-g++ -sysroot /opt/Compilers/Linaro6.3/sysroot-glibc-linaro-2.23-2017.05-arm-linux-gnueabihf/ -prefix /home/weston/Qt5.9.3/5.9.3/BBB -device-option CROSS_COMPILE=/opt/Compilers/Linaro6.3/gcc-linaro-6.3.1-2017.05-x86_64_arm-linux-gnueabihf/bin/arm-linux-gnueabihf- -qt-xcb -nomake tests -nomake examples -no-opengl Selecting Qt Edition. Type 'c' if you want to use the Commercial Edition. Type 'o' if you want to use the Open Source Edition. Which edition of Qt do you want to use? o This is the Qt Open Source Edition. You are licensed to use this software under the terms of the GNU Lesser General Public License (LGPL) version 3 or the GNU General Public License (GPL) version 2. Type 'L' to view the GNU Lesser General Public License version 3 (LGPLv3). Type 'G' to view the GNU General Public License version 2 (GPLv2). Type 'y' to accept this license offer. Type 'n' to decline this license offer. Do you accept the terms of either license? y Running configuration tests... Checking for system ninja... Found ninja from path: /usr/sbin/ninja + /usr/sbin/ninja --version
-
I tried it again with Qt 5.10.1 -- it appears I am missing files, or I have missed a step. Does anyone have any ideas on what my next step of action would be to solve the issue?
Here is the end of it:Checking for libxml2 and libxslt... Trying source 0 (type pkgConfig) of library webengine-libxml2 ... pkg-config use disabled globally. => source produced no result. test config.qtwebengine.libraries.webengine-libxml2 FAILED Checking for minizip... Trying source 0 (type pkgConfig) of library webengine-minizip ... pkg-config use disabled globally. => source produced no result. test config.qtwebengine.libraries.webengine-minizip FAILED Checking for system ninja... Found ninja from path: /usr/sbin/ninja + /usr/sbin/ninja --version