[webkit-help] Webkit Build error on Ubuntu 10
Ryosuke Niwa
rniwa at webkit.org
Tue Sep 6 10:44:22 PDT 2011
Looking at the error, I think build-webkit is trying to use GTK+ 3.0 instead
of 2.0. you should try modifying configure.ac as I suggested in my previous
email.
- Ryosuke
On Tue, Sep 6, 2011 at 10:40 AM, sachin nikam <sknikam at gmail.com> wrote:
> Hi Ryosuke,
> Thanks for confirming that the problem is reproducible and not just
> something unique to my env.
> On my box, the problem went away after I explicitly set the following
> env variables.
>
> GAIL_CFLAGS=<output of pkg-config --cflags gail>
> GAIL_LIBS=<output of pkg-config --libs gail>
> GTK_CFLAGS=<output of pkg-config --cflags gtk+-2.0
> GTK_LIBS=<pkg-config --libs gtk+-2.0>
>
> However after that, I am running in to the following compilation error
>
> $ Tools/Scripts/build-webkit --gtk --debug
>
> /usr/include/gtk-2.0/gdk/gdktypes.h:114: error: conflicting
> declaration ‘typedef struct _GdkDrawable GdkWindow’
> ../../Source/JavaScriptCore/wtf/gobject/GTypedefs.h:90: error:
> ‘GdkWindow’ has a previous declaration as ‘typedef struct _GdkWindow
> GdkWindow’
> make[1]: ***
> [Source/WebKit/gtk/WebCoreSupport/libwebkitgtk_3_0_la-DocumentLoaderGtk.lo]
> Error 1
> make[1]: Leaving directory `/home/sknikam/webkit/trunk/WebKitBuild/Debug'
> make: *** [all] Error 2
>
>
> On Tue, Sep 6, 2011 at 10:30 AM, Ryosuke Niwa <rniwa at webkit.org> wrote:
> > This appears to be a regression from r93852 and r94000. If I revert 93852
> > and not build WebKit2, then I can build GTK+ port on Ubuntu 10.10 without
> > any issues.
> > To be specific, I switched the default back to use GTK+ 2.0 (modified
> around
> > line 190 where it says "with_gtk=3.0") and then passed
> > --enable-webkit=false.
> > - Ryosuke
> >
> > On Mon, Sep 5, 2011 at 3:07 PM, sachin nikam <sknikam at gmail.com> wrote:
> >>
> >> 1. As per this url (http://trac.webkit.org/wiki/BuildingGtk) webkit
> >> recommends libgtk2.0-dev (>= 2.10) and libgail-dev
> >>
> >> Although I have the libgtk2.0-dev package installed, It seems that the
> >> configure.ac file (Starting line 188) is unable to detect it and is
> >> going with the default gtk+ version=3.0.
> >> Any ideas why this is happening?
> >>
> >> 2. As per this url (http://packages.ubuntu.com/natty/libgail-3-dev)
> >> libgail-3-dev depends on libgtk-3-dev.
> >> I updated my /etc/apt/sources.list as documented here
> >> (http://packages.ubuntu.com/natty/i386/libgtk-3-dev/download)
> >> But aptitude is unable to locate the source for libgtk-3-dev
> >>
> >> Regards
> >> Sachin
> >>
> >> On Mon, Sep 5, 2011 at 2:05 AM, anand pandia <a.pandia at gmail.com>
> wrote:
> >> > The library you need is "libgail-3-dev".
> >> >
> >> > -Anand
> >> >
> >> > On Mon, Sep 5, 2011 at 1:32 PM, sachin nikam <sknikam at gmail.com>
> wrote:
> >> >>
> >> >> I tried
> >> >> $ sudo apt-get install gail-3.0
> >> >> but did not find any package by that name.
> >> >> I am following the build instructions listed here
> >> >> http://trac.webkit.org/wiki/BuildingGtk
> >> >> I did not find any mention of this package in the instructions, so
> not
> >> >> sure what the value of env vars
> >> >> GAIL_CFLAGS and GAIL_LIBS should be?
> >> >> Regards
> >> >> Sachin
> >> >>
> >> >> On Mon, Sep 5, 2011 at 12:36 AM, Ariya Hidayat
> >> >> <ariya.hidayat at gmail.com>
> >> >> wrote:
> >> >> >> I get the following error, when I run the following command
> >> >> >> Any ideas on what I am missing?
> >> >> >>
> >> >> >> $ Tools/Scripts/build-webkit --gtk --debug
> >> >> >>
> >> >> >> configure: error: Package requirements (gail-3.0 >= 3.0) were not
> >> >> >> met:
> >> >> >
> >> >> > I'm just stating the obvious: did you try to fulfill the above
> >> >> > requirement?
> >> >> >
> >> >> > --
> >> >> > Ariya
> >> >> >
> >> >> _______________________________________________
> >> >> webkit-help mailing list
> >> >> webkit-help at lists.webkit.org
> >> >> http://lists.webkit.org/mailman/listinfo.cgi/webkit-help
> >> >
> >> >
> >> _______________________________________________
> >> webkit-help mailing list
> >> webkit-help at lists.webkit.org
> >> http://lists.webkit.org/mailman/listinfo.cgi/webkit-help
> >
> >
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.webkit.org/pipermail/webkit-help/attachments/20110906/c123414f/attachment-0001.html>
More information about the webkit-help
mailing list