<div dir="ltr"><div class="gmail_extra"><div class="gmail_quote">On Fri, Apr 18, 2014 at 9:16 AM, Blue Glacier <span dir="ltr"><<a href="mailto:blueglacier414@gmail.com" target="_blank">blueglacier414@gmail.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div style="word-wrap:break-word"><div>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.</div>
</div></blockquote><div><br></div><div>Many Haskell libraries are bindings to C libraries. Those libraries have to come from somewhere else; Cabal cannot operate your system package manager for you, or even figure out which of several you might be using.</div>
<div><br></div><div>pkg-config... think of it as the C version of ghc-pkg. It searches a registry of installed C library packages, and can report details needed to build something that needs to use those packages. cabal knows how to ask pkg-config to search the registry, but not how something in that registry maps to some package name in some system package manager.</div>
<div><br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div style="word-wrap:break-word"><div>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:</div>
</div></blockquote><div><br></div><div>You don't use -devel packages on a Mac; that's a Linux-ism. In MacPorts, a -devel package is an alpha or beta test package and should probably be avoided unless you specifically intend to help test a pending upgrade.</div>
<div><br></div><div>What does `pkg-config --cflags webkitgtk-3.0` in a terminal window say?</div><div> </div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div style="word-wrap:break-word">
<div></div><div><i>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</i></div></div></blockquote><div>
<br></div><div>Apple changed the C++ stuff in Mavericks; this breaks a rather large amount of stuff, and requires that alternative packages be used for some things. :/ But since you should not be using -devel packages and you aren't on Mavericks, you can ignore this package.</div>
<div><br></div></div>-- <br><div dir="ltr"><div>brandon s allbery kf8nh                               sine nomine associates</div><div><a href="mailto:allbery.b@gmail.com" target="_blank">allbery.b@gmail.com</a>                                  <a href="mailto:ballbery@sinenomine.net" target="_blank">ballbery@sinenomine.net</a></div>
<div>unix, openafs, kerberos, infrastructure, xmonad        <a href="http://sinenomine.net" target="_blank">http://sinenomine.net</a></div></div>
</div></div>