./configure unknown option error
-
wrote on 19 Apr 2022, 10:29 last edited by
~/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. -
wrote on 19 Apr 2022, 14:01 last edited by
It probably was about the version or some installation problem. I completely deleted the files and installed 5.12.12 instead of 5.15.3 now it works properly
-
~/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. -
wrote on 19 Apr 2022, 10:57 last edited by
@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'.
-
wrote on 19 Apr 2022, 11:08 last edited by
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'.
-
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'.
@SYigitK From where did you download Qt source code?
-
wrote on 19 Apr 2022, 12:17 last edited by SYigitK
@jsulm from https://download.qt.io/archive/qt/5.15/5.15.3/single/ I downloaded tar file. Also all options seem fine when I use
./configure --help
-
wrote on 19 Apr 2022, 14:01 last edited by
It probably was about the version or some installation problem. I completely deleted the files and installed 5.12.12 instead of 5.15.3 now it works properly
4/7