Installation error of libxml-sax

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


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

> setup-Cabal-1.18.1.4-x86_64-osx-ghc-7.8.3: 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
stripped.

-- 
brandon s allbery kf8nh                               sine nomine associates
allbery.b at gmail.com                                  ballbery at sinenomine.net
unix, openafs, kerberos, infrastructure, xmonad        http://sinenomine.net
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.haskell.org/pipermail/cabal-devel/attachments/20150424/5e914d9c/attachment.html>


More information about the cabal-devel mailing list