Ticket #1261 (closed defect: fixed)
webkit build problem with hswebkit.h
| Reported by: | guest | Owned by: | cjacker |
|---|---|---|---|
| Priority: | normal | Milestone: | 0.11.0 |
| Component: | Webkit | Version: | 0.11.0 |
| Keywords: | hswebkit.h | Cc: | dino@… |
Description
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
Change History
Note: See
TracTickets for help on using
tickets.