Re: [gnome-love] Cannot jhbuild the webkit



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/

Attachment: signature.asc
Description: This is a digitally signed message part



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]