installing webkitgtk3: webkitgtk-3.0 version >=1.8 not found

Ben Franksen ben.franksen at online.de
Thu Apr 17 15:13:43 UTC 2014


Blue Glacier wrote:
> Hello,
> $ cabal install webkitgtk3
> Resolving dependencies...
> [1 of 2] Compiling SetupWrapper     (
> 
[/var/folders/27/1y1549hn7pqfvvd0zv7znvlm0000gn/T/webkitgtk3-0.12.6.1-5804/webkitgtk3-0.12.6.1/SetupWrapper.hs,
> 
[/var/folders/27/1y1549hn7pqfvvd0zv7znvlm0000gn/T/webkitgtk3-0.12.6.1-5804/webkitgtk3-0.12.6.1/dist/setup/SetupWrapper.o
> [)
> [2 of 2] Compiling Main             (
> 
[/var/folders/27/1y1549hn7pqfvvd0zv7znvlm0000gn/T/webkitgtk3-0.12.6.1-5804/webkitgtk3-0.12.6.1/Setup.hs,
> 
[/var/folders/27/1y1549hn7pqfvvd0zv7znvlm0000gn/T/webkitgtk3-0.12.6.1-5804/webkitgtk3-0.12.6.1/dist/setup/Main.o
> [)
> Linking
> 
/var/folders/27/1y1549hn7pqfvvd0zv7znvlm0000gn/T/webkitgtk3-0.12.6.1-5804/webkitgtk3-0.12.6.1/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 webkitgtk3-0.12.6.1...
> setup: The pkg-config package webkitgtk-3.0 version >=1.8 is required but
> it could not be found.
> Failed to install webkitgtk3-0.12.6.1
> cabal: Error: some packages failed to install:
> webkitgtk3-0.12.6.1 failed during the configure step. The exception was:
> ExitFailure 1
> 
> What's going on there?

The message

> setup: The pkg-config package webkitgtk-3.0 version >=1.8 is required but
> it could not be found.

refers to the OS package, that the Haskell package depends on. You need to 
install (the development version of) webkitgtk-3.0 using the OS package 
manager. On my system (Ubuntu) this is done like this:

> sudo apt-get install libwebkitgtk-3.0-dev

HTH
Ben
-- 
"Make it so they have to reboot after every typo." -- Scott Adams




More information about the Libraries mailing list