Hello,

thanks. I am still very confused and I don't understand what the difference between webkitgtk3 and webkitgtk-3.0 is and why one requires the other as dependency.

I found webkit-gtk3 on macports (I am using a mac), but this did not help. I found webkit-gtk-3-devel and tried to install it, but macports says:

Error: webkit-gtk3-devel is not supported for this installation of MacPorts.  It requires libc++ be selected as your C++ runtime.  Please use webkit-gtk3-devel-2.0 instead

So i tried this, but:

$ sudo port install webkit-gtk3-devel-2.0
Error: Port webkit-gtk3-devel-2.0 not found

I need webkit-gtk-xy-whatever to install leksah. Does anyone know how to solve these dependencies on a Mac? Has anyone made it to install leksah on an Apple Computer?

- Blue Glacier

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


_______________________________________________
Libraries mailing list
Libraries@haskell.org
http://www.haskell.org/mailman/listinfo/libraries