Thanks, it worked.<div><br></div><div>L.</div><div><br></div><div><br></div><div><br><br><div class="gmail_quote">On Tue, Mar 20, 2012 at 7:12 PM, Dino Morelli <span dir="ltr">&lt;<a href="mailto:dino@ui3.info">dino@ui3.info</a>&gt;</span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div class="HOEnZb"><div class="h5">Lorenzo Bolla &lt;lbolla &lt;at&gt; <a href="http://gmail.com" target="_blank">gmail.com</a>&gt; writes:<br>

<br>
&gt; Hi all,<br>
&gt;<br>
&gt; I&#39;m trying to compile Haskell&#39;s webkit package, but I&#39;m getting this error:<br>
&gt;<br>
&gt;<br>
&gt; $ cabal install webkit<br>
&gt; Resolving dependencies...<br>
&gt; [1 of 2] Compiling SetupWrapper     ( /tmp/webkit-0.12.3-9205/webkit-<br>
0.12.3/SetupWrapper.hs, /tmp/webkit-0.12.3-9205/webkit-<br>
0.12.3/dist/setup/SetupWrapper.o )<br>
&gt; [2 of 2] Compiling Main             ( /tmp/webkit-0.12.3-9205/webkit-<br>
0.12.3/Setup.hs, /tmp/webkit-0.12.3-9205/webkit-0.12.3/dist/setup/Main.o )<br>
&gt; Linking /tmp/webkit-0.12.3-9205/webkit-0.12.3/dist/setup/setup ...<br>
&gt; [1 of 2] Compiling Gtk2HsSetup      ( Gtk2HsSetup.hs, dist/setup-<br>
wrapper/Gtk2HsSetup.o )<br>
&gt; [2 of 2] Compiling Main             ( SetupMain.hs, dist/setup-wrapper/Main.o<br>
)<br>
&gt; Linking dist/setup-wrapper/setup ...<br>
&gt; Configuring webkit-0.12.3...<br>
&gt; Building webkit-0.12.3...<br>
&gt; Preprocessing library webkit-0.12.3...<br>
&gt; dist/build/Graphics/UI/Gtk/WebKit/Types.h:1:22: fatal error: hswebkit.h: No<br>
such file or directory<br>
&gt; compilation terminated.<br>
&gt; gtk2hsC2hs: Error during preprocessing custom header file<br>
&gt; cabal: Error: some packages failed to install:<br>
&gt; webkit-0.12.3 failed during the building phase. The exception was:<br>
&gt; ExitFailure 1<br>
&gt;<br>
&gt;<br>
&gt; I&#39;m compiling it inside a hsenv, with this ghc:<br>
&gt;<br>
&gt; $ ghc -v<br>
&gt; Glasgow Haskell Compiler, Version 7.4.1, stage 2 booted by GHC version 7.4.1<br>
&gt;<br>
&gt; Using binary package database: /tmp/webkit/.hsenv/ghc_pkg_db/package.cache<br>
&gt; wired-in package ghc-prim mapped to ghc-prim-0.2.0.0-<br>
c2ff696e5b8ec4d4b2bc2e42085fe471<br>
&gt; wired-in package integer-gmp mapped to integer-gmp-0.4.0.0-<br>
3cccac07aef8e27023f605c1f45bdf74<br>
&gt; wired-in package base mapped to base-4.5.0.0-40b99d05fae6a4eea95ea69e6e0c9702<br>
&gt; wired-in package rts mapped to builtin_rts<br>
&gt; wired-in package template-haskell mapped to template-haskell-2.7.0.0-<br>
8c8cd20e21666657195efabced685fe1<br>
&gt; wired-in package dph-seq not found.<br>
&gt; wired-in package dph-par not found.<br>
&gt; Hsc static flags: -static<br>
&gt;<br>
&gt;<br>
&gt; Any ideas?<br>
&gt;<br>
&gt; Thanks,<br>
&gt; L.<br>
&gt;<br>
<br>
</div></div>By complete chance, I happened to be trying to use webkit today as well,<br>
ran into the same problem.<br>
<br>
Looks like hswebkit.h isn&#39;t getting installed anywhere in an include<br>
dir on my system. I was able to install and build against the webkit library<br>
after copying that file manually myself from the root of the webkit dev dir<br>
to /usr/local/include<br>
<br>
You can get the webkit source to get this .h file:<br>
<br>
   $ darcs get <a href="http://code.haskell.org/webkit/" target="_blank">http://code.haskell.org/webkit/</a><br>
<br>
<br>
This is of course not a good long-term solution. I&#39;m trying to figure out<br>
whom to email or where to send a bug report now.<br>
<span class="HOEnZb"><font color="#888888"><br>
<br>
--<br>
Dino Morelli  email: <a href="mailto:dino@ui3.info">dino@ui3.info</a>  web: <a href="http://ui3.info/d/" target="_blank">http://ui3.info/d/</a><br>
pubkey: <a href="http://ui3.info/d/dino-4AA4F02D-pub.gpg" target="_blank">http://ui3.info/d/dino-4AA4F02D-pub.gpg</a><br>
<br>
<br>
<br>
_______________________________________________<br>
Beginners mailing list<br>
<a href="mailto:Beginners@haskell.org">Beginners@haskell.org</a><br>
<a href="http://www.haskell.org/mailman/listinfo/beginners" target="_blank">http://www.haskell.org/mailman/listinfo/beginners</a><br>
</font></span></blockquote></div><br></div>