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. 5.0 RC2 "gmake install" fails on Mac OS X Mountain Lion

5.0 RC2 "gmake install" fails on Mac OS X Mountain Lion

Scheduled Pinned Locked Moved Installation and Deployment
3 Posts 2 Posters 2.7k 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.
  • A Offline
    A Offline
    Apelsinsaft
    wrote on last edited by
    #1

    Installation of my newly built tree fails on OS X Mountain Lion. Any help appreciated!

    The source tree is configured thus:

    ./configure -developer-build -opensource -no-glib -nomake tests

    and it builds without errors (if I use -no-glib, otherwise it fails).

    When I do this:

    sudo gmake install

    I get these errors (followed by a number of similar errors):

    Undefined symbols for architecture x86_64:
    "_CFBundleCopyInfoDictionaryForURL", referenced from:
    QFileSystemEngine::bundleName(QFileSystemEntry const&) in libQt5Bootstrap.a(qfilesystemengine_unix.o)
    "_CFBundleGetPackageInfoInDirectory", referenced from:
    QFileSystemEngine::fillMetaData(QFileSystemEntry const&, QFileSystemMetaData&, QFlagsQFileSystemMetaData::MetaDataFlag) in libQt5Bootstrap.a(qfilesystemengine_unix.o)
    "_CFDictionaryGetValue", referenced from:
    QFileSystemEngine::bundleName(QFileSystemEntry const&) in libQt5Bootstrap.a(qfilesystemengine_unix.o)
    "_CFGetTypeID", referenced from:
    QFileSystemEngine::bundleName(QFileSystemEntry const&) in libQt5Bootstrap.a(qfilesystemengine_unix.o)
    "_CFRelease", referenced from:
    QString::localeAwareCompare_helper(QChar const*, int, QChar const*, int) in libQt5Bootstrap.a(qstring.o)
    qt_mac_to_pascal_string(QString, unsigned char*, unsigned int, int) in libQt5Bootstrap.a(qglobal.o)
    qt_mac_from_pascal_string(unsigned char const*) in libQt5Bootstrap.a(qglobal.o)
    QFileSystemEngine::getLinkTarget(QFileSystemEntry const&, QFileSystemMetaData&) in libQt5Bootstrap.a(qfilesystemengine_unix.o)
    QFileSystemEngine::fillMetaData(QFileSystemEntry const&, QFileSystemMetaData&, QFlagsQFileSystemMetaData::MetaDataFlag) in libQt5Bootstrap.a(qfilesystemengine_unix.o)
    QFileSystemEngine::canonicalName(QFileSystemEntry const&, QFileSystemMetaData&) in libQt5Bootstrap.a(qfilesystemengine_unix.o)
    QFileSystemEngine::bundleName(QFileSystemEntry const&) in libQt5Bootstrap.a(qfilesystemengine_unix.o)
    ...

    Thanks in advance!

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

      You should not run "make install" for Qt built with -developer-build. This flag means a local, in-source build.

      Try using a different linker. g++ works a bit better than ld. Also, consider using make.

      (Z(:^

      1 Reply Last reply
      0
      • A Offline
        A Offline
        Apelsinsaft
        wrote on last edited by
        #3

        I see, guess I should have looked up what developer-build actually did. :-)

        Thanks for the help!

        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