Results 1 to 4 of 4

Thread: Cannot Build Static Libs On OS X Due To Assistant.app

  1. #1
    Join Date
    Sep 2009
    Posts
    3
    Qt products
    Qt4
    Platforms
    MacOS X

    Default Cannot Build Static Libs On OS X Due To Assistant.app

    Hi all. I've been trying and trying to get a -static version of QT 4.5 built and installed on my Mac. Assistant.app causes the install to stop, says:

    collect2: ld returned 1 exit status
    lipo: can't open input file: /var/tmp//ccOJP4C8.out (No such file or
    directory)
    make[4]: *** [../../../../bin/Assistant.app/Contents/MacOS/Assistant]
    Error 1
    make[3]: *** [sub-assistant-install_subtargets-ordered] Error 2
    make[2]: *** [sub-tools-install_subtargets-ordered] Error 2
    make[1]: *** [sub-assistant-install_subtargets-ordered] Error 2
    make: *** [sub-tools-install_subtargets-ordered] Error 2


    I can however build using frameworks or dynamic libs, But I need static libs for my app. I've seen this mentioned here and there but never any solutions. Can I skip building bin/assistant.app? Can I somehow order it last in the process?

    I use: ./configure -debug-and-release -static -no-fast -stl -qt-sql-sqlite -qt-zlib -qt-libpng -qt-libmng -qt-libtiff -qt-libjpeg -webkit -nomake examples -nomake demos -universal -prefix /usr/local/Trolltech/Qt-4.5.2-static

    It was done on my machine for version 4.4.0 so I know it can be done, just don't know how. I'm on Mac OS X 10.4.11

    Thank you in advance to anyone who can help.

    -jason

  2. #2
    Join Date
    Jan 2006
    Location
    Frankfurt
    Posts
    500
    Thanks
    1
    Thanked 52 Times in 52 Posts
    Platforms
    MacOS X Unix/X11

    Default Re: Cannot Build Static Libs On OS X Due To Assistant.app

    Add -nomake tools to not compile assistant and designer and so on.
    It's nice to be important but it's more important to be nice.

  3. #3
    Join Date
    Sep 2009
    Posts
    3
    Qt products
    Qt4
    Platforms
    MacOS X

    Default Re: Cannot Build Static Libs On OS X Due To Assistant.app

    Thanks axeljaeger, will try that right now.

  4. #4
    Join Date
    Sep 2009
    Posts
    3
    Qt products
    Qt4
    Platforms
    MacOS X

    Default Re: Cannot Build Static Libs On OS X Due To Assistant.app

    Works! Thanks axeljaeger, you rock!

Similar Threads

  1. Replies: 11
    Last Post: 13th July 2009, 16:05
  2. Replies: 16
    Last Post: 23rd May 2008, 10:12
  3. Please Help-->have few doubts with Static build in Windows !
    By Krish in forum Installation and Deployment
    Replies: 1
    Last Post: 17th March 2008, 14:37
  4. Windows XP Qt 4.3.2 Static build
    By maxpower in forum Installation and Deployment
    Replies: 9
    Last Post: 2nd November 2007, 04:49
  5. Qt4 MacOSX UB Xcode and a static Qt build?
    By kuroyume0161 in forum Installation and Deployment
    Replies: 15
    Last Post: 18th March 2007, 08:10

Tags for this Thread

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Digia, Qt and their respective logos are trademarks of Digia Plc in Finland and/or other countries worldwide.