[Qt-interest] Cannot Build Static Libs On OS X Due To Assistant.app

Jason Kolbenheyer jason at dropdeadcreative.com
Sat Sep 26 00:44:57 CEST 2009


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. 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



-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.qt-project.org/pipermail/qt-interest-old/attachments/20090925/d683bbad/attachment.html 


More information about the Qt-interest-old mailing list