id,summary,reporter,owner,description,type,status,priority,milestone,component,version,resolution,keywords,cc
1261,webkit build problem with hswebkit.h,guest,cjacker,"Discovered with this setup:

   Arch Linux
   GHC 7.0.3


These installed successfully with cabal-install, can build Hello
World app from gtk2hs website:

   gtk2hs-buildtools 0.12.3,
   gtk 0.12.3


Then installed webkit:

{{{
$ cabal install webkit
Resolving dependencies...
[1 of 2] Compiling SetupWrapper     (
/tmp/webkit-0.12.316274/webkit-0.12.3/SetupWrapper.hs,
/tmp/webkit-0.12.316274/webkit-0.12.3/dist/setup/SetupWrapper.o )
[2 of 2] Compiling Main             (
/tmp/webkit-0.12.316274/webkit-0.12.3/Setup.hs,
/tmp/webkit-0.12.316274/webkit-0.12.3/dist/setup/Main.o )
Linking /tmp/webkit-0.12.316274/webkit-0.12.3/dist/setup/setup ...
[1 of 2] Compiling Gtk2HsSetup      ( Gtk2HsSetup.hs,
dist/setup-wrapper/Gtk2HsSetup.o )
[2 of 2] Compiling Main             ( SetupMain.hs,
dist/setup-wrapper/Main.o )
Linking dist/setup-wrapper/setup ...
Configuring webkit-0.12.3...
Preprocessing library webkit-0.12.3...
dist/build/Graphics/UI/Gtk/WebKit/Types.h:1:22: fatal error:
hswebkit.h: No such file or directory
compilation terminated.
gtk2hsC2hs: Error during preprocessing custom header file
cabal: Error: some packages failed to install:
webkit-0.12.3 failed during the building phase. The exception was:
ExitFailure 1
}}}

Looks like hswebkit.h isn't getting installed anywhere in an include
dir on my system. I was able to install and build against this library
after copying it manually myself from the root of the webkit dev dir
to /usr/local/include
",defect,closed,normal,0.11.0,Webkit,0.11.0,fixed,hswebkit.h,dino@…
