Installation error of libxml-sax

Brandon Allbery allbery.b at
Fri Apr 24 18:29:34 UTC 2015

On Fri, Apr 24, 2015 at 11:38 AM, Peng Yu <pengyu.ut at> wrote:

> setup-Cabal- The program pkg-config version
> >=0.9.0 is required but it could not be found.

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

brandon s allbery kf8nh                               sine nomine associates
allbery.b at                                  ballbery at
unix, openafs, kerberos, infrastructure, xmonad
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <>

More information about the cabal-devel mailing list