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. Make not recognized by configure script
Forum Updated to NodeBB v4.3 + New Features

Make not recognized by configure script

Scheduled Pinned Locked Moved Installation and Deployment
4 Posts 3 Posters 5.6k Views 1 Watching
  • 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.
  • C Offline
    C Offline
    cutie
    wrote on last edited by
    #1

    Hi all. I'm trying to compile the Qt 4.8 libraries for 32-bit Linux. I run the configure script and get this:

    You don't seem to have 'make' or 'gmake' in your PATH.
    Cannot proceed.

    Running "echo $PATH" gives me

    /usr/local/bin:/usr/bin:/bin:/usr/local/games:/usr/games

    I definitely have make installed (GNU Make). What am I missing here?

    1 Reply Last reply
    0
    • C Offline
      C Offline
      Chris H
      wrote on last edited by
      #2

      What does "which make" give you?

      1 Reply Last reply
      0
      • sierdzioS Offline
        sierdzioS Offline
        sierdzio
        Moderators
        wrote on last edited by
        #3

        I have encountered a similar problem a few days ago with a custom build of Qt5. In my case, "config.tests/unix" directory was the source of the problem - but I have modified it heavily, so it was all my fault. Maybe this will shed some light on your issue. Maybe you've got the checksum wrong, and the error happened to reside in that folder?

        (Z(:^

        1 Reply Last reply
        0
        • C Offline
          C Offline
          cutie
          wrote on last edited by
          #4

          Running "which make" gives me

          /usr/bin/make

          The problem seems to be in the configure script itself. Here's the code that failed, starting at line 2626:

          @# find a make command
          if [ -z "$MAKE" ]; then
          MAKE=
          for mk in gmake make; do
          if "$WHICH" $mk >/dev/null 2>&1; then
          MAKE="$WHICH" $mk
          break
          fi
          done
          if [ -z "$MAKE" ]; then
          echo >&2 "You don't seem to have 'make' or 'gmake' in your PATH."
          echo >&2 "Cannot proceed."
          exit 1
          fi
          # export MAKE, we need it later in the config.tests
          export MAKE
          fi@

          Maybe if I knew something about coding I could debug this. What do you all think?

          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