Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. Installation and Deployment
  4. ./configure unknown option error

./configure unknown option error

Scheduled Pinned Locked Moved Solved Installation and Deployment
7 Posts 2 Posters 1.3k Views
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • S Offline
    S Offline
    SYigitK
    wrote on 19 Apr 2022, 10:29 last edited by
    #1
    ~/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.

    J 1 Reply Last reply 19 Apr 2022, 10:38
    0
    • S Offline
      S Offline
      SYigitK
      wrote on 19 Apr 2022, 14:01 last edited by
      #7

      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

      1 Reply Last reply
      0
      • S SYigitK
        19 Apr 2022, 10:29
        ~/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.

        J Offline
        J Offline
        jsulm
        Lifetime Qt Champion
        wrote on 19 Apr 2022, 10:38 last edited by
        #2

        @SYigitK said in ./configure unknown option error:

        -relase

        -release

        https://forum.qt.io/topic/113070/qt-code-of-conduct

        S 1 Reply Last reply 19 Apr 2022, 10:57
        2
        • J jsulm
          19 Apr 2022, 10:38

          @SYigitK said in ./configure unknown option error:

          -relase

          -release

          S Offline
          S Offline
          SYigitK
          wrote on 19 Apr 2022, 10:57 last edited by
          #3

          @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'.
          
          
          1 Reply Last reply
          0
          • S Offline
            S Offline
            SYigitK
            wrote on 19 Apr 2022, 11:08 last edited by
            #4

            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'.
            
            
            J 1 Reply Last reply 19 Apr 2022, 11:50
            0
            • S SYigitK
              19 Apr 2022, 11:08

              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'.
              
              
              J Offline
              J Offline
              jsulm
              Lifetime Qt Champion
              wrote on 19 Apr 2022, 11:50 last edited by
              #5

              @SYigitK From where did you download Qt source code?

              https://forum.qt.io/topic/113070/qt-code-of-conduct

              S 1 Reply Last reply 19 Apr 2022, 12:17
              0
              • J jsulm
                19 Apr 2022, 11:50

                @SYigitK From where did you download Qt source code?

                S Offline
                S Offline
                SYigitK
                wrote on 19 Apr 2022, 12:17 last edited by SYigitK
                #6

                @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
                
                1 Reply Last reply
                0
                • S Offline
                  S Offline
                  SYigitK
                  wrote on 19 Apr 2022, 14:01 last edited by
                  #7

                  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

                  1 Reply Last reply
                  0

                  4/7

                  19 Apr 2022, 11:08

                  • Login

                  • Login or register to search.
                  4 out of 7
                  • First post
                    4/7
                    Last post
                  0
                  • Categories
                  • Recent
                  • Tags
                  • Popular
                  • Users
                  • Groups
                  • Search
                  • Get Qt Extensions
                  • Unsolved