-
Notifications
You must be signed in to change notification settings - Fork 6
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
failed to install webkit #13
Comments
I have the same issue. @LovelyYanki have you been able to solve it so far? |
This normally means the required C libraries and header files have not been install. On ubuntu you need to run |
any help on OS X though? it seems non-trivial to install Webkit on OS X — are there libraries to just "bind" it to e.g. Safari? |
Here is how I currently install webkitgtk on OS X. Safari is not webkitgtk based so I don't think you can bind to it. |
oh, thanks, that's very useful — hopefully it'll work nicely in an environment where Homebrew is normally used. |
Turns out the problem with the MacPorts based installation is that the Then, I discovered that After realizing that it lacks a $ cat /usr/local/lib/pkgconfig/webkitgtk-3.0.pc
prefix=/usr/local/Cellar/webkitgtk/2.10.4
exec_prefix=${prefix}
libdir=${exec_prefix}/lib
includedir=${prefix}/include
Name: WebKit
Description: Web content engine for GTK+
Version: 2.10.4
Requires: glib-2.0 gtk+-3.0 libsoup-2.4 javascriptcoregtk-4.0
Libs: -L${libdir} -lwebkitgtk-3.0
Cflags: -I${includedir}/webkitgtk-3.0 also,
however, when building my project, which depends on the
Any ideas whatsoever? Does the homebrew formula actually not build a suitable |
OK, so turns out the
...which is according to the
— and on closer inspection, it's true htat
Again, any ideas? If we could fix this, |
If I symlink the
— does ths mean the |
I checked and it seems |
There is now an open pull request for adding the It compiles functionally equivalently to the MacPorts port it was based on. https://github.com/Homebrew/homebrew-versions/pull/1077 I would also love it if anyone more deeply involved with how Also, regarding #7 — if someone could offer some insight into how to migrate the |
Getting this issue in Arch Linux too, is there any workaround to this? |
martin@ubuntu:~/mal$ cabal install webkit
Resolving dependencies...
[1 of 2] Compiling SetupWrapper ( /tmp/webkit-0.14.1.0-4509/webkit-0.14.1.0/SetupWrapper.hs, /tmp/webkit-0.14.1.0-4509/webkit-0.14.1.0/dist/setup/SetupWrapper.o )
[2 of 2] Compiling Main ( /tmp/webkit-0.14.1.0-4509/webkit-0.14.1.0/dist/setup/setup.hs, /tmp/webkit-0.14.1.0-4509/webkit-0.14.1.0/dist/setup/Main.o )
Linking /tmp/webkit-0.14.1.0-4509/webkit-0.14.1.0/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.14.1.0...
setup: The pkg-config package 'webkit-1.0' version >=1.8 is required but it
could not be found.
Failed to install webkit-0.14.1.0
cabal: Error: some packages failed to install:
webkit-0.14.1.0 failed during the configure step. The exception was:
ExitFailure 1
The text was updated successfully, but these errors were encountered: