Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. General and Desktop
  4. you don't seem to have 'make' or 'qmake' in your PATH
QtWS25 Last Chance

you don't seem to have 'make' or 'qmake' in your PATH

Scheduled Pinned Locked Moved Unsolved General and Desktop
84 Posts 5 Posters 28.1k 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.
  • A Offline
    A Offline
    Asha
    wrote on last edited by
    #1

    Hi,

    I am cross compiling my qt,

    I Downloaded the qt source code,and configuring, while ./configure getting

    "you don't seem to have 'make' or 'qmake' in your PATH..

    I am not getting what is the problem...Any suggestions..please..

    1 Reply Last reply
    1
    • mrjjM Offline
      mrjjM Offline
      mrjj
      Lifetime Qt Champion
      wrote on last edited by
      #2

      Hi
      What platform/os ?
      on windows, you can run the
      "C:\Qt\5.13.0\msvc2017_64\bin\qtenv2.bat"
      (adjust path for the actual compiler)
      to have a shell/cmdprompt with all paths setup.

      Also, regardless of platform
      open a shell/prompt and type qmake
      if it does not run. it means the environment contains no refs/paths to
      where to find qmake.

      A 1 Reply Last reply
      1
      • D Offline
        D Offline
        Devoo
        wrote on last edited by
        #3

        Hi,
        What is your OS?

        1 Reply Last reply
        1
        • mrjjM mrjj

          Hi
          What platform/os ?
          on windows, you can run the
          "C:\Qt\5.13.0\msvc2017_64\bin\qtenv2.bat"
          (adjust path for the actual compiler)
          to have a shell/cmdprompt with all paths setup.

          Also, regardless of platform
          open a shell/prompt and type qmake
          if it does not run. it means the environment contains no refs/paths to
          where to find qmake.

          A Offline
          A Offline
          Asha
          wrote on last edited by
          #4

          @mrjj

          Os: Ubuntu 18.04

          while typing qmake in terminal getting

          qmake:could not find a qt installation of ''

          how to solve this one,

          Please refer this specially last posts

          https://forum.qt.io/topic/106912/how-to-copy-cross-compiled-qt-binaries-from-one-computer-to-another/29

          I am very new to this qt,where I understood this error is for,configuration will not getting the qmake binary,but how to solve not getting...

          1 Reply Last reply
          0
          • A Offline
            A Offline
            Asha
            wrote on last edited by
            #5

            sorry the error is

            you don't seem to have 'make' or 'gmake' in your path..cannot proceed..

            1 Reply Last reply
            0
            • mrjjM Offline
              mrjjM Offline
              mrjj
              Lifetime Qt Champion
              wrote on last edited by
              #6

              Hi
              Often it can be resolved using
              sudo apt-get install qt5-default
              however, for cross compiling, im not sure it helps.

              A 1 Reply Last reply
              1
              • mrjjM mrjj

                Hi
                Often it can be resolved using
                sudo apt-get install qt5-default
                however, for cross compiling, im not sure it helps.

                A Offline
                A Offline
                Asha
                wrote on last edited by
                #7

                @mrjj

                I tried with this also,but getting the same issue..

                mrjjM 1 Reply Last reply
                0
                • A Asha

                  @mrjj

                  I tried with this also,but getting the same issue..

                  mrjjM Offline
                  mrjjM Offline
                  mrjj
                  Lifetime Qt Champion
                  wrote on last edited by
                  #8

                  @Asha
                  ok try
                  which qmake
                  in a shell
                  and see what it says.

                  A 1 Reply Last reply
                  0
                  • mrjjM mrjj

                    @Asha
                    ok try
                    which qmake
                    in a shell
                    and see what it says.

                    A Offline
                    A Offline
                    Asha
                    wrote on last edited by
                    #9

                    @mrjj

                    which qmake shows

                    /usr/bin/qmake

                    mrjjM 1 Reply Last reply
                    0
                    • A Asha

                      @mrjj

                      which qmake shows

                      /usr/bin/qmake

                      mrjjM Offline
                      mrjjM Offline
                      mrjj
                      Lifetime Qt Champion
                      wrote on last edited by
                      #10

                      Ok
                      and if you type
                      /usr/bin/qmake -v
                      in a shell, is it then showing output?
                      if yes, what version does it say ?

                      1 Reply Last reply
                      0
                      • SGaistS Offline
                        SGaistS Offline
                        SGaist
                        Lifetime Qt Champion
                        wrote on last edited by
                        #11

                        Hi,

                        Did you install the build-essential package ?

                        Interested in AI ? www.idiap.ch
                        Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct

                        A 1 Reply Last reply
                        4
                        • SGaistS SGaist

                          Hi,

                          Did you install the build-essential package ?

                          A Offline
                          A Offline
                          Asha
                          wrote on last edited by
                          #12

                          @SGaist

                          Hi,

                          Thankyou for the replay,I installed now and tried again configure,first its fine only, but last configuration is not completed,getting this error ,I attached here please go through this

                          _con.png

                          con2.png ..

                          1 Reply Last reply
                          0
                          • A Offline
                            A Offline
                            Asha
                            wrote on last edited by
                            #13

                            Hi,

                            I found the ld-linux-armhf.so.3 file in below folder

                            /usr/arm-linuxgnueabihf/lib/ld-linux-armhf.so.3

                            but while configuring getting no such file or directory ,Any suggestions...how to proceed next...

                            1 Reply Last reply
                            0
                            • A Offline
                              A Offline
                              Asha
                              wrote on last edited by
                              #14

                              Hi guys,

                              I am very new to this qt,

                              I am waiting for your replies...

                              Please suggest me....

                              Thankyou...

                              1 Reply Last reply
                              0
                              • SGaistS Offline
                                SGaistS Offline
                                SGaist
                                Lifetime Qt Champion
                                wrote on last edited by
                                #15

                                Please show some patience. This forum is user driven. People answer here on a voluntary basis. They may also not live in the same time zone as you.

                                As for your issue, please post the complete configure line you used. Please past it here as text, having an image makes it difficult to read and test locally.

                                Also, what cross-compiler are you using ?
                                Did you clean up properly before restarting ?
                                Are you using an out of source build ?

                                Interested in AI ? www.idiap.ch
                                Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct

                                A 1 Reply Last reply
                                1
                                • SGaistS SGaist

                                  Please show some patience. This forum is user driven. People answer here on a voluntary basis. They may also not live in the same time zone as you.

                                  As for your issue, please post the complete configure line you used. Please past it here as text, having an image makes it difficult to read and test locally.

                                  Also, what cross-compiler are you using ?
                                  Did you clean up properly before restarting ?
                                  Are you using an out of source build ?

                                  A Offline
                                  A Offline
                                  Asha
                                  wrote on last edited by
                                  #16

                                  @SGaist
                                  Sorry for the hurry...

                                  The configure line is:

                                  ./configure -platform linux-g++ -release -device linux-beagleboard-g++ -sysroot /home/beagle/BBB/sysroot -prefix /home/debian/Qt5ForBBB1 -hostprefix ~/Qt5ForBBB1 -device-option CROSS_COMPILE=/home/beagle/BBB/gcc-linario-6.3.1-2017.05-x86_64_arm-linux-gnueabihf/bin/arm-linux-gnueabihf- -nomake tests -nomake examples -no-opengl -opensource -confirm-license -reduce-exports -make libs -no-egl -no-eglfs -qt-zlib -qtlibpng -no-use-gold-linker -linuxfb -qt-libjpeg -no-openssl -no-cups -no-glib -no-iconv -nomake examples -nomake tools -nomake tests -no-pkg-config -skip qtdeclaritive -skip qtlocation -skip qtpurchasing -skip qtwayland -skip qtwebchannel -skip qtwebengine -skip qtwebsockets -skip qtwebview -skip qt webglplugin -skip qtandroidextras -skip qtgamepad -skip qtmacextras -skip qtwinextras -skip qtsensors -skip qtconnectivity -recheck-all -v

                                  Cross compiler is : ARM

                                  I cleaned using : "sudo apt-get clean"
                                  is it correct or any other method to clean?

                                  I am not understood about the last question,out of source build...

                                  (I am not able to login qt forum in my laptop,so I am uploading the screenshots sorry for this).....

                                  jsulmJ 1 Reply Last reply
                                  0
                                  • A Asha

                                    @SGaist
                                    Sorry for the hurry...

                                    The configure line is:

                                    ./configure -platform linux-g++ -release -device linux-beagleboard-g++ -sysroot /home/beagle/BBB/sysroot -prefix /home/debian/Qt5ForBBB1 -hostprefix ~/Qt5ForBBB1 -device-option CROSS_COMPILE=/home/beagle/BBB/gcc-linario-6.3.1-2017.05-x86_64_arm-linux-gnueabihf/bin/arm-linux-gnueabihf- -nomake tests -nomake examples -no-opengl -opensource -confirm-license -reduce-exports -make libs -no-egl -no-eglfs -qt-zlib -qtlibpng -no-use-gold-linker -linuxfb -qt-libjpeg -no-openssl -no-cups -no-glib -no-iconv -nomake examples -nomake tools -nomake tests -no-pkg-config -skip qtdeclaritive -skip qtlocation -skip qtpurchasing -skip qtwayland -skip qtwebchannel -skip qtwebengine -skip qtwebsockets -skip qtwebview -skip qt webglplugin -skip qtandroidextras -skip qtgamepad -skip qtmacextras -skip qtwinextras -skip qtsensors -skip qtconnectivity -recheck-all -v

                                    Cross compiler is : ARM

                                    I cleaned using : "sudo apt-get clean"
                                    is it correct or any other method to clean?

                                    I am not understood about the last question,out of source build...

                                    (I am not able to login qt forum in my laptop,so I am uploading the screenshots sorry for this).....

                                    jsulmJ Offline
                                    jsulmJ Offline
                                    jsulm
                                    Lifetime Qt Champion
                                    wrote on last edited by
                                    #17

                                    @Asha said in you don't seem to have 'make' or 'qmake' in your PATH:

                                    I cleaned using : "sudo apt-get clean"

                                    you need to clean the source tree, not apt:

                                    make clean
                                    

                                    Better is to do out of source builds: that just mean that you create a build directory, go to that directory and call configure from there.

                                    mkdir build_qt
                                    cd build_qt
                                    ../qt5_sourcecode/configure...
                                    

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

                                    A 1 Reply Last reply
                                    2
                                    • jsulmJ jsulm

                                      @Asha said in you don't seem to have 'make' or 'qmake' in your PATH:

                                      I cleaned using : "sudo apt-get clean"

                                      you need to clean the source tree, not apt:

                                      make clean
                                      

                                      Better is to do out of source builds: that just mean that you create a build directory, go to that directory and call configure from there.

                                      mkdir build_qt
                                      cd build_qt
                                      ../qt5_sourcecode/configure...
                                      
                                      A Offline
                                      A Offline
                                      Asha
                                      wrote on last edited by
                                      #18

                                      @jsulm

                                      when I am giving the make clean

                                      The result is:

                                      make: *** No rule to make target 'clean'. Stop

                                      Yes,I created the build directory qt-5.13 and calling ./configure there it self..

                                      jsulmJ 1 Reply Last reply
                                      0
                                      • A Asha

                                        @jsulm

                                        when I am giving the make clean

                                        The result is:

                                        make: *** No rule to make target 'clean'. Stop

                                        Yes,I created the build directory qt-5.13 and calling ./configure there it self..

                                        jsulmJ Offline
                                        jsulmJ Offline
                                        jsulm
                                        Lifetime Qt Champion
                                        wrote on last edited by
                                        #19

                                        @Asha said in you don't seem to have 'make' or 'qmake' in your PATH:

                                        Yes,I created the build directory qt-5.13 and calling ./configure there it self..

                                        So, what happens now? Does configure succeed? Did you try to build?

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

                                        A 1 Reply Last reply
                                        0
                                        • jsulmJ jsulm

                                          @Asha said in you don't seem to have 'make' or 'qmake' in your PATH:

                                          Yes,I created the build directory qt-5.13 and calling ./configure there it self..

                                          So, what happens now? Does configure succeed? Did you try to build?

                                          A Offline
                                          A Offline
                                          Asha
                                          wrote on last edited by
                                          #20

                                          @jsulm

                                          I am not created now,I created at first only,and call the ./configure but getting that error.....

                                          configuration is not succeed..

                                          what about make clean...

                                          jsulmJ 1 Reply Last reply
                                          0

                                          • Login

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