Re: Cannot jhbuild the webkit

Germán Póo-Caamaño <[email protected]> Fri, 06 Sep 2013 13:54:31 -0700
Newsgroups gmane.comp.gnome.love
Organization GNOME
Message-ID <1378500871.12756.19.camel@sai>
On Fri, 2013-09-06 at 15:51 -0400, Miao Yu wrote:
> Hi everyone:
>
> Sorry to bother.
>
> I am trying to build libgdata. And when it attempts to jhbuild webkitgtk+, it's stuck with this error:
>
> Source/WebKit/gtk/webkit/webkitauthenticationdialog.cpp: In function 'GtkWidget* createAuthenticationDialog(GtkWindow*, const WebCore::AuthenticationChallenge&, CredentialStorageMode)':
> Source/WebKit/gtk/webkit/webkitauthenticationdialog.cpp:37:36: error: 'GTK_STOCK_CANCEL' was not declared in this scope
> Source/WebKit/gtk/webkit/webkitauthenticationdialog.cpp:37:75: error: 'GTK_STOCK_OK' was not declared in this scope
> Source/WebKit/gtk/webkit/webkitauthenticationdialog.cpp:55:38: error: 'GTK_STOCK_DIALOG_AUTHENTICATION' was not declared in this scope
> make[1]: *** [Source/WebKit/gtk/webkit/libwebkitgtk_3_0_la-webkitauthenticationdialog.lo] Error 1
> make[1]: *** Waiting for unfinished jobs....
> make[1]: Leaving directory `/home/william/checkout/gnome/webkitgtk-2.1.90.1'
> make: *** [all] Error 2

For building libgata you don't need webkitgtk+.   The problem you are
seeing there is because webkitgtk+ probably has a flag that makes it
fail when compiling with deprecated symbols (and GTK_STOCK_* were
deprecated a month or so ago).

Anyway, for your purpose you can safely skip that module.  In your
~/.jhbuildrc you can use something like:

skip.extend ([ 'WebKit' ])

or in the command line:

jhbuild build --skip WebKit libgdata

> My system is ubuntu 12.10 amd64.
> I have installed libgtk-3-dev and build the gtk+ with jhbuild.

That should not be a problem for this case.

> But when I jhbuilt gtk+, it also has a lot warnings like:
>
> warning enumeration value GTK_** value is not handled here

I think there is missing more context here.  Nevertheless, this is a
different issue than the one you are experimenting with WebKit.

-- 
Germán Poo-Caamaño
http://calcifer.org/

_______________________________________________
gnome-love mailing list
[email protected]
https://mail.gnome.org/mailman/listinfo/gnome-love
signature.asc (application/pgp-signature, 198 B)
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.11 (GNU/Linux)

iEYEABECAAYFAlIqQQcACgkQ1hl0UcEpZYy+CACeJUvMfb2iQOi7fs1NWmxX6IoP
O9oAn3SuMxSCOEqiwOqCKU0vAteduKHc
=q+PI
-----END PGP SIGNATURE-----