[webkit-dev] Error building Webkit Gtk on MacOSX

Zhe Su james.su at gmail.com
Sat May 9 04:58:34 PDT 2009


When building Webkit Gtk (latest svn) on MacOSX, I got following error:

/opt/local/bin/gmkdir -p ./.deps/DerivedSources
./doltlibtool --tag=CXX   --mode=compile g++ -DHAVE_CONFIG_H -I.
-DWTF_USE_ICU_UNICODE=1 -DBUILDING_CAIRO__=1 -DBUILDING_GTK__=1
-DWTF_CHANGES -DPACKAGE_LOCALE_DIR=\"/opt/local/share/locale\"  -DXP_UNIX
-DNDEBUG    -I./WebCore -I./WebCore/bindings/js -I./WebCore/bridge
-I./WebCore/bridge/c -I./WebCore/css -I./WebCore/dom -I./WebCore/editing
-I./WebCore/history -I./WebCore/html -I./WebCore/inspector
-I./WebCore/loader -I./WebCore/loader/appcache -I./WebCore/loader/archive
-I./WebCore/loader/icon -I./WebCore/page -I./WebCore/page/animation
-I./WebCore/platform -I./WebCore/platform/animation
-I./WebCore/platform/graphics -I./WebCore/platform/graphics/filters
-I./WebCore/platform/graphics/transforms -I./WebCore/platform/image-decoders
-I./WebCore/platform/image-decoders/bmp
-I./WebCore/platform/image-decoders/gif
-I./WebCore/platform/image-decoders/ico
-I./WebCore/platform/image-decoders/jpeg
-I./WebCore/platform/image-decoders/png
-I./WebCore/platform/image-decoders/xbm -I./WebCore/platform/network
-I./WebCore/platform/text -I./WebCore/plugins -I./WebCore/rendering
-I./WebCore/rendering/style -I./WebCore/workers -I./WebCore/xml
-I./WebCore/bindings/js -DWTF_USE_SOUP=1 -I./WebCore/platform/network/soup
-DENABLE_JAVASCRIPT_DEBUGGER=1 -DENABLE_OFFLINE_WEB_APPLICATIONS=1
-DENABLE_DASHBOARD_SUPPORT=1 -DENABLE_DATABASE=1 -I./WebCore/platform/sql
-I./WebCore/storage -DENABLE_DOM_STORAGE=1 -I./WebCore/storage
-DENABLE_ICONDATABASE=1 -DENABLE_VIDEO=1  -DENABLE_XPATH=1 -DENABLE_XSLT=1
-DENABLE_WORKERS=1   -DENABLE_SVG=1 -I\./WebCore/svg
-I\./WebCore/svg/animation -I\./WebCore/svg/graphics
-I\./WebCore/svg/graphics/filters -DENABLE_SVG_USE=1
-DENABLE_SVG_FOREIGN_OBJECT=1 -DENABLE_SVG_FONTS=1  -DENABLE_SVG_AS_IMAGE=1
-DENABLE_SVG_ANIMATION=1 -DDATA_DIR=\"/opt/local/share\" -I./JavaScriptCore
-I./JavaScriptCore/ForwardingHeaders -I./JavaScriptCore/parser
-I./JavaScriptCore/wtf -I./DerivedSources -I./JavaScriptCore/API
-I./JavaScriptCore/ForwardingHeaders -I./JavaScriptCore/interpreter
-I./JavaScriptCore/bytecode -I./JavaScriptCore/bytecompiler
-I./JavaScriptCore/debugger -I./JavaScriptCore/jit -I./JavaScriptCore/pcre
-I./JavaScriptCore/profiler -I./JavaScriptCore/runtime
-I./JavaScriptCore/wrec -I./JavaScriptCore/jit -I./JavaScriptCore/assembler
-I./JavaScriptCore/wtf/unicode -I./JavaScriptCore/yarr
-I./JavaScriptCore/pcre -I./JavaScriptCore/parser
-I./JavaScriptCore/runtime  -I./WebCore/loader/gtk -I./WebCore/page/gtk
-I./WebCore/platform/graphics/cairo -I./WebCore/platform/graphics/gtk
-I./WebCore/platform/gtk -DUSE_FREETYPE=1  -I./WebCore/svg/graphics/cairo
-I/opt/local/include -fvisibility-inlines-hidden -fno-rtti
-fno-strict-aliasing -Wall -W -Wcast-align -Wchar-subscripts -Wreturn-type
-Wformat -Wformat-security -Wno-format-y2k -Wundef
-Wmissing-format-attribute -Wpointer-arith -Wwrite-strings
-Wno-unused-parameter -Wno-parentheses -fno-exceptions -fvisibility=hidden
-D_REENTRANT -I/opt/local/include/glib-2.0 -I/opt/local/lib/glib-2.0/include
-I/opt/local/include   -I./JavaScriptCore/icu -I./WebCore/icu
-I/opt/local/include/libxml2   -I/opt/local/include/cairo
-I/opt/local/include/pixman-1 -I/opt/local/include/freetype2
-I/opt/local/include -I/opt/local/include/libpng12
-I/opt/local/include/pango-1.0 -I/opt/local/include/glib-2.0
-I/opt/local/lib/glib-2.0/include -I/opt/local/include
-I/opt/local/include/freetype2   -I/opt/local/include/gtk-2.0
-I/opt/local/lib/gtk-2.0/include -I/opt/local/include/atk-1.0
-I/opt/local/include/cairo -I/opt/local/include/pango-1.0
-I/opt/local/include -I/opt/local/include/glib-2.0
-I/opt/local/lib/glib-2.0/include -I/opt/local/include/pixman-1
-I/opt/local/include/freetype2 -I/opt/local/include/libpng12
-I/opt/local/include   -I/opt/local/include/libsoup-2.4
-I/opt/local/include/libxml2 -I/opt/local/include
-I/opt/local/include/glib-2.0 -I/opt/local/lib/glib-2.0/include
-I/opt/local/include/cairo -I/opt/local/include/freetype2
-I/opt/local/include -I/opt/local/include/pixman-1
-I/opt/local/include/libpng12   -I/opt/local/include   -D_REENTRANT
-I/opt/local/include/gstreamer-0.10 -I/opt/local/include/glib-2.0
-I/opt/local/lib/glib-2.0/include -I/opt/local/include
-I/opt/local/include/libxml2   -I/opt/local/include
-I/opt/local/include/libxml2     -I/opt/local/include/enchant
-I/opt/local/include/glib-2.0 -I/opt/local/lib/glib-2.0/include
-I/opt/local/include    -O2 -MT
WebCore/plugins/gtk/libWebCore_la-PluginViewGtk.lo -MD -MP -MF
WebCore/plugins/gtk/.deps/libWebCore_la-PluginViewGtk.Tpo -c -o
WebCore/plugins/gtk/libWebCore_la-PluginViewGtk.lo `test -f
'WebCore/plugins/gtk/PluginViewGtk.cpp' || echo
'./'`WebCore/plugins/gtk/PluginViewGtk.cpp
/opt/local/include/X11/Intrinsic.h:158: error: conflicting declaration
‘typedef char Boolean’
/System/Library/Frameworks/CoreServices.framework/Headers/../Frameworks/CarbonCore.framework/Headers/MacTypes.h:279:
error: ‘Boolean’ has a previous declaration as ‘typedef unsigned char
Boolean’
make[1]: *** [WebCore/plugins/gtk/libWebCore_la-PluginViewGtk.lo] Error 1
make: *** [all] Error 2
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.webkit.org/pipermail/webkit-dev/attachments/20090509/56a10967/attachment.html>


More information about the webkit-dev mailing list