[webkit-dev] Fail to build WebKit r37132 with GTK on Fedora core 10

ferrety ferrety yferrety at gmail.com
Thu Jan 8 06:25:56 PST 2009


Hi All,

After successing to compile my app with WebKit "r37132" with your
help, I tried to port it to the lastest version of Webkit.
Now, my old code which is running OK "r37132" looks like this:

...
 for (HTTPHeaderMap::const_iterator it =
req.httpHeaderFields().begin(); it != end; ++it) {
           fprintf( pf , "%s:%s\r\n" , it->first.latin1().data() ,
it->second.latin1().data() );
  }
...

is no longer valid and I get an compile error:

WebCore/warc/recordout.cpp: In function 'void
WebCore::recordoutrequest(WebCore::String, WebCore::String,
WebCore::ResourceRequest&)':
WebCore/warc/recordout.cpp:79: erreur: 'const class
WebCore::AtomicString' has no member named 'latin1'
WebCore/warc/recordout.cpp: In function 'void
WebCore::recordoutresponse(WebCore::String, WebCore::String,
WebCore::ResourceRequest&, const WebCore::ResourceResponse&)':
WebCore/warc/recordout.cpp:114: erreur: 'const class
WebCore::AtomicString' has no member named 'latin1'

Where I should look guys for a replacement for these deprecated funtions?

Thanks

Regards
Ferret


On Thu, Jan 8, 2009 at 1:47 AM, ferrety ferrety <yferrety at gmail.com> wrote:
> Hi Darren,
>
>> It's just Fedora 10. The Core was removed in Fedora 7.
>
> Could you please explain further with more details?
>
> Fegards
> Ferret
>
>>>> Hi List,
>>>>
>>>> I've tried to build WebKit with GTK on Fedora Core 10, gcc4.3 and
>>>> noticed a strange error about a missing member function called
>>>> "update".
>>>>
>>>> $ ./autogen.sh --prefix=/usr/local --enable-video
>>>> $ make
>>>> ...
>>>> WebCore/platform/gtk/ScrollViewGtk.cpp: In member function 'void
>>>> WebCore::ScrollView::ScrollViewPrivate::scrollBackingStore(const
>>>> WebCore::IntSize&)':
>>>> WebCore/platform/gtk/ScrollViewGtk.cpp:183: error: 'class
>>>> WebCore::ScrollView' has no member named 'update'
>>>> make[1]: *** [WebCore/platform/gtk/libWebCore_la-ScrollViewGtk.lo] Error
>>>> 1
>>>> make[1]: Leaving directory `/home/younes/Desktop/WebKit'
>>>> make: *** [all] Error 2
>>>>
>>>> After commenting this line 183, everything went fine:
>>>> // view->update();
>>>>
>>>> Could someone please explain me why this function is missing? Is it
>>>> deprecated?
>>>> Any fix?
>>>
>>> Yeah, it was removed around the time of the revision you used and the
>>> gtk+ build got fixed (multiple times) some time after that:
>>>
>>>
>>>  http://trac.webkit.org/changeset/37172/trunk/WebCore/platform/gtk/ScrollViewGtk.cpp
>>>
>>> Probably best to upgrade to a newer revision, unless you have specific
>>> reasons to stick with that one...
>>>
>>> --
>>> Kalle Vahlman, zuh at iki.fi
>>> Powered by http://movial.fi
>>> Interesting stuff at http://sandbox.movial.com
>>> See also http://syslog.movial.fi
>>> _______________________________________________
>>> webkit-dev mailing list
>>> webkit-dev at lists.webkit.org
>>> http://lists.webkit.org/mailman/listinfo.cgi/webkit-dev
>>
>


More information about the webkit-dev mailing list