Nominate our 2022 Qt Champions!

Can't build QT on OS X 10.8.2

  • I'm having issues trying to build both QT 4.8.4 and 5.0 on OS X 10.8.2.

    4.8.4 gives:
    -bash: ./configure: /bin/sh^M: bad interpreter: No such file or directory

    5.0 gives:
    -bash: ./configure: /usr/bin/perl^M: bad interpreter: No such file or directory

    The '^M' is a giveaway that the configure file is not being read properly. If I open the file and save it with a new CR, it gets past that error but encounters similar issues parsing the rest of the file.

    Any ideas here? I've never had issues compiling QT in the past (I'm currently using 4.8.3, which I built myself). Any help would be appreciated!

  • Well, I figured out the problem.

    Who would have thought the contents of the ZIP and TAR.GZ bundles would be different for the source package? I grabbed the TAR.GZ and it's currently building.

    It either needs to be called out that there are differences between the ZIP and TAR.GZ bundles, or make them identical.

Log in to reply