./configure unknown option error
Solved
Installation and Deployment
-
~/opt/qt5$ ./configure -relase -opengl es2 -device linux-rpi3-g++ -device-option CROSS_COMPILE=~/opt/gcc-4.7-linaro-rpi-gnueabihf/bin/arm-linux-gnueabihf- -sysroot /mnt/rasp-pi-rootfs -opensource -confirm-license -optimized-qmake -reduce-exports -release -make libs -prefix /usr/local/qt5pi + cd qtbase + /home/sincap/opt/qt5/qtbase/configure -top-level -relase -opengl es2 -device linux-rpi3-g++ -device-option CROSS_COMPILE=/home/sincap/opt/gcc-4.7-linaro-rpi-gnueabihf/bin/arm-linux-gnueabihf- -sysroot /mnt/rasp-pi-rootfs -opensource -confirm-license -optimized-qmake -reduce-exports -release -make libs -prefix /usr/local/qt5pi Creating qmake... .Done. ERROR: Unknown command line option '-relase'.
When I run it without providing any arguments ./configure runs normally but ı can not configure it. Any idea why this happens?
I've also found and similar unsolved entry here. -
-
@jsulm sorry for the typo but it is now
~/opt/qt5$ ./configure -release -opengl es2 -device linux-rpi3-g++ -device-option CROSS_COMPILE=~/opt/gcc-4.7-linaro-rpi-gnueabihf/bin/arm-linux-gnueabihf- -sysroot /mnt/rasp-pi-rootfs -opensource -confirm-license -optimized-qmake -reduce-exports -release -make libs -prefix /usr/local/qt5pi + cd qtbase + /home/sincap/opt/qt5/qtbase/configure -top-level -release -opengl es2 -device linux-rpi3-g++ -device-option CROSS_COMPILE=/home/sincap/opt/gcc-4.7-linaro-rpi-gnueabihf/bin/arm-linux-gnueabihf- -sysroot /mnt/rasp-pi-rootfs -opensource -confirm-license -optimized-qmake -reduce-exports -release -make libs -prefix /usr/local/qt5pi Creating qmake... .Done. ERROR: Unknown command line option '-release'.
-
More Examples:
~/opt/qt5$ ./configure -opengl es2 -device linux-rpi3-g++ -device-option CROSS_COMPILE=~/opt/gcc-4.7-linaro-rpi-gnueabihf/bin/arm-linux-gnueabihf- -sysroot /mnt/rasp-pi-rootfs -opensource -confirm-license -optimized-qmake -reduce-exports -release -make libs -prefix /usr/local/qt + cd qtbase + /home/sincap/opt/qt5/qtbase/configure -top-level -opengl es2 -device linux-rpi3-g++ -device-option CROSS_COMPILE=/home/sincap/opt/gcc-4.7-linaro-rpi-gnueabihf/bin/arm-linux-gnueabihf- -sysroot /mnt/rasp-pi-rootfs -opensource -confirm-license -optimized-qmake -reduce-exports -release -make libs -prefix /usr/local/qt Creating qmake... .Done. ERROR: Unknown command line option '-opengl'.
~/opt/qt5$ ./configure -device linux-rpi3-g++ -device-option CROSS_COMPILE=~/opt/gcc-4.7-linaro-rpi-gnueabihf/bin/arm-linux-gnueabihf- -sysroot /mnt/rasp-pi-rootfs -opensource -confirm-license -optimized-qmake -reduce-exports -release -make libs -prefix /usr/local/qt + cd qtbase + /home/sincap/opt/qt5/qtbase/configure -top-level -device linux-rpi3-g++ -device-option CROSS_COMPILE=/home/sincap/opt/gcc-4.7-linaro-rpi-gnueabihf/bin/arm-linux-gnueabihf- -sysroot /mnt/rasp-pi-rootfs -opensource -confirm-license -optimized-qmake -reduce-exports -release -make libs -prefix /usr/local/qt Creating qmake... .Done. ERROR: Unknown command line option '-device'.