[webkit-gtk] Building with --enable-mhtml

Žan Doberšek zandobersek at gmail.com
Mon Feb 20 11:33:26 PST 2012


The --enable-mhtml was added just recently, in revision 107565 -
http://trac.webkit.org/changeset/107565
Thus, it is not available in 1.7.5. With those changes, I believe the build
should succeed without problems.

I've recently tried this feature out, but it wasn't working due to MHTML
files being given the mimetype 'message/rfc822' instead of
'multipart/related'. The problem is originating in glib, but might be
bypassed in WebKit. There should really be a bug about it.

Regards,
Zan

On Mon, Feb 20, 2012 at 6:04 PM, Gavin Stark <gavin at gstark.com> wrote:

>
> I am trying to build webkit 1.7.5 with --enable-html configured.  I end up
> with a linking error (checked that building without that option builds
> fine)  The error doesn't initially seem to have to do with the added code
> for mhtml support so I'm not sure how to proceed.  Has anyone built with
> --enable-mhtml support yet?
>
>
>
> I added --enable-mhtml to the debian/rules file.  I also had to edit
> WebCore/loader/archive/ArchiveFactory.cpp to change #include
> "MHTMLArchive.h" to "mhtml/MHTMLArchive.h"
>
> After compiling via apt-src build libwebkitgtk-3.0-0 I ended up with
> linking errors:
>
> 17:45:01 O: ../Tools/gtk/generate-gtkdoc
> 17:45:03 E: Copying template files to output directory...
> 17:45:03 E: Copying HTML files to output directory...
> 17:45:03 E: Running gtkdoc-scan
> 17:45:03 E: Running gtkdoc-scangobj
> 17:45:06 E: /home/rdm/webkit-1.7.5/build-3.0/.libs/libwebkitgtk-3.0.so:
> undefined reference to `vtable for WebCore::JSBlobOwner'
> 17:45:06 E: /home/rdm/webkit-1.7.5/build-3.0/.libs/libwebkitgtk-3.0.so:
> undefined reference to `WebCore::HTMLNames::spanAttr'
> 17:45:06 E: /home/rdm/webkit-1.7.5/build-3.0/.libs/libwebkitgtk-3.0.so:
> undefined reference to `WebCore::HTMLNames::summaryAttr'
> 17:45:06 E: /home/rdm/webkit-1.7.5/build-3.0/.libs/libwebkitgtk-3.0.so:
> undefined reference to `WebCore::toMediaController(JSC::JSValue)'
> 17:45:06 E: /home/rdm/webkit-1.7.5/build-3.0/.libs/libwebkitgtk-3.0.so:
> undefined reference to
> `WebCore::InspectorFrontend::CSS::mediaQueryResultChanged()'
> 17:45:06 E: /home/rdm/webkit-1.7.5/build-3.0/.libs/libwebkitgtk-3.0.so:
> undefined reference to `WebCore::SVGNames::markerUnitsAttr'
> 17:45:06 E: /home/rdm/webkit-1.7.5/build-3.0/.libs/libwebkitgtk-3.0.so:
> undefined reference to
> `WebCore::JSUint8ClampedArray::finishCreation(JSC::JSGlobalData&)'
> 17:45:06 E: /home/rdm/webkit-1.7.5/build-3.0/.libs/libwebkitgtk-3.0.so:
> undefined reference to `WebCore::HTMLNames::plaintextTag'
> 17:45:06 E: /home/rdm/webkit-1.7.5/build-3.0/.libs/libwebkitgtk-3.0.so:
> undefined reference to
> `WebCore::JSKeyboardEvent::finishCreation(JSC::JSGlobalData&)'
> 17:45:06 E: /home/rdm/webkit-1.7.5/build-3.0/.libs/libwebkitgtk-3.0.so:
> undefined reference to
> `WebCore::JSEntityReference::finishCreation(JSC::JSGlobalData&)'
> 17:45:06 E: /home/rdm/webkit-1.7.5/build-3.0/.libs/libwebkitgtk-3.0.so:
> undefined reference to `WebCore::toJS(JSC::ExecState*,
> WebCore::JSDOMGlobalObject*, WebCore::RangeException*)'
> 17:45:06 E: /home/rdm/webkit-1.7.5/build-3.0/.libs/libwebkitgtk-3.0.so:
> undefined reference to `WebCore::JSSharedWorkerConstructor::s_info'
> 17:45:06 E: /home/rdm/webkit-1.7.5/build-3.0/.libs/libwebkitgtk-3.0.so:
> undefined reference to `WebCore::XMLNames::langAttr'
> 17:45:06 E: /home/rdm/webkit-1.7.5/build-3.0/.libs/libwebkitgtk-3.0.so:
> undefined reference to `WebCore::HTMLNames::webkitallowfullscreenAttr'
> 17:45:06 E: /home/rdm/webkit-1.7.5/build-3.0/.libs/libwebkitgtk-3.0.so:
> undefined reference to `WebCore::MathMLNames::linethicknessAttr'
> 17:45:06 E: /home/rdm/webkit-1.7.5/build-3.0/.libs/libwebkitgtk-3.0.so:
> undefined reference to `WebCore::toXPathException(JSC::JSValue)'
> 17:45:06 E: /home/rdm/webkit-1.7.5/build-3.0/.libs/libwebkitgtk-3.0.so:
> undefined reference to `WebCore::SVGNames::toAttr'
> .....
>
>
> Full errors here: https://gist.github.com/1869708
>
> _______________________________________________
> webkit-gtk mailing list
> webkit-gtk at lists.webkit.org
> http://lists.webkit.org/mailman/listinfo.cgi/webkit-gtk
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.webkit.org/pipermail/webkit-gtk/attachments/20120220/8269339f/attachment.html>


More information about the webkit-gtk mailing list