Feng Shu <tuma...@163.com> writes:

> I want to build emacs xwidget branch, which require webkitgtk-2.4.
> the problem is:
>
>
> webkitgtk-2.4 package put head files to:
>
>  
> /gnu/store/dl8z49pzl3l7wbh2q0hp7dxdxm40vjjj-webkitgtk-2.4.8/include/webkitgtk-1.0/webkit
>
> while xwidget.c include webkit head file like below.
>
> can't find the head files and build fail. how to deal with this problem.
>
> #+BEGIN_COMMENT
> #include <webkit/webkitwebview.h>
> #include <webkit/webkitwebplugindatabase.h>
> #include <webkit/webkitwebplugin.h>
> #include <webkit/webkitglobals.h>
> #include <webkit/webkitwebnavigationaction.h>
> #include <webkit/webkitdownload.h>
> #include <webkit/webkitwebpolicydecision.h>
> #+END_COMMENT

The build system should be configured such that 'gcc' is run with
a flag like:

    -I 
/gnu/store/dl8z49pzl3l7wbh2q0hp7dxdxm40vjjj-webkitgtk-2.4.8/include/webkitgtk-1.0

I'm surprised this isn't the case by default.  Perhaps there's a
configure flag needed to point the build system towards the right prefix
for webkitgtk?

-- 
David Thompson
GPG Key: 0FF1D807

Reply via email to