And I do have 'glib-mkenums ' in usr/bin Here are the error I get. I am building using this 'WebKitTools/Scripts/build-webkit --gtk --debug'
WebKit was configured with the following options: Build configuration: Enable debugging (slow) : yes Enable GCC build optimization : no Code coverage support : no Unicode backend : icu HTTP backend : curl Font backend : freetype Optimized memory allocator : no Features: JIT compilation : yes Dashboard support : yes HTML5 offline web applications support : yes HTML5 client-side session and persistent storage support : yes HTML5 client-side database storage support : yes HTML5 video element support : no Icon database support : yes SVG support : yes SVG animation support : yes SVG filters support : no SVG fonts support : yes SVG foreign object support : yes SVG as image support : yes SVG use element support : yes XPATH support : yes XSLT support : yes WML support : no Web Workers support : yes Geolocation support : yes GTK+ configuration: GDK target : x11 Hildon UI extensions : no (cd ../.. \ && glib-mkenums \ --fhead "#include <config.h>\n" \ --fhead "#include <glib-object.h>\n" \ --fhead "#include \"./WebKit/gtk/webkit/webkitenumtypes.h\"\n\n" \ --fhead "extern \"C\" {\n\n" \ --fprod "\n/* enumerations from \"@filen...@\" */" \ --vhead "static const g...@type@Value _...@enum_name@_values[] = {" \ --vprod " { @VALUENAME@, \"@valuen...@\", \"@valuen...@\" }," \ --vtail " { 0, NULL, NULL }\n};\n\n" \ --vtail "GType @enum_n...@_get_type(void)\n{\n" \ --vtail " static GType type = 0;\n\n" \ --vtail " if (!type)\n" \ --vtail " type = g...@type@_register_static(\"@enumn...@\", _...@enum_name@_values);\n\n" \ --vtail " return type;\n}\n\n" \ --ftail "}\n" \ WebKit/gtk/webkit/webkit.h WebKit/gtk/webkit/webkitdefines.h WebKit/gtk/webkit/webkitnetworkrequest.h WebKit/gtk/webkit/webkitversion.h WebKit/gtk/webkit/webkitwebbackforwardlist.h WebKit/gtk/webkit/webkitwebframe.h WebKit/gtk/webkit/webkitwebhistoryitem.h WebKit/gtk/webkit/webkitwebinspector.h WebKit/gtk/webkit/webkitwebsettings.h WebKit/gtk/webkit/webkitwebwindowfeatures.h WebKit/gtk/webkit/webkitwebview.h | \ sed 's,web_kit,webkit,' \ ) > xgen-gtc \ && cp xgen-gtc DerivedSources/webkitenumtypes.cpp \ && rm -f xgen-gtc Can't open WebKit/gtk/webkit/webkitversion.h: No such file or directory at /usr/bin/glib-mkenums line 273. (cd ../.. \ && glib-mkenums \ --fhead "#ifndef WEBKIT_ENUM_TYPES_H\n" \ --fhead "#define WEBKIT_ENUM_TYPES_H\n\n" \ --fhead "#include <glib-object.h>\n\n" \ --fhead "#include <webkit/webkitdefines.h>\n\n" \ --fhead "G_BEGIN_DECLS\n\n" \ --ftail "G_END_DECLS\n\n" \ --ftail "#endif\n" \ --fprod "#include <@filename@>\n\n" \ --eprod "#define webkit_ty...@enumshort@ @enum_n...@_get_type()\n\n" \ --eprod "WEBKIT_API gtyp...@enum_name@_get_type(void);\n\n" \ WebKit/gtk/webkit/webkit.h WebKit/gtk/webkit/webkitdefines.h WebKit/gtk/webkit/webkitnetworkrequest.h WebKit/gtk/webkit/webkitversion.h WebKit/gtk/webkit/webkitwebbackforwardlist.h WebKit/gtk/webkit/webkitwebframe.h WebKit/gtk/webkit/webkitwebhistoryitem.h WebKit/gtk/webkit/webkitwebinspector.h WebKit/gtk/webkit/webkitwebsettings.h WebKit/gtk/webkit/webkitwebwindowfeatures.h WebKit/gtk/webkit/webkitwebview.h | \ sed 's,WebKit/gtk/,,' | \ sed 's,web_kit,webkit,' | \ sed 's,WEBKIT_TYPE_KIT,WEBKIT_TYPE,' \ ) > xgen-gth \ && (cmp -s xgen-gth WebKit/gtk/webkit/webkitenumtypes.h || cp xgen-gth WebKit/gtk/webkit/webkitenumtypes.h) \ && rm -f xgen-gth \ && echo timestamp > stamp-webkitenumtypes.h Can't open WebKit/gtk/webkit/webkitversion.h: No such file or directory at /usr/bin/glib-mkenums line 273. make all-am make[1]: Entering directory `/media/olddata/WebKit/WebKitBuild/Debug' mkdir -p ./.deps/DerivedSources ./doltlibtool --tag=CXX --mode=compile g++ -DHAVE_CONFIG_H -I. -I../.. -DWTF_USE_ICU_UNICODE=1 -DBUILDING_CAIRO__=1 -DBUILDING_GTK__=1 -DWTF_CHANGES -DUSE_SYSTEM_MALLOC -DXP_UNIX -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/graphics -I../../WebCore/platform/graphics/filters -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/xml -I./WebCore/bindings/js -DWTF_USE_CURL=1 -I../../WebCore/platform/network/curl -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_XPATH=1 -DENABLE_XSLT=1 -DENABLE_WORKERS=1 -DENABLE_GEOLOCATION=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=\"/usr/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/pcre -I./JavaScriptCore/parser -I./JavaScriptCore/runtime -DG_DISABLE_DEPRECATED -DGDK_PIXBUF_DISABLE_DEPRECATED -DGDK_DISABLE_DEPRECATED -DGTK_DISABLE_DEPRECATED -DPANGO_DISABLE_DEPRECATED -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 -DBUILDING_WEBKIT -I../../WebKit/gtk -I../../WebKit/gtk/WebCoreSupport -I../../WebKit/gtk/webkit -I./WebKit/gtk/webkit -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 -pthread -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -D_REENTRANT -I/usr/include -I/usr/include/libxml2 -I/usr/include/cairo -I/usr/include/pixman-1 -I/usr/include/freetype2 -I/usr/include/libpng12 -I/usr/include/pango-1.0 -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/include/gtk-2.0 -I/usr/lib/gtk-2.0/include -I/usr/include/atk-1.0 -I/usr/include/cairo -I/usr/include/pango-1.0 -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/include/pixman-1 -I/usr/include/freetype2 -I/usr/include/libpng12 -I/usr/include/cairo -I/usr/include/freetype2 -I/usr/include/pixman-1 -I/usr/include/libpng12 -I/usr/include/pango-1.0 -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/include/libxml2 -g -O0 -MT WebKit/gtk/WebCoreSupport/libwebkit_1_0_la-ChromeClientGtk.lo -MD -MP -MF WebKit/gtk/WebCoreSupport/.deps/libwebkit_1_0_la-ChromeClientGtk.Tpo -c -o WebKit/gtk/WebCoreSupport/libwebkit_1_0_la-ChromeClientGtk.lo `test -f 'WebKit/gtk/WebCoreSupport/ChromeClientGtk.cpp' || echo '../../'`WebKit/gtk/WebCoreSupport/ChromeClientGtk.cpp In file included from ../../WebCore/config.h:25, from ../../WebKit/gtk/WebCoreSupport/ChromeClientGtk.cpp:23: ../../JavaScriptCore/wtf/Platform.h:454:2: error: #error Please define one of the JIT_STUB_ARGUMENT settings. ../../JavaScriptCore/wtf/Platform.h:458:18: warning: missing terminating ' character In file included from ../../JavaScriptCore/wtf/FastMalloc.h:24, from ../../WebCore/config.h:76, from ../../WebKit/gtk/WebCoreSupport/ChromeClientGtk.cpp:23: ../../JavaScriptCore/wtf/Platform.h:458:18: warning: missing terminating ' character In file included from ../../WebCore/rendering/RenderObject.h:31, from ../../WebCore/rendering/RenderLayer.h:48, from ../../WebCore/page/Frame.h:33, from ../../WebKit/gtk/webkit/webkitprivate.h:40, from ../../WebKit/gtk/WebCoreSupport/ChromeClientGtk.cpp:37: ../../WebCore/rendering/style/RenderStyle.h:28:29: error: AffineTransform.h: No such file or directory ../../WebCore/rendering/style/RenderStyle.h:29:27: error: AnimationList.h: No such file or directory In file included from ../../WebCore/rendering/style/RenderStyle.h:67, from ../../WebCore/rendering/RenderObject.h:31, from ../../WebCore/rendering/RenderLayer.h:48, from ../../WebCore/page/Frame.h:33, from ../../WebKit/gtk/webkit/webkitprivate.h:40, from ../../WebKit/gtk/WebCoreSupport/ChromeClientGtk.cpp:37: ../../WebCore/rendering/style/StyleTransformData.h:29:33: error: TransformOperations.h: No such file or directory In file included from ../../WebCore/rendering/RenderObject.h:31, from ../../WebCore/rendering/RenderLayer.h:48, from ../../WebCore/page/Frame.h:33, from ../../WebKit/gtk/webkit/webkitprivate.h:40, from ../../WebKit/gtk/WebCoreSupport/ChromeClientGtk.cpp:37: ../../WebCore/rendering/style/RenderStyle.h:71:28: error: TimingFunction.h: No such file or directory In file included from ../../WebCore/rendering/style/RenderStyle.h:67, from ../../WebCore/rendering/RenderObject.h:31, from ../../WebCore/rendering/RenderLayer.h:48, from ../../WebCore/page/Frame.h:33, from ../../WebKit/gtk/webkit/webkitprivate.h:40, from ../../WebKit/gtk/WebCoreSupport/ChromeClientGtk.cpp:37: ../../WebCore/rendering/style/StyleTransformData.h:46: error: 'TransformOperations' does not name a type In file included from ../../WebCore/rendering/RenderObject.h:31, from ../../WebCore/rendering/RenderLayer.h:48, from ../../WebCore/page/Frame.h:33, from ../../WebKit/gtk/webkit/webkitprivate.h:40, from ../../WebKit/gtk/WebCoreSupport/ChromeClientGtk.cpp:37: ../../WebCore/rendering/style/RenderStyle.h:624: error: ISO C++ forbids declaration of 'TransformOperations' with no type ../../WebCore/rendering/style/RenderStyle.h:624: error: expected ';' before '&' token ../../WebCore/rendering/style/RenderStyle.h:625: error: expected `;' before 'Length' ../../WebCore/rendering/style/RenderStyle.h:643: error: ISO C++ forbids declaration of 'Animation' with no type ../../WebCore/rendering/style/RenderStyle.h:643: error: expected ';' before '*' token ../../WebCore/rendering/style/RenderStyle.h:917: error: expected ',' or '...' before '&' token ../../WebCore/rendering/style/RenderStyle.h:917: error: ISO C++ forbids declaration of 'TransformOperations' with no type ../../WebCore/rendering/style/RenderStyle.h:1103: error: ISO C++ forbids declaration of 'TransformOperations' with no type ../../WebCore/rendering/style/RenderStyle.h:1103: error: expected ';' before '&' token ../../WebCore/rendering/style/RenderStyle.h:1104: error: expected `;' before 'static' ../../WebCore/rendering/style/RenderStyle.h:1115: error: 'TimingFunction' does not name a type ../../WebCore/rendering/style/RenderStyle.h: In member function 'bool WebCore::RenderStyle::hasTransform() const': ../../WebCore/rendering/style/RenderStyle.h:627: error: 'const class WebCore::StyleTransformData' has no member named 'm_operations' ../../WebCore/rendering/style/RenderStyle.h: In member function 'bool WebCore::RenderStyle::hasAnimations() const': ../../WebCore/rendering/style/RenderStyle.h:639: error: invalid use of incomplete type 'struct WebCore::AnimationList' ../../WebCore/rendering/style/StyleRareNonInheritedData.h:39: error: forward declaration of 'struct WebCore::AnimationList' ../../WebCore/rendering/style/RenderStyle.h: In member function 'bool WebCore::RenderStyle::hasTransitions() const': ../../WebCore/rendering/style/RenderStyle.h:640: error: invalid use of incomplete type 'struct WebCore::AnimationList' ../../WebCore/rendering/style/StyleRareNonInheritedData.h:39: error: forward declaration of 'struct WebCore::AnimationList' ../../WebCore/rendering/style/RenderStyle.h: In member function 'void WebCore::RenderStyle::setTransform(int)': ../../WebCore/rendering/style/RenderStyle.h:917: error: 'const class WebCore::StyleTransformData' has no member named 'm_operations' ../../WebCore/rendering/style/RenderStyle.h:917: error: 'ops' was not declared in this scope ../../WebCore/rendering/style/RenderStyle.h:917: error: 'class WebCore::StyleTransformData' has no member named 'm_operations' ../../WebCore/rendering/style/RenderStyle.h: In member function 'void WebCore::RenderStyle::inheritAnimations(const WebCore::AnimationList*)': ../../WebCore/rendering/style/RenderStyle.h:933: error: invalid use of incomplete type 'struct WebCore::AnimationList' ../../WebCore/rendering/style/StyleRareNonInheritedData.h:39: error: forward declaration of 'struct WebCore::AnimationList' ../../WebCore/rendering/style/RenderStyle.h: In member function 'void WebCore::RenderStyle::inheritTransitions(const WebCore::AnimationList*)': ../../WebCore/rendering/style/RenderStyle.h:934: error: invalid use of incomplete type 'struct WebCore::AnimationList' ../../WebCore/rendering/style/StyleRareNonInheritedData.h:39: error: forward declaration of 'struct WebCore::AnimationList' ../../JavaScriptCore/wtf/OwnPtr.h: In function 'void WTF::deleteOwnedPtr(T*) [with T = WebCore::AnimationList]': ../../JavaScriptCore/wtf/OwnPtr.h:81: instantiated from 'void WTF::OwnPtr<T>::clear() [with T = WebCore::AnimationList]' ../../WebCore/rendering/style/RenderStyle.h:925: instantiated from here ../../JavaScriptCore/wtf/OwnPtr.h:50: error: invalid application of 'sizeof' to incomplete type 'WebCore::AnimationList' ../../JavaScriptCore/wtf/OwnPtr.h:50: error: creating array with negative size ('-0x00000000000000001') ../../JavaScriptCore/wtf/OwnPtr.h:52: warning: possible problem detected in invocation of delete operator: ../../JavaScriptCore/wtf/OwnPtr.h:48: warning: 'ptr' has incomplete type ../../WebCore/rendering/style/StyleRareNonInheritedData.h:39: warning: forward declaration of 'struct WebCore::AnimationList' ../../JavaScriptCore/wtf/OwnPtr.h:52: note: neither the destructor nor the class-specific operator delete will be called, even if they are declared when the class is defined. make[1]: *** [WebKit/gtk/WebCoreSupport/libwebkit_1_0_la-ChromeClientGtk.lo] Error 1 make[1]: Leaving directory `/media/olddata/WebKit/WebKitBuild/Debug' make: *** [all] Error 2 Failed to build WebKit using 'make'! /media/olddata/WebKit> On Thu, Dec 18, 2008 at 11:37 PM, Meryl Silverburgh <silverburgh.me...@gmail.com> wrote: > Hi, > > i just check out the webkit source and try to compile it under ubuntu. > > I get this follow error: > > Can't open WebKit/gtk/webkit/webkitversion.h: No such file or > directory at /usr/bin/glib-mkenums line 273. > > But I was able to compile the webkit code when i check that out (using > git) about 2 weeks ago. But when i create a new directory and compiles > it again, it fails. > > Thank you for any pointer. > _______________________________________________ webkit-dev mailing list webkit-dev@lists.webkit.org http://lists.webkit.org/mailman/listinfo.cgi/webkit-dev