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

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.2k 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 Asha

    @jsulm

    shall I ask what is that ../qt5_sourcecode/configure....

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

    @Asha qt5_sourcecode is just a placeholder for the directory where you extracted Qt source code, replace it with the name of your Qt source code directory...
    configure is what it is - configure command in Qt source code directory.

    I explain this approach once more: you do NOT call configure inside the Qt source code directory, but from an empty build directory.

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

    A 1 Reply Last reply
    1
    • jsulmJ jsulm

      @Asha qt5_sourcecode is just a placeholder for the directory where you extracted Qt source code, replace it with the name of your Qt source code directory...
      configure is what it is - configure command in Qt source code directory.

      I explain this approach once more: you do NOT call configure inside the Qt source code directory, but from an empty build directory.

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

      @jsulm

      Yes,I extracted qt source code in my user directory(/home/beagle/)

      After that I replaced it into a directory called qt-5.13(replaced via....mv qt-everywhere-src-5.13.1 ~/qt-5.13)

      And calling the configure in this directory only.

      Some more information here..

      make --version
      GNU Make 4.1
      Built for x86_64-pc-linux-gnu

      uname -srv
      Linux 5.0.0-29-generic #31~18.04.1-Ubuntu

      Which make
      /usr/bin/make

      echo $LD_LIBRARY_PATH
      not displaying anything

      jsulmJ 1 Reply Last reply
      0
      • A Asha

        @jsulm

        Yes,I extracted qt source code in my user directory(/home/beagle/)

        After that I replaced it into a directory called qt-5.13(replaced via....mv qt-everywhere-src-5.13.1 ~/qt-5.13)

        And calling the configure in this directory only.

        Some more information here..

        make --version
        GNU Make 4.1
        Built for x86_64-pc-linux-gnu

        uname -srv
        Linux 5.0.0-29-generic #31~18.04.1-Ubuntu

        Which make
        /usr/bin/make

        echo $LD_LIBRARY_PATH
        not displaying anything

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

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

        After that I replaced it into a directory called qt-5.13(replaced via....mv qt-everywhere-src-5.13.1 ~/qt-5.13)

        Again, this is not how it works!
        You do NOT call configure from the source code directory for out of source builds, but from an empty directory!
        Again:

        # Create an empty directory:
        mkdir build_qt
        # Go to that empty directory:
        cd build_qt
        # Call configure from the Qt source code directory:
        ../qt5_sourcecode/configure...
        

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

        A 1 Reply Last reply
        1
        • jsulmJ jsulm

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

          After that I replaced it into a directory called qt-5.13(replaced via....mv qt-everywhere-src-5.13.1 ~/qt-5.13)

          Again, this is not how it works!
          You do NOT call configure from the source code directory for out of source builds, but from an empty directory!
          Again:

          # Create an empty directory:
          mkdir build_qt
          # Go to that empty directory:
          cd build_qt
          # Call configure from the Qt source code directory:
          ../qt5_sourcecode/configure...
          
          A Offline
          A Offline
          Asha
          wrote on last edited by
          #26

          @jsulm pwd is qt-5.13,here I need to create directory?if yes ,I created and tried getting

          bash : ./configure : No such file or directory

          please go through this link https://forum.qt.io/topic/106766/can-we-change-the-compiler-in-qmake/28 I followed this pdf...

          jsulmJ 1 Reply Last reply
          0
          • A Asha

            @jsulm pwd is qt-5.13,here I need to create directory?if yes ,I created and tried getting

            bash : ./configure : No such file or directory

            please go through this link https://forum.qt.io/topic/106766/can-we-change-the-compiler-in-qmake/28 I followed this pdf...

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

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

            bash : ./configure : No such file or directory

            Please read more carefully what I'm writing!
            You need to use complete path (or relative) to configure!
            That's why I wrote:

            ../qt5_sourcecode/configure
            

            You can use absolute path instead of relative:

            PATH_TO_YOUR_QT_SOURCE_DIRECTORY/configure
            

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

            A 1 Reply Last reply
            1
            • jsulmJ jsulm

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

              bash : ./configure : No such file or directory

              Please read more carefully what I'm writing!
              You need to use complete path (or relative) to configure!
              That's why I wrote:

              ../qt5_sourcecode/configure
              

              You can use absolute path instead of relative:

              PATH_TO_YOUR_QT_SOURCE_DIRECTORY/configure
              
              A Offline
              A Offline
              Asha
              wrote on last edited by
              #28

              @jsulm

              yes,I gave the hole path /home/beagle/qt-5.13/.configure

              its starts configuring but not succeed...

              After few minutes its stops with error

              /home/beagle/qt-5.13/build_qt/qtbase/bin/qmake: error while loading shared libraries: libstdc++.so.6: cannot open shared object file: No such file or directory

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

                but libstdc++.so.6 library is present in my system...

                location is:

                /usr/arm-linux-gnueabihf/lib/libstdc++.so.6

                jsulmJ 1 Reply Last reply
                0
                • A Asha

                  but libstdc++.so.6 library is present in my system...

                  location is:

                  /usr/arm-linux-gnueabihf/lib/libstdc++.so.6

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

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

                  is present in my system

                  It needs to be present in your sysroot since you're cross compiling

                  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:

                    is present in my system

                    It needs to be present in your sysroot since you're cross compiling

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

                    @jsulm yes this library is present in sysroot also..

                    here is the attachement

                    library.png

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

                      when I gave the command below

                      qmake --version

                      The result is:

                      Qmake version 3.1
                      using Qt version 5.9.5 in /usr/lib/x86_64-linux-gnu

                      Is this any issue?

                      jsulmJ 1 Reply Last reply
                      0
                      • A Asha

                        when I gave the command below

                        qmake --version

                        The result is:

                        Qmake version 3.1
                        using Qt version 5.9.5 in /usr/lib/x86_64-linux-gnu

                        Is this any issue?

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

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

                        Is this any issue?

                        No, this is qmake from Qt delivered by Ubuntu.
                        qmake for your cross compiled Qt will be built when you cross compile Qt, but I don't know why you get that libstdc++ error.

                        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:

                          Is this any issue?

                          No, this is qmake from Qt delivered by Ubuntu.
                          qmake for your cross compiled Qt will be built when you cross compile Qt, but I don't know why you get that libstdc++ error.

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

                          @jsulm while getting that error,I inserted below line in my qmake.conf file

                          QMAKE_LIBDIR=/home/beagle/BBB/sysroot/usr/lib/arm-linux-gnueabihf

                          after this tried once again for configure...now facing the error

                          meta.o: file not recognized: File format not recognized
                          collect2:error: ld returned 1 exit status
                          Makefile:189: recipe for target '../bin/qmake'failed
                          make: ***[../bin/qmake] Error1

                          when I checked meta.o file with the command

                          file meta.o

                          The result is:
                          meta.o: ELF 64-bit LSB relocatable,x86-64,version 1(SYSV) ,with debug info,not stripped

                          Here is the attachement

                          meta.o.png

                          Where other file are 32bit ELF with ARM.....

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

                            How to install this libraries libstdc++.so.6 and libgcc_s.so.1

                            jsulmJ 1 Reply Last reply
                            0
                            • A Asha

                              How to install this libraries libstdc++.so.6 and libgcc_s.so.1

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

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

                              How to install this libraries libstdc++.so.6 and libgcc_s.so.1

                              There is nothing to install: these files are part of your sysroot.

                              "meta.o: ELF 64-bit LSB relocatable,x86-64,version 1(SYSV) ,with debug info,not stripped" - this file is apparently built for Intel x86_64, not ARM.

                              Delete the content of the build directory, run configure and build again. And check your configure call (parameter you pass to it).

                              Take a look at this: https://wiki.qt.io/BeagleBone_Black_Beginners_Guide

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

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

                                In addition to @jsulm, delete the build folder itself and re-create it. There might be hidden files created that can still influence.

                                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
                                0
                                • SGaistS SGaist

                                  In addition to @jsulm, delete the build folder itself and re-create it. There might be hidden files created that can still influence.

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

                                  @SGaist
                                  tried with this also..Sir

                                  getting same error Libstdc++.so.6:No such file or directory

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

                                    This is the simple question where I am going to ask..

                                    But I want clarification....

                                    I need to configure on my host machine or target machine?(My ans is,on host machine is it correct?)

                                    jsulmJ 1 Reply Last reply
                                    0
                                    • A Asha

                                      This is the simple question where I am going to ask..

                                      But I want clarification....

                                      I need to configure on my host machine or target machine?(My ans is,on host machine is it correct?)

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

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

                                      on host machine is it correct?

                                      yes, cross compilation means that you build on host but for target device

                                      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:

                                        on host machine is it correct?

                                        yes, cross compilation means that you build on host but for target device

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

                                        @jsulm

                                        Hi,

                                        Now I am able to configure,but gettting one warning...please go throught the attachement..

                                        config (1).png

                                        can I proceed next...

                                        jsulmJ 1 Reply Last reply
                                        0
                                        • A Asha

                                          @jsulm

                                          Hi,

                                          Now I am able to configure,but gettting one warning...please go throught the attachement..

                                          config (1).png

                                          can I proceed next...

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

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

                                          can I proceed next

                                          If you don't need QDoc then yes you can...

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

                                          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