[KDE/Mac] Trying to compile Kile on MacOS 10.4.11: Failed at apple-gcc42

Janus janus at rtfm.org.ar
Sun Mar 1 12:51:37 CET 2009


>> Are you sure there is an apple-gcc42 for Tiger in macports? Because it
> As sure as I am that the port you listed below is the one from
> macports :-)

Ok

>> seems I only have the one I downloaded from the manifesto.
> The one you downloaded would not be in macports (unless you manually
> placed it in the correct location)
> To build the port you downloaded you would 'cd' into the directory
> containing your downloaded Portfile and then do 'sudo port install'

Ok, what I've did was to create the add a local repository to
sources.conf, run the portindex in the new repository's folder, and
then do a sync. Then I installed with sudo port install apple-gcc42. I
followed the instructions at
http://guide.macports.org/#development.local-repositories

I will try, just in case, in the way you mention, because I got a new
error now. Should I?

The error I got was compiling qt4-mac:, and here is the complete
output (after a second execution, so there are a lot of thing already
compiled):

$ sudo port -v install qt4-mac
--->  Building qt4-mac
cd src/tools/moc/ && make -f Makefile
make[1]: Nothing to be done for `first'.
cd src/tools/rcc/ && make -f Makefile
make[1]: Nothing to be done for `first'.
cd src/tools/uic/ && make -f Makefile
make[1]: Nothing to be done for `first'.
cd src/corelib/ && make -f Makefile
make -f Makefile.Debug all
make[2]: Nothing to be done for `all'.
make -f Makefile.Release all
make[2]: Nothing to be done for `all'.
cd src/xml/ && make -f Makefile
make -f Makefile.Debug all
make[2]: Nothing to be done for `all'.
make -f Makefile.Release all
make[2]: Nothing to be done for `all'.
cd src/network/ && make -f Makefile
make -f Makefile.Debug all
make[2]: Nothing to be done for `all'.
make -f Makefile.Release all
make[2]: Nothing to be done for `all'.
cd src/gui/ && make -f Makefile
make -f Makefile.Debug all
make[2]: Nothing to be done for `all'.
make -f Makefile.Release all
make[2]: Nothing to be done for `all'.
cd src/sql/ && make -f Makefile
make -f Makefile.Debug all
make[2]: Nothing to be done for `all'.
make -f Makefile.Release all
make[2]: Nothing to be done for `all'.
cd src/script/ && make -f Makefile
make -f Makefile.Debug all
make[2]: Nothing to be done for `all'.
make -f Makefile.Release all
make[2]: Nothing to be done for `all'.
cd src/testlib/ && make -f Makefile
make -f Makefile.Debug all
make[2]: Nothing to be done for `all'.
make -f Makefile.Release all
make[2]: Nothing to be done for `all'.
cd src/qt3support/ && make -f Makefile
make -f Makefile.Debug all
make[2]: Nothing to be done for `all'.
make -f Makefile.Release all
make[2]: Nothing to be done for `all'.
cd src/dbus/ && make -f Makefile
make -f Makefile.Debug all
make[2]: Nothing to be done for `all'.
make -f Makefile.Release all
make[2]: Nothing to be done for `all'.
cd src/tools/uic3/ && make -f Makefile
make[1]: Nothing to be done for `first'.
cd src/opengl/ && make -f Makefile
make -f Makefile.Debug all
make[2]: Nothing to be done for `all'.
make -f Makefile.Release all
make[2]: Nothing to be done for `all'.
cd src/xmlpatterns/ && make -f Makefile
make -f Makefile.Debug all
make[2]: Nothing to be done for `all'.
make -f Makefile.Release all
make[2]: Nothing to be done for `all'.
cd src/phonon/ && make -f Makefile
make -f Makefile.Debug all
make[2]: Nothing to be done for `all'.
make -f Makefile.Release all
make[2]: Nothing to be done for `all'.
cd src/svg/ && make -f Makefile
make -f Makefile.Debug all
make[2]: Nothing to be done for `all'.
make -f Makefile.Release all
make[2]: Nothing to be done for `all'.
cd src/3rdparty/webkit/WebCore/ && make -f Makefile
make -f Makefile.Debug all
/usr/bin/g++-4.0 -c -O2 -isystem/opt/local/include
-I/opt/local/include/mysql5/mysql -I/opt/local/include/postgresql83
-fconstant-cfstrings -Wreturn-type -fno-strict-aliasing
-I/opt/local/include -g -fvisibility=hidden
-fvisibility-inlines-hidden -fPIC -DQT_SHARED -DBUILDING_QT__=1
-DUSE_SYSTEM_MALLOC -DNDEBUG -DQT_NO_CAST_TO_ASCII
-DQT_ASCII_CAST_WARNINGS -DQT3_SUPPORT -DQT_MOC_COMPAT -DBUILD_WEBKIT
-DENABLE_ICONDATABASE=1 -DENABLE_XPATH=1 -DENABLE_SVG=1
-DWTF_CHANGES=1 -DBUILDING_QT__ -DWTF_USE_JAVASCRIPTCORE_BINDINGS=1
-DQT_GUI_LIB -DQT_NETWORK_LIB -DQT_CORE_LIB -D_LARGEFILE64_SOURCE
-D_LARGEFILE_SOURCE -I../../../../mkspecs/macx-g++ -I.
-I../../../../include/QtCore -I../../../../include/QtCore
-I../../../../include/QtNetwork -I../../../../include/QtNetwork
-I../../../../include/QtGui -I../../../../include/QtGui
-I../../../../include -I../WebKit/qt/Api -I../JavaScriptCore
-I../JavaScriptCore/kjs -I../JavaScriptCore/bindings
-I../JavaScriptCore/bindings/c -I../JavaScriptCore/wtf
-I../JavaScriptCore/ForwardingHeaders -I. -IForwardingHeaders
-Iplatform -Iplatform/network -Iplatform/graphics -Iloader -Ipage
-Icss -Idom -Ibridge -Iediting -Irendering -Ihistory -Ixml -Ihtml
-Iplugins -I../../../../include/QtWebKit -I.rcc/debug-shared
-Igenerated -Itmp -I../JavaScriptCore -I../JavaScriptCore/kjs
-I../JavaScriptCore/bindings -I../JavaScriptCore/bindings/c
-I../JavaScriptCore/wtf -I../JavaScriptCore/bindings/qt
-I../JavaScriptCore/pcre
-I/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_aqua_qt4-mac/work/qt-mac-opensource-src-4.4.3/src/3rdparty/webkit/WebKitBuild/Debug/JavaScriptCore/kjs/tmp
-Iplatform/qt -Iplatform/network/qt -Iplatform/graphics/qt
-Iplatform/graphics/svg/qt -Iloader/qt -Ipage/qt
-I../WebKit/qt/WebCoreSupport -I../WebKit/qt/Api -I.
-IForwardingHeaders -I../../webkit -I../JavaScriptCore/kjs
-I../JavaScriptCore/bindings -Iplatform -Iplatform/network
-Iplatform/graphics -Iplatform/graphics/svg
-Iplatform/graphics/svg/filters -Iloader -Iloader/icon -Icss -Idom
-Ipage -Ibridge -Iediting -Irendering -Ihistory -Ixml -Ihtml
-Ibindings/js -Iksvg2 -Iksvg2/css -Iksvg2/svg -Iksvg2/misc
-Iksvg2/events -Iplatform/image-decoders -I.moc/debug-shared
-I.uic/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.4.3/lib
-o .obj/debug-shared/JSPluginCustom.o bindings/js/JSPluginCustom.cpp
bindings/js/JSPluginCustom.cpp: In static member function 'static bool
WebCore::JSPlugin::canGetItemsForName(KJS::ExecState*,
WebCore::Plugin*, const KJS::Identifier&)':
bindings/js/JSPluginCustom.cpp:31: error: invalid use of undefined
type 'struct WebCore::Plugin'
generated/JSPlugin.h:28: error: forward declaration of 'struct WebCore::Plugin'
bindings/js/JSPluginCustom.cpp: In static member function 'static
KJS::JSValue* WebCore::JSPlugin::nameGetter(KJS::ExecState*,
KJS::JSObject*, const KJS::Identifier&, const KJS::PropertySlot&)':
bindings/js/JSPluginCustom.cpp:37: error: invalid use of undefined
type 'struct WebCore::Plugin'
generated/JSPlugin.h:28: error: forward declaration of 'struct WebCore::Plugin'
make[2]: *** [.obj/debug-shared/JSPluginCustom.o] Error 1
make[1]: *** [debug-all] Error 2
make: *** [sub-webkit-make_default-ordered] Error 2
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.4.3"
&& make first " returned error 2
Command output: make[2]: Nothing to be done for `all'.
make -f Makefile.Release all
make[2]: Nothing to be done for `all'.
cd src/xmlpatterns/ && make -f Makefile
make -f Makefile.Debug all
make[2]: Nothing to be done for `all'.
make -f Makefile.Release all
make[2]: Nothing to be done for `all'.
cd src/phonon/ && make -f Makefile
make -f Makefile.Debug all
make[2]: Nothing to be done for `all'.
make -f Makefile.Release all
make[2]: Nothing to be done for `all'.
cd src/svg/ && make -f Makefile
make -f Makefile.Debug all
make[2]: Nothing to be done for `all'.
make -f Makefile.Release all
make[2]: Nothing to be done for `all'.
cd src/3rdparty/webkit/WebCore/ && make -f Makefile
make -f Makefile.Debug all
/usr/bin/g++-4.0 -c -O2 -isystem/opt/local/include
-I/opt/local/include/mysql5/mysql -I/opt/local/include/postgresql83
-fconstant-cfstrings -Wreturn-type -fno-strict-aliasing
-I/opt/local/include -g -fvisibility=hidden
-fvisibility-inlines-hidden -fPIC -DQT_SHARED -DBUILDING_QT__=1
-DUSE_SYSTEM_MALLOC -DNDEBUG -DQT_NO_CAST_TO_ASCII
-DQT_ASCII_CAST_WARNINGS -DQT3_SUPPORT -DQT_MOC_COMPAT -DBUILD_WEBKIT
-DENABLE_ICONDATABASE=1 -DENABLE_XPATH=1 -DENABLE_SVG=1
-DWTF_CHANGES=1 -DBUILDING_QT__ -DWTF_USE_JAVASCRIPTCORE_BINDINGS=1
-DQT_GUI_LIB -DQT_NETWORK_LIB -DQT_CORE_LIB -D_LARGEFILE64_SOURCE
-D_LARGEFILE_SOURCE -I../../../../mkspecs/macx-g++ -I.
-I../../../../include/QtCore -I../../../../include/QtCore
-I../../../../include/QtNetwork -I../../../../include/QtNetwork
-I../../../../include/QtGui -I../../../../include/QtGui
-I../../../../include -I../WebKit/qt/Api -I../JavaScriptCore
-I../JavaScriptCore/kjs -I../JavaScriptCore/bindings
-I../JavaScriptCore/bindings/c -I../JavaScriptCore/wtf
-I../JavaScriptCore/ForwardingHeaders -I. -IForwardingHeaders
-Iplatform -Iplatform/network -Iplatform/graphics -Iloader -Ipage
-Icss -Idom -Ibridge -Iediting -Irendering -Ihistory -Ixml -Ihtml
-Iplugins -I../../../../include/QtWebKit -I.rcc/debug-shared
-Igenerated -Itmp -I../JavaScriptCore -I../JavaScriptCore/kjs
-I../JavaScriptCore/bindings -I../JavaScriptCore/bindings/c
-I../JavaScriptCore/wtf -I../JavaScriptCore/bindings/qt
-I../JavaScriptCore/pcre
-I/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_aqua_qt4-mac/work/qt-mac-opensource-src-4.4.3/src/3rdparty/webkit/WebKitBuild/Debug/JavaScriptCore/kjs/tmp
-Iplatform/qt -Iplatform/network/qt -Iplatform/graphics/qt
-Iplatform/graphics/svg/qt -Iloader/qt -Ipage/qt
-I../WebKit/qt/WebCoreSupport -I../WebKit/qt/Api -I.
-IForwardingHeaders -I../../webkit -I../JavaScriptCore/kjs
-I../JavaScriptCore/bindings -Iplatform -Iplatform/network
-Iplatform/graphics -Iplatform/graphics/svg
-Iplatform/graphics/svg/filters -Iloader -Iloader/icon -Icss -Idom
-Ipage -Ibridge -Iediting -Irendering -Ihistory -Ixml -Ihtml
-Ibindings/js -Iksvg2 -Iksvg2/css -Iksvg2/svg -Iksvg2/misc
-Iksvg2/events -Iplatform/image-decoders -I.moc/debug-shared
-I.uic/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.4.3/lib
-o .obj/debug-shared/JSPluginCustom.o bindings/js/JSPluginCustom.cpp
bindings/js/JSPluginCustom.cpp: In static member function 'static bool
WebCore::JSPlugin::canGetItemsForName(KJS::ExecState*,
WebCore::Plugin*, const KJS::Identifier&)':
bindings/js/JSPluginCustom.cpp:31: error: invalid use of undefined
type 'struct WebCore::Plugin'
generated/JSPlugin.h:28: error: forward declaration of 'struct WebCore::Plugin'
bindings/js/JSPluginCustom.cpp: In static member function 'static
KJS::JSValue* WebCore::JSPlugin::nameGetter(KJS::ExecState*,
KJS::JSObject*, const KJS::Identifier&, const KJS::PropertySlot&)':
bindings/js/JSPluginCustom.cpp:37: error: invalid use of undefined
type 'struct WebCore::Plugin'
generated/JSPlugin.h:28: error: forward declaration of 'struct WebCore::Plugin'
make[2]: *** [.obj/debug-shared/JSPluginCustom.o] Error 1
make[1]: *** [debug-all] Error 2
make: *** [sub-webkit-make_default-ordered] Error 2

Warning: the following items did not execute (for qt4-mac):
org.macports.activate org.macports.build org.macports.destroot
org.macports.install
Error: Status 1 encountered during processing.


-- 
Alejandro Díaz-Caro
PhD Student
Laboratoire d'Informatique de Grenoble
http://membres-liglab.imag.fr/diazcaro


More information about the kde-mac mailing list