unofficial mirror of guix-devel@gnu.org 
 help / color / mirror / code / Atom feed
* About webkitgtk head file path.
@ 2015-05-22 17:24 Feng Shu
  2015-05-22 19:29 ` David Thompson
  0 siblings, 1 reply; 3+ messages in thread
From: Feng Shu @ 2015-05-22 17:24 UTC (permalink / raw)
  To: guix; +Cc: Feng Shu


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




-- 

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: About webkitgtk head file path.
  2015-05-22 17:24 About webkitgtk head file path Feng Shu
@ 2015-05-22 19:29 ` David Thompson
  2015-05-23 22:11   ` Ludovic Courtès
  0 siblings, 1 reply; 3+ messages in thread
From: David Thompson @ 2015-05-22 19:29 UTC (permalink / raw)
  To: guix; +Cc: Feng Shu

Feng Shu <tumashu@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

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: About webkitgtk head file path.
  2015-05-22 19:29 ` David Thompson
@ 2015-05-23 22:11   ` Ludovic Courtès
  0 siblings, 0 replies; 3+ messages in thread
From: Ludovic Courtès @ 2015-05-23 22:11 UTC (permalink / raw)
  To: David Thompson; +Cc: guix, Feng Shu

David Thompson <dthompson2@worcester.edu> skribis:

> 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

Chances are that ‘pkg-config webkitgtk-1.0 --cflags’ returns exactly
that (this is not Guix-specific.)

Ludo’.

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2015-05-23 22:11 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2015-05-22 17:24 About webkitgtk head file path Feng Shu
2015-05-22 19:29 ` David Thompson
2015-05-23 22:11   ` Ludovic Courtès

Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/guix.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).