#23119: kdelibs3-3.5.10-3 make failed ----------------------------------------+----------------------------------- Reporter: cardcaptorstacey@… | Owner: macports-tickets@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 1.8.2 Keywords: | Port: kdelibs3 ----------------------------------------+----------------------------------- Comment(by takanori@…): Seems that your Xcode is not the latest one. {{{ $ diff -u ~/Downloads/config.log config.log | less ... @@ -76,7 +82,7 @@ configure:3502: result: /usr/bin/gcc-4.2 configure:3734: checking for C compiler version configure:3742: /usr/bin/gcc-4.2 --version >&5 -i686-apple-darwin10-gcc-4.2.1 (GCC) 4.2.1 (Apple Inc. build 5646) +i686-apple-darwin10-gcc-4.2.1 (GCC) 4.2.1 (Apple Inc. build 5646) (dot 1) Copyright (C) 2007 Free Software Foundation, Inc. This is free software; see the source for copying conditions. There is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. ... }}} I recommend you to update it just in case. (to 3.2.1) And, {{{ [make.log] ... 76% compiling /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_kde_kdelibs3/work/kdelibs-3.5 .10/kinit/autostart.cpp /usr/bin/g++-4.2 -DHAVE_CONFIG_H -I./kinit -I/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_port s_kde_kdelibs3/work/kdelibs-3.5.10/kinit -I. -I/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_po rts_kde_kdelibs3/work/kdelibs-3.5.10/kinit/../libltdl/ -I/opt/local/include/freetype2 -I/opt/local/include -I/opt/local/include -I/opt/loc al/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_kde_kdelibs3/work/kdelibs-3.5.10/dcop -I/opt/local/ var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_kde_kdelibs3/work/kdelibs-3.5.10/libltdl -I/opt/local/ var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_kde_kdelibs3/work/kdelibs-3.5.10/kdefx -I./kdecore -I/ opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_kde_kdelibs3/work/kdelibs-3.5.10/kdecore -I/ opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_kde_kdelibs3/work/kdelibs-3.5.10/kdecore/net work -I/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_kde_kdelibs3/work/kdelibs-3.5.10/kde ui -I/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_kde_kdelibs3/work/kdelibs-3.5.10/kio - I/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_kde_kdelibs3/work/kdelibs-3.5.10/kio/kio - I/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_kde_kdelibs3/work/kdelibs-3.5.10/kio/kfile -I/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_kde_kdelibs3/work/kdelibs-3.5.10 -I/opt/ local/lib/qt3/include -I/opt/local/include -I/opt/local/include -DQT_THREAD_SUPPORT -I/usr/include/gssapi -I/opt/local/include/freetype2 - I/opt/local/include -fno-common -no-cpp-precomp -DMACOSX -DARTS_NO_ALARM -I/opt/local/include -Wno-long-long -Wundef -Wall -W -Wpointer-ar ith -Os -Os -fPIC -Wno-non-virtual-dtor -fno-exceptions -fno-check-new -fno-common -fvisibility=hidden -fvisibility-inlines-hidden -DQT_CL EAN_NAMESPACE -DQT_NO_ASCII_CAST -DQT_NO_STL -DQT_NO_COMPAT -DQT_NO_TRANSLATION -fPIC -DPIC -c /opt/local/var/macports/build/_opt_local_va r_macports_sources_rsync.macports.org_release_ports_kde_kdelibs3/work/kdelibs-3.5.10/kinit/autostart.cpp -o ./kinit/.libs/autostart.o -Wp, -MD,./kinit/.deps/autostart.TUlo In file included from /opt/local/include/kdecore_export.h:24, from /opt/local/include/kconfigbase.h:27, from /opt/local/include/kconfig.h:27, from /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_kde_kdelibs3/work/kde libs-3.5.10/kinit/autostart.cpp:25: /opt/local/include/kdemacros.h:162:29: error: QtCore/qglobal.h: No such file or directory ... }}} That's odd. Why do you have kconfig.h in /opt/local/include before installing kdelibs3? Moreover, why QtCore/qglobal.h is in here? This file is not a part of qt3, but qt4. Have you installed kde4 or something? If so, please uninstall all of them before building kdelibs3. -- Ticket URL: <http://trac.macports.org/ticket/23119#comment:6> MacPorts <http://www.macports.org/> Ports system for Mac OS