<div dir="ltr"><div class="gmail_extra"><br><div class="gmail_quote">On Sat, Apr 25, 2015 at 7:46 PM, 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:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex">I don't have cabal. How to install cabal? Do I also install with MacPorts?</blockquote></div><br>Turns out if you do that you end up with hs-mtl and friends which will conflict with yesod's dependencies. You'll probably have to do an install from <a href="https://www.haskell.org/cabal/release/cabal-install-1.22.0.0/cabal-1.22.0.0-x86_64-apple-darwin-mavericks.tar.gz">https://www.haskell.org/cabal/release/cabal-install-1.22.0.0/cabal-1.22.0.0-x86_64-apple-darwin-mavericks.tar.gz</a> (apparently there are no binary builds for non-Mavericks, so if you need that then you have a problem :/ )<br><br>Or you can remove the MacPorts-based ghc stuff and do an install as recommended by <a href="https://stackage.org">https://stackage.org</a> and make certain it can't find any MacPorts-installed library because that will lead to libiconv conflicts.</div><div class="gmail_extra"><br></div><div class="gmail_extra">Apparently the yesod/Stackage folks think this insanity is a good thing.<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>