[KDE/Mac] Qt4-mac build error
Big O
orville.bennett at gmail.com
Tue Dec 22 23:39:57 CET 2009
On 12/22/09 4:26 AM, jolz wrote:
> Other question, but related:
>
> Is qt4-mac needed to build kde4mac?
>
> I've got some problems here (similar to these:
> http://trac.macports.org/ticket/19316) and currently i try to rebuild
> kde4 without qt4-mac but with qt4-kde...
qt4-kde is probably a steaming pile of crapitude due to neglect.
I would know, I'm neglecting it.
Go w/ qt4-mac
>
> jolz
>
>
> 2009/12/15 Muz Zviman<zviman at comcast.net>:
>> Hi I'm trying to install KDEBase4 and I got the error:
>>
>> ---> Building qt4-mac
>> Error: Target org.macports.build returned: shell command " cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_aqua_qt4-mac/work/qt-mac-opensource-src-4.5.3"&& /usr/bin/make -j2 first " returned error 2
>> Command output: /usr/bin/g++-4.2 -c -include .pch/debug-shared/QtNetwork_debug -O2 -arch x86_64 -Xarch_x86_64 -mmacosx-version-min=10.5 -fconstant-cfstrings -g -gdwarf-2 -arch x86_64 -Xarch_x86_64 -mmacosx-version-min=10.5 -fvisibility=hidden -fvisibility-inlines-hidden -Wall -W -fPIC -DQT_SHARED -DQT_BUILD_NETWORK_LIB -DQT_NO_USING_NAMESPACE -DQT_NO_CAST_TO_ASCII -DQT_ASCII_CAST_WARNINGS -DQT3_SUPPORT -DQT_MOC_COMPAT -DQT_CORE_LIB -D_LARGEFILE64_SOURCE -D_LARGEFILE_SOURCE -I../../mkspecs/macx-g++ -I. -I../../include/QtCore -I../../include -I../../include/QtNetwork -I.rcc/debug-shared -Ikernel -I.moc/debug-shared -F/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_aqua_qt4-mac/work/qt-mac-opensource-src-4.5.3/lib -o .obj/debug-shared/moc_qtcpsocket.o .moc/debug-shared/moc_qtcpsocket.cpp
>> /usr/bin/g++-4.2 -c -include .pch/debug-shared/QtNetwork_debug -O2 -arch x86_64 -Xarch_x86_64 -mmacosx-version-min=10.5 -fconstant-cfstrings -g -gdwarf-2 -arch x86_64 -Xarch_x86_64 -mmacosx-version-min=10.5 -fvisibility=hidden -fvisibility-inlines-hidden -Wall -W -fPIC -DQT_SHARED -DQT_BUILD_NETWORK_LIB -DQT_NO_USING_NAMESPACE -DQT_NO_CAST_TO_ASCII -DQT_ASCII_CAST_WARNINGS -DQT3_SUPPORT -DQT_MOC_COMPAT -DQT_CORE_LIB -D_LARGEFILE64_SOURCE -D_LARGEFILE_SOURCE -I../../mkspecs/macx-g++ -I. -I../../include/QtCore -I../../include -I../../include/QtNetwork -I.rcc/debug-shared -Ikernel -I.moc/debug-shared -F/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_aqua_qt4-mac/work/qt-mac-opensource-src-4.5.3/lib -o .obj/debug-shared/moc_qudpsocket.o .moc/debug-shared/moc_qudpsocket.cpp
>> /usr/bin/g++-4.2 -c -include .pch/debug-shared/QtNetwork_debug -O2 -arch x86_64 -Xarch_x86_64 -mmacosx-version-min=10.5 -fconstant-cfstrings -g -gdwarf-2 -arch x86_64 -Xarch_x86_64 -mmacosx-version-min=10.5 -fvisibility=hidden -fvisibility-inlines-hidden -Wall -W -fPIC -DQT_SHARED -DQT_BUILD_NETWORK_LIB -DQT_NO_USING_NAMESPACE -DQT_NO_CAST_TO_ASCII -DQT_ASCII_CAST_WARNINGS -DQT3_SUPPORT -DQT_MOC_COMPAT -DQT_CORE_LIB -D_LARGEFILE64_SOURCE -D_LARGEFILE_SOURCE -I../../mkspecs/macx-g++ -I. -I../../include/QtCore -I../../include -I../../include/QtNetwork -I.rcc/debug-shared -Ikernel -I.moc/debug-shared -F/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_aqua_qt4-mac/work/qt-mac-opensource-src-4.5.3/lib -o .obj/debug-shared/moc_qlocalserver_p.o .moc/debug-shared/moc_qlocalserver_p.cpp
>> /usr/bin/g++-4.2 -c -include .pch/debug-shared/QtNetwork_debug -O2 -arch x86_64 -Xarch_x86_64 -mmacosx-version-min=10.5 -fconstant-cfstrings -g -gdwarf-2 -arch x86_64 -Xarch_x86_64 -mmacosx-version-min=10.5 -fvisibility=hidden -fvisibility-inlines-hidden -Wall -W -fPIC -DQT_SHARED -DQT_BUILD_NETWORK_LIB -DQT_NO_USING_NAMESPACE -DQT_NO_CAST_TO_ASCII -DQT_ASCII_CAST_WARNINGS -DQT3_SUPPORT -DQT_MOC_COMPAT -DQT_CORE_LIB -D_LARGEFILE64_SOURCE -D_LARGEFILE_SOURCE -I../../mkspecs/macx-g++ -I. -I../../include/QtCore -I../../include -I../../include/QtNetwork -I.rcc/debug-shared -Ikernel -I.moc/debug-shared -F/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_aqua_qt4-mac/work/qt-mac-opensource-src-4.5.3/lib -o .obj/debug-shared/qrc_network.o .rcc/debug-shared/qrc_network.cpp
>> /usr/bin/g++-4.2 -c -include .pch/debug-shared/QtNetwork_debug -O2 -arch x86_64 -Xarch_x86_64 -mmacosx-version-min=10.5 -fconstant-cfstrings -g -gdwarf-2 -arch x86_64 -Xarch_x86_64 -mmacosx-version-min=10.5 -fvisibility=hidden -fvisibility-inlines-hidden -Wall -W -fPIC -DQT_SHARED -DQT_BUILD_NETWORK_LIB -DQT_NO_USING_NAMESPACE -DQT_NO_CAST_TO_ASCII -DQT_ASCII_CAST_WARNINGS -DQT3_SUPPORT -DQT_MOC_COMPAT -DQT_CORE_LIB -D_LARGEFILE64_SOURCE -D_LARGEFILE_SOURCE -I../../mkspecs/macx-g++ -I. -I../../include/QtCore -I../../include -I../../include/QtNetwork -I.rcc/debug-shared -Ikernel -I.moc/debug-shared -F/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_aqua_qt4-mac/work/qt-mac-opensource-src-4.5.3/lib -o .obj/debug-shared/qftp.o access/qftp.cpp
>> rm -f QtNetwork_debug QtNetwork.framework/QtNetwork_debug ../../lib/QtNetwork.framework/QtNetwork_debug
>> /usr/bin/g++-4.2 -headerpad_max_install_names -Xarch_x86_64 -mmacosx-version-min=10.5 -arch x86_64 -Xarch_x86_64 -mmacosx-version-min=10.5 -single_module -dynamiclib -compatibility_version 4.5 -current_version 4.5.3 -install_name /opt/local/libexec/qt4-mac/lib/QtNetwork.framework/Versions/4/QtNetwork_debug -o QtNetwork_debug .obj/debug-shared/qftp.o .obj/debug-shared/qhttp.o .obj/debug-shared/qhttpnetworkheader.o .obj/debug-shared/qhttpnetworkrequest.o .obj/debug-shared/qhttpnetworkreply.o .obj/debug-shared/qhttpnetworkconnection.o .obj/debug-shared/qnetworkaccessmanager.o .obj/debug-shared/qnetworkaccesscache.o .obj/debug-shared/qnetworkaccessbackend.o .obj/debug-shared/qnetworkaccessdatabackend.o .obj/debug-shared/qnetworkaccessdebugpipebackend.o .obj/debug-shared/qnetworkaccessfilebackend.o .obj/debug-shared/qnetworkaccesscachebackend.o .obj/debug-shared/qnetworkaccessftpbackend.o .obj/debug-shared/qnetworkaccesshttpbackend.o .obj/debug-shared/qnetworkcookie.o
.obj/debug-shared/qnetworkrequest.o .obj/debug-shared/qnetworkreply.o .obj/debug-shared/qnetworkreplyimpl.o .obj/debug-shared/qabstractnetworkcache.o .obj/debug-shared/qnetworkdiskcache.o .obj/debug-shared/qauthenticator.o .obj/debug-shared/qhostaddress.o .obj/debug-shared/qhostinfo.o .obj/debug-shared/qurlinfo.o .obj/debug-shared/qnetworkproxy.o .obj/debug-shared/qnetworkinterface.o .obj/debug-shared/qhostinfo_unix.o .obj/debug-shared/qnetworkinterface_unix.o .obj/debug-shared/qnetworkproxy_mac.o .obj/debug-shared/qabstractsocketengine.o .obj/debug-shared/qnativesocketengine.o .obj/debug-shared/qhttpsocketengine.o .obj/debug-shared/qsocks5socketengine.o .obj/debug-shared/qabstractsocket.o .obj/debug-shared/qtcpsocket.o .obj/debug-shared/qudpsocket.o .obj/debug-shared/qtcpserver.o .obj/debug-shared/qlocalsocket.o .obj/debug-shared/qlocalserver.o .obj/debug-shared/qnativesocketengine_unix.o .obj/debug-shared/qlocalsocket_unix.o .obj/debug-shared/qlocalserver_unix.o .obj/debug
-shared/qssl.o .obj/debug-shared/qsslcertificate.o .obj/debug-shared/qsslconfiguration.o .obj/debug-shared/qsslcipher.o .obj/debug-shared/qsslerror.o .obj/debug-shared/qsslkey.o .obj/debug-shared/qsslsocket.o .obj/debug-shared/qsslsocket_openssl.o .obj/debug-shared/qsslsocket_openssl_symbols.o .obj/debug-shared/moc_qhttpnetworkreply_p.o .obj/debug-shared/moc_qnetworkaccesscache_p.o .obj/debug-shared/moc_qnetworkaccessbackend_p.o .obj/debug-shared/moc_qnetworkaccessdebugpipebackend_p.o .obj/debug-shared/moc_qnetworkaccesshttpbackend_p.o .obj/debug-shared/moc_qnetworkaccessftpbackend_p.o .obj/debug-shared/moc_qnetworkcookie.o .obj/debug-shared/moc_qnetworkreply.o .obj/debug-shared/moc_qabstractnetworkcache.o .obj/debug-shared/moc_qnetworkdiskcache.o .obj/debug-shared/moc_qhostinfo_p.o .obj/debug-shared/moc_qabstractsocketengine_p.o .obj/debug-shared/moc_qnativesocketengine_p.o .obj/debug-shared/moc_qhttpsocketengine_p.o .obj/debug-shared/moc_qsocks5socketengine_p.o .obj/debug-s
hared/moc_qtcpsocket.o .obj/debug-shared/moc_qudpsocket.o .obj/debug-shared/moc_qlocalserver_p.o .obj/debug-shared/qrc_network.o -F/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_aqua_qt4-mac/work/qt-mac-opensource-src-4.5.3/lib -L/opt/local/lib -L/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_aqua_qt4-mac/work/qt-mac-opensource-src-4.5.3/lib -lz -framework SystemConfiguration -lssl -lcrypto -framework QtCore
>> Undefined symbols:
>> "_CFArrayGetValueAtIndex", referenced from:
>> macQueryInternal(QNetworkProxyQuery const&) in qnetworkproxy_mac.o
>> "_CFArrayGetCount", referenced from:
>> macQueryInternal(QNetworkProxyQuery const&) in qnetworkproxy_mac.o
>> "_CFNumberGetValue", referenced from:
>> proxyFromDictionary(__CFDictionary const*, QNetworkProxy::ProxyType, __CFString const*, __CFString const*, __CFString const*)in qnetworkproxy_mac.o
>> proxyFromDictionary(__CFDictionary const*, QNetworkProxy::ProxyType, __CFString const*, __CFString const*, __CFString const*)in qnetworkproxy_mac.o
>> macQueryInternal(QNetworkProxyQuery const&) in qnetworkproxy_mac.o
>> macQueryInternal(QNetworkProxyQuery const&) in qnetworkproxy_mac.o
>> "_CFDictionaryGetValue", referenced from:
>> proxyFromDictionary(__CFDictionary const*, QNetworkProxy::ProxyType, __CFString const*, __CFString const*, __CFString const*)in qnetworkproxy_mac.o
>> proxyFromDictionary(__CFDictionary const*, QNetworkProxy::ProxyType, __CFString const*, __CFString const*, __CFString const*)in qnetworkproxy_mac.o
>> proxyFromDictionary(__CFDictionary const*, QNetworkProxy::ProxyType, __CFString const*, __CFString const*, __CFString const*)in qnetworkproxy_mac.o
>> macQueryInternal(QNetworkProxyQuery const&) in qnetworkproxy_mac.o
>> macQueryInternal(QNetworkProxyQuery const&) in qnetworkproxy_mac.o
>> macQueryInternal(QNetworkProxyQuery const&) in qnetworkproxy_mac.o
>> macQueryInternal(QNetworkProxyQuery const&) in qnetworkproxy_mac.o
>> ld: symbol(s) not found
>> collect2: ld returned 1 exit status
>> make[2]: *** [../../lib/QtNetwork.framework/QtNetwork_debug] Error 1
>> make[1]: *** [debug-all] Error 2
>> make: *** [sub-network-make_default-ordered] Error 2
>>
>> Error: The following dependencies failed to build: automoc qt4-mac kdebase4-runtime kdelibs4 aspell texinfo lzmautils aspell-dict-en bzip2 cyrus-sasl2 enchant glib2 hunspell flex giflib xorg-libX11 groff xorg-bigreqsproto xorg-inputproto xorg-kbproto xorg-libXau xorg-xproto xorg-libXdmcp xorg-util-macros xorg-xcmiscproto xorg-xextproto xorg-xf86bigfontproto xorg-xtrans xorg-libsm xorg-libice gmake jasper libart_lgpl openexr ilmbase gsed pcre shared-mime-info intltool gnome-common p5-getopt-long p5-pathtools p5-scalar-list-utils p5-xml-parser libxml2 soprano clucene redland curl db46 libxslt raptor rasqal strigi kdelibs4-experimental kdepimlibs4 akonadi boost boost-jam gpgme gnupg libgpg-error pth libical openldap db44 oxygen-icons qimageblitz
>> Error: Status 1 encountered during processing.
>>
>>
>> Any ideas?
>>
>> Thanks,
>>
>> Muz
>> _______________________________________________
>> kde-mac at kde.org
>> List Information: https://mail.kde.org/mailman/listinfo/kde-mac
>> KDE/Mac Information: http://techbase.kde.org/index.php?title=Projects/KDE_on_Mac_OS_X
>>
>>
> _______________________________________________
> kde-mac at kde.org
> List Information: https://mail.kde.org/mailman/listinfo/kde-mac
> KDE/Mac Information: http://techbase.kde.org/index.php?title=Projects/KDE_on_Mac_OS_X
More information about the kde-mac
mailing list