Quantcast
Channel: Qt DevNet forums: Installation and Deployment
Viewing all articles
Browse latest Browse all 2113

Problem building Qt 5.2.1 on the Mac

$
0
0
I don’t know how/why I keep running up against these… I must be “special” or something… So, I’m trying to build Qt 5.2.1 on the Mac (MacSDK 10.8, Xcode 5.0.2), and things hum along quite well, until this happens: ... /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang++ -headerpad_max_install_names -Wl,-syslibroot,/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.8.sdk -stdlib=libc++ -mmacosx-version-min=10.7 -single_module -dynamiclib -compatibility_version 5.2 -current_version 5.2.2 -install_name /Projects/Qt5.2.1/lib/QtWebKit.framework/Versions/5/QtWebKit_debug -o QtWebKit_debug   -F/Volumes/Projects/Qt5.2.1/qt5/qtbase/lib -F/Volumes/Projects/Qt5.2.1/qt5/qtdeclarative/lib -F/Volumes/Projects/Qt5.2.1/qt5/qtmultimedia/lib -F/Volumes/Projects/Qt5.2.1/qt5/qtlocation/lib -F/Volumes/Projects/Qt5.2.1/qt5/qtsensors/lib -framework QtNetwork -framework QtCore -framework QtGui -framework Carbon -framework AppKit -Wl,-force_load,/Volumes/Projects/Qt5.2.1/qt5/qtwebkit/Source/WebKit/debug/libWebKit1_debug.a -L/Volumes/Projects/Qt5.2.1/qt5/qtwebkit/Source/WebKit/debug -Wl,-force_load,/Volumes/Projects/Qt5.2.1/qt5/qtwebkit/Source/WebKit2/debug/libWebKit2_debug.a -L/Volumes/Projects/Qt5.2.1/qt5/qtwebkit/Source/WebKit2/debug -Wl,-force_load,/Volumes/Projects/Qt5.2.1/qt5/qtwebkit/Source/WebCore/debug/libWebCore_debug.a -L/Volumes/Projects/Qt5.2.1/qt5/qtwebkit/Source/WebCore/debug -lxml2 -lxslt -lz -framework IOSurface -framework CoreFoundation -lsqlite3 -framework IOKit -Wl,-force_load,/Volumes/Projects/Qt5.2.1/qt5/qtwebkit/Source/ThirdParty/ANGLE/debug/libANGLE_debug.a -L/Volumes/Projects/Qt5.2.1/qt5/qtwebkit/Source/ThirdParty/ANGLE/debug -Wl,-force_load,/Volumes/Projects/Qt5.2.1/qt5/qtwebkit/Source/JavaScriptCore/debug/libJavaScriptCore_debug.a -L/Volumes/Projects/Qt5.2.1/qt5/qtwebkit/Source/JavaScriptCore/debug -Wl,-force_load,/Volumes/Projects/Qt5.2.1/qt5/qtwebkit/Source/WTF/debug/libWTF_debug.a -L/Volumes/Projects/Qt5.2.1/qt5/qtwebkit/Source/WTF/debug -licucore -framework QtQuick -F/Volumes/Projects/Qt5.2.1/qt5/qtdeclarative/lib -F/Volumes/Projects/Qt5.2.1/qt5/qtbase/lib -framework QtQml -framework QtNetwork -framework QtCore -framework QtGui -framework QtMultimedia -framework QtSql -framework QtPositioning -framework QtSensors -framework OpenGL -framework AGL make[4]: Nothing to be done for `all'. Undefined symbols for architecture x86_64:  "", referenced from:      ˙x in libWebCore_debug.a(RenderingAllInOne.o)     (maybe you meant: ÿ≤\¡ dÁƒflÑø{]k’’>, ƒ: , ëîi0ˇ{ò9SêÕ?Ñø{Í*∫Kõ: , 8IDÈ_Ñø{ˆû∆∆~ê"(Ä"(˜Î|5555¥ëPëIˇ{∑≠§â§HÑø{¥¿± ∑ú√ , ÿ9p A_Ñø{Ú9é⁄flÄÄ -‘.Ô˜Îˇ{5555œ;I‹8fˇÉ–Q , Ñø{k*æ™ó:IDRúÑøs¡®∏√ê8Z?P—¯Îˇs====®9Ií?IóˇÉØ8M»düÇ°Ñøs∆»04ÿ9p A_Ñø{Ú9é⁄flÄÄ -‘.Ô˜Îˇ{5555œ;I‹8fˇÉ–Q , Ÿêfü…µ?Ñø{∏∏˘Èï9–º7Oí$?Ñfl{Vºaπn7Iî ó$˘„|5555¨^¶êùPöÑ˙# The gibberish continues for almost 80,000 lines, takes a breather for a bunch of readable errors like this:   ¥èûÑs¯)hÑ?sû∏„_åsêé£é~Ö{€U/flflÑˇzæfl¿>üåsä´[∫Ñ{⁄bßÄøåø{≥˙ı_Ñ_s~0´ˇåø{ùw◊âÑ_{j™Í?ˇî_s];Ê˛[˜Î_ú∂Ö%ç≈^ïü{Œï◊Z>ïsyÿm˛åsÎ[/ˇ|fijø"Úeû•k˜zó,fiïΩrUÚæÊªÆúRRÂcüº>,–ÚÛ≥|Ö|y¯6ΩÖ}Ň´ º^ùfirmÊ™^ù^j€˛ùË?çΩiä∫™≠çûj˝ø®bıÛflC¡¡¡¡]‹•≈≈≈fiÑ~rµ¿É§^ï˛rr}ä€>ù~bÚ&c˝ï{o?}wˇî^kq∂'m}{&UÇÔ>Öæz in libWebCore_debug.a(RenderingAllInOne.o)  "WebCore::RenderText::transformText()", referenced from:      vtable for WebCore::RenderSVGInlineText in libWebCore_debug.a(RenderSVGAllInOne.o)  "WebCore::RenderText::styleDidChange(WebCore::StyleDifference, WebCore::RenderStyle const*)", referenced from:      WebCore::RenderSVGInlineText::styleDidChange(WebCore::StyleDifference, WebCore::RenderStyle const*) in libWebCore_debug.a(RenderSVGAllInOne.o)  "WebCore::RenderText::setTextInternal(WTF::PassRefPtr<WTF::StringImpl>)", referenced from:      WebCore::RenderSVGInlineText::setTextInternal(WTF::PassRefPtr<WTF::StringImpl>) in libWebCore_debug.a(RenderSVGAllInOne.o) ... then it resumes the gibberish for another couple thousand lines or so, and ends with a thud here: Nîå[ˇvWåÌÉÿT|zåÁA@¿¿¿å«9  /îÌÉÉ >pî¨{™*∫)êúl{80ëúÌɯxËxêúÌÉ*≤:êú.ås΢ÌÒ¨åÛ˝ˇˇÒ¨ÓãX¯¢™–§Oî'–§oúoÌJC§Oú˝˘Å”1≠îøøØ…≠oúÎJcÒrΩÌãI…Ik÷¨{7RΩoúÆ&Rµoú◊÷‹ÿ±§ÌÉêê≠êú\˛^\è§Ks( ) ld: symbol(s) not found for architecture x86_64 clang: error: linker command failed with exit code 1 (use -v to see invocation) make[4]: *** [../lib/QtWebKit.framework/QtWebKit_debug] Error 1 make[3]: *** [debug-all] Error 2 make[2]: *** [sub-api-pri-make_first-ordered] Error 2 make[1]: *** [sub-Source-QtWebKit-pro-make_first-ordered] Error 2 make: *** [module-qtwebkit-make_first] Error 2 The gibberish appears in both the terminal window, and if I save the output and open it in TextWrangler, it looks the same. I tried a couple of different fonts and character encodings in TextWrangler to see if it would change anything, but it didn’t. Since these seems to be in webkit, and I know I can disable it, I’ll do that as a workaround. But this is a new level of weird… does it ring any bells with anyone? Thanks! -Eric

Viewing all articles
Browse latest Browse all 2113

Trending Articles