tce-load -i intltool gperf gtk2-dev icu-dev enchant-dev libsoup-dev gst-plugins-base-0.10-dev libxslt-dev gobject-introspection-dev gtk2-gir atk-gir gdk-pixbuf2-gir pango-gir libsoup-gir gsettings-desktop-schemas-dev cd webkit-1.8.3 patch -Np1 -i ../webkit_3.patch CFLAGS="-mtune=generic -Os -pipe" CXXFLAGS="-mtune=generic -Os -pipe" ./configure --prefix=/usr/local --disable-static --localstatedir=/var --enable-introspection --with-gtk=2.0 --disable-geolocation --disable-webkit2 find . -name Makefile -type f -exec sed -i 's/-O2/ /g' {} \; cpan Switch sudo ln -s /usr/local/bin/gcc /usr/bin/gcc http://webkitgtk.org/releases/webkit-1.9.6.tar.xz GEN Programs/jsc lto-wrapper: g++ returned 1 exit status /usr/local/bin/ld: lto-wrapper failed collect2: error: ld returned 1 exit status make[1]: *** [libwebkitgtk-1.0.la] Error 1 make[1]: Leaving directory `/usr/src/webkit-1.8.3' make: *** [all] Error 2 make sudo make install WebKit was configured with the following options: Build configuration: Enable debugging (slow) : no Compile with debug symbols (slow) : no Enable debug features (slow) : no Enable GCC build optimization : yes Code coverage support : no Unicode backend : icu Font backend : freetype Optimized memory allocator : yes Accelerated Compositing : no Features: WebGL : yes Blob support : yes DOM mutation observer support : no DeviceOrientation support : no Directory upload : no Fast Mobile Scrolling : no JIT compilation : autodetect Filters support : yes Geolocation support : no JavaScript debugger/profiler support : yes Gamepad support : no MathML support : yes Media source : no Media statistics : no MHTML support : no HTML5 channel messaging support : yes HTML5 meter element support : yes HTML5 microdata support : no Page Visibility API support : no HTML5 progress element support : yes HTML5 client-side session and persistent storage support : yes SQL client-side database storage support : yes HTML5 datagrid support : no HTML5 data transfer items support : no HTML5 FileSystem API support : no Quota API support : no HTML5 sandboxed iframe support : yes HTML5 video element support : yes HTML5 track element support : no Fullscreen API support : yes Media stream support : no Icon database support : yes Image resizer support : no Link prefetch support : no Opcode stats : no Shadow DOM support : yes SharedWorkers support : yes Color input support : no Speech input support : no SVG support : yes SVG fonts support : yes Web Audio support : no Web Sockets support : yes Web Timing support : no Web Workers support : yes XSLT support : yes Spellcheck support : yes Animation API : no RequestAnimationFrame support : yes Touch Icon Loading support : no Register Protocol Handler support : no WebKit2 support : no WebKit2 plugin process : no GTK+ configuration: GTK+ version : 2.0 GDK target : x11 Hildon UI extensions : no GStreamer version : 0.10 Introspection support : yes Generate documentation : no webkit-1.2.7 Edit WebCore/dom/make_names.pl my $preprocessor = $gccLocation . " -E -x c++"; CXX WebCore/css/libwebkit_1_0_la-CSSParser.lo WebCore/css/CSSParser.cpp: In member function 'bool WebCore::CSSParser::parseVariable(WebCore::CSSVariablesDeclaration*, const WebCore::String&, const WebCore::String&) ': WebCore/css/CSSParser.cpp:5194:20: error: too many arguments to function 'int WebCore::cssyyparse()' In file included from WebCore/css/CSSParser.cpp:4683:0: ./DerivedSources/CSSGrammar.hpp:163:5: note: declared here make[1]: *** [WebCore/css/libwebkit_1_0_la-CSSParser.lo] Error 1 make[1]: Leaving directory `/usr/src/webkit-1.2.7' make: *** [all] Error 2 webkit-1.8.3 Source/WebCore/xml/XPathParser.cpp: In member function 'WebCore::XPath::Expression* WebCore::XPath::Parser::parseStatement(const WTF::String&, WTF::PassRefPtr, WebCore::ExceptionCode&)': Source/WebCore/xml/XPathParser.cpp:478:39: error: too many arguments to function 'int WebCore::XPath::xpathyyparse()' In file included from Source/WebCore/xml/XPathParser.cpp:49:0: ./DerivedSources/WebCore/XPathGrammar.hpp:106:5: note: declared here make[1]: *** [Source/WebCore/xml/libWebCore_la-XPathParser.lo] Error 1 make[1]: Leaving directory `/usr/src/webkit-1.8.3' make: *** [all] Error 2