<div dir="ltr"><div class="gmail_extra"><div class="gmail_quote">On Fri, Apr 24, 2015 at 11:38 AM, Peng Yu <span dir="ltr"><<a href="mailto:pengyu.ut@gmail.com" target="_blank">pengyu.ut@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 id=":s9" class="a3s" style="overflow:hidden">setup-Cabal-1.18.1.4-x86_64-osx-ghc-7.8.3: The program pkg-config version<br>
>=0.9.0 is required but it could not be found.<br></div></blockquote></div><br>Yes. You need some C libraries and some of the glue that they use (it's not like libxml2 has been rewritten in Haskell; we FFI to it). You can get pkg-config and libxml2 from MacPorts or Homebrew; Apple does not ship pkg-config and ships only an out of date version of libxml2 --- with the pkg-config data that allows other programs to more easily link to it stripped.<br clear="all"><div><br></div>-- <br><div class="gmail_signature"><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></div>