[Qt-interest] SPAM-LOW: Re: QT 4.5 OS X Compile errors

Jason Kolbenheyer jason at dropdeadcreative.com
Wed Sep 23 16:14:04 CEST 2009


Richard, thanks for the reply. I failed to mention that I'm brand new  
to this, so please forgive my ignorance.

What do you mean "Check that there is no qmake in your path from  
before"?

I did qmake -v and the output was:

QMake version 2.01a
Using Qt version 4.5.2 in /Library/Frameworks

I'm trying to build again right now using:

./configure -debug-and-release -platform macx-g++ -universal -sdk / 
Developer/SDKs/MacOSX10.4u.sdk -qt-zlib -qt-gif -qt-libpng -qt-libmng  
-qt-libjpeg -qt-sql-sqlite -static -nomake examples -nomake demos

No idea if it's going to work, I have probably 2 hours until I find out.

Thanks in advance for your continued assistance.

-jason

On Sep 23, 2009, at 10:01 AM, Richard wrote:

Check that there is no qmake in your path from before, and that  
'qmake -v' points to the correct version.

-Richard




On Sep 23, 2009, at 1:33 PM, Jason Kolbenheyer wrote:

> I've been trying to compile QT 4.5 for the past few days. My  
> settings are:
>
>  ./configure -debug-and-release -static -no-fast -stl -qt-sql- 
> sqlite -qt-zlib -qt-libpng -qt-libmng -qt-libtiff -qt-libjpeg - 
> webkit -universal -sdk /Developer/SDKs/MacOSX10.4u.sdk -nomake  
> examples -nomake demos
>
> I get the error:
>
> QListData::remove(int)  referenced from libQtCLucene expected to be  
> defined in /usr/local/Trolltech/Qt-4.5.2/lib/QtCore.framework/ 
> Versions/4/QtCore
> QListData::insert(int)  referenced from libQtCLucene expected to be  
> defined in /usr/local/Trolltech/Qt-4.5.2/lib/QtCore.framework/ 
> Versions/4/QtCore
> QString::toAscii() constreferenced from libQtCLucene expected to be  
> defined in /usr/local/Trolltech/Qt-4.5.2/lib/QtCore.framework/ 
> Versions/4/QtCore
> collect2: ld returned 1 exit status
> lipo: can't open input file: /var/tmp//ccLACO3z.out (No such file  
> or directory)
> make[4]: *** [../../../../bin/Assistant.app/Contents/MacOS/ 
> Assistant] Error 1
> make[3]: *** [sub-assistant-make_default-ordered] Error 2
> make[2]: *** [sub-tools-make_default-ordered] Error 2
> make[1]: *** [sub-assistant-make_default-ordered] Error 2
> make: *** [sub-tools-make_default-ordered] Error 2
>
> I know this is due to the -universal setting, I'm not sure how to  
> fix, I've tried:
>
> env CFLAGS="-O -g -isysroot /Developer/SDKs/MacOSX10.4u.sdk -arch  
> i386 -arch ppc" \
>   LDFLAGS="-arch i386 -arch ppc" ./configure -debug-and-release - 
> static -no-fast -stl -qt-sql-sqlite -qt-zlib -qt-libpng -qt-libmng - 
> qt-libtiff -qt-libjpeg -webkit -universal -nomake examples -nomake  
> demos
>
> as per: http://developer.apple.com/mac/library/technotes/tn2005/ 
> tn2137.html#TNTAG2
>
> But no luck. I appreciate any assistance anyone can offer. Thanks  
> and have a great day.
>
> -jason
> _______________________________________________
> Qt-interest mailing list
> Qt-interest at trolltech.com
> http://lists.trolltech.com/mailman/listinfo/qt-interest

_______________________________________________
Qt-interest mailing list
Qt-interest at trolltech.com
http://lists.trolltech.com/mailman/listinfo/qt-interest

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


More information about the Qt-interest-old mailing list