Qt Forum

    • Login
    • Search
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Groups
    • Search
    • Unsolved

    Update: Forum Guidelines & Code of Conduct

    [solved] unable to install Qt 5.2.1 besides Xcode 5.1 on Mac OSX 10.9.2. error: command install_name_tool failed.

    Installation and Deployment
    3
    15
    3762
    Loading More Posts
    • 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
      stijn0001 last edited by

      i get the error below when running the installer. anyone understand the problem?


      Error during installation process (qt.521.clang_64.essentials):
      Command install_name_tool failed.
      Arguments: -change /work/build/PADDING/lib/QtQuick.framework/Versions/5/QtQuick /Users/stijn/Qt5.2.1/5.2.1/clang_64/lib/QtQuick.framework/Versions/5/QtQuick -change /work/build/PADDING/lib/QtQml.framework/Versions/5/QtQml /Users/stijn/Qt5.2.1/5.2.1/clang_64/lib/QtQml.framework/Versions/5/QtQml -change /work/build/PADDING/lib/QtNetwork.framework/Versions/5/QtNetwork /Users/stijn/Qt5.2.1/5.2.1/clang_64/lib/QtNetwork.framework/Versions/5/QtNetwork -change /work/build/PADDING/lib/QtCore.framework/Versions/5/QtCore /Users/stijn/Qt5.2.1/5.2.1/clang_64/lib/QtCore.framework/Versions/5/QtCore -change /work/build/PADDING/lib/QtGui.framework/Versions/5/QtGui /Users/stijn/Qt5.2.1/5.2.1/clang_64/lib/QtGui.framework/Versions/5/QtGui -change /work/build/PADDING/lib/QtWebKit.framework/Versions/5/QtWebKit /Users/stijn/Qt5.2.1/5.2.1/clang_64/lib/QtWebKit.framework/Versions/5/QtWebKit -change /work/build/PADDING/lib/QtPositioning.framework/Versions/5/QtPositioning /Users/stijn/Qt5.2.1/5.2.1/clang_64/lib/QtPositioning.framework/Versions/5/QtPositioning /Users/stijn/Qt5.2.1/5.2.1/clang_64/qml/QtWebKit/experimental/libqmlwebkitexperimentalplugin.dylib
      Output:

      1 Reply Last reply Reply Quote 0
      • hskoglund
        hskoglund last edited by

        First guess: maybe you have not installed Xcode's command line tools?
        To check: launch a Terminal and type install_name_tool
        If you get "Usage:..." then it's something else...

        1 Reply Last reply Reply Quote 0
        • S
          stijn0001 last edited by

          thanks for your reply

          I get: "Usage: install_name_tool [-change old new] ... [-id name] input"
          so its something else

          1 Reply Last reply Reply Quote 0
          • hskoglund
            hskoglund last edited by

            Hmmm, can you start QtCreator anyway (in spite of the installer errors)?

            1 Reply Last reply Reply Quote 0
            • S
              stijn0001 last edited by

              yes, i can ignore the errors (twice) and start Qt creator after finishing the installation.

              don't know if ignoring the errors will result in problems later, but so far so good.

              1 Reply Last reply Reply Quote 0
              • hskoglund
                hskoglund last edited by

                Have you tried compiling and running a Qt program? Those installers errors typically messes up the ability for QtCreator to launch/debug your program.

                1 Reply Last reply Reply Quote 0
                • S
                  stijn0001 last edited by

                  double clicked on a .pro file, this is the result:

                  Error while parsing file /Users/stijn/Desktop/Life/Life.pro. Giving up.
                  Could not find qmake configuration file default.
                  Cannot read /work/build/PADDING/mkspecs/macx-clang/qmake.conf: No such file or directory
                  Could not read qmake configuration file /work/build/PADDING/mkspecs/macx-clang/qmake.conf.
                  Could not find qmake configuration file macx-clang.
                  Error while parsing file /Users/stijn/Desktop/Life/Life.pro. Giving up.

                  1 Reply Last reply Reply Quote 0
                  • hskoglund
                    hskoglund last edited by

                    Ouch. While it's possible to do all the needed install_name_tool fiddlings by hand, it looks like you need to have a successful install. Maybe try the 5.3 beta instead? (there's a link on the download page just before the 4.8 downloads)

                    1 Reply Last reply Reply Quote 0
                    • SGaist
                      SGaist Lifetime Qt Champion last edited by

                      Hi,

                      IIRC, re-starting Xcode once the command line tools are installed and before installing the Qt package might help

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

                      1 Reply Last reply Reply Quote 0
                      • S
                        stijn0001 last edited by

                        thanks for replying

                        correct me if i am wrong, but i have read that Xcode Command Line Tools are included with Xcode 5.0.x on Mavericks, so i don't need to install them.

                        1 Reply Last reply Reply Quote 0
                        • SGaist
                          SGaist Lifetime Qt Champion last edited by

                          Before you had to install them by hand, with the latest version of Xcode you can download/install them directly from Xcode. But AFAIK, they are not by default

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

                          1 Reply Last reply Reply Quote 0
                          • S
                            stijn0001 last edited by

                            update:

                            tried to install Qt 5.2.1 on laptop of my girlfriend.

                            laptop: macbook pro, latest OS X 10.9.2, Xcode 5.1, no extra effort to install command line tools.

                            installer gave no errors!

                            conclusion: something is wrong locally, on my computer.

                            1 Reply Last reply Reply Quote 0
                            • hskoglund
                              hskoglund last edited by

                              Maybe you change computer with your girlfriend :-)

                              1 Reply Last reply Reply Quote 0
                              • S
                                stijn0001 last edited by

                                haha. well, i decided to reinstall all relevant software (Mavericks, Xcode) and now it works. problem solved, thanks guys.

                                1 Reply Last reply Reply Quote 0
                                • SGaist
                                  SGaist Lifetime Qt Champion last edited by

                                  Good !

                                  You're welcome !

                                  Since you have everything working now, please update the thread title prepending [solved] so other forum users may know a solution has been found :)

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

                                  1 Reply Last reply Reply Quote 0
                                  • First post
                                    Last post