<div dir="ltr"><div class="gmail_extra"><div class="gmail_quote"><div><div>Hi Peder,</div><div><br></div><div>I'd recommend giving stack a try (<a href="https://github.com/commercialhaskell/stack">https://github.com/commercialhaskell/stack</a>). I have found it easier to use than cabal-install. Many executables will install just fine using `stack install <package-name>`. Packages that stack has trouble creating a build plan for (like hakyll) can usually be installed using the following:</div><div><br></div><div>stack unpack hakyll</div><div>cd hakyll-*</div><div>stack init</div><div>stack setup</div><div>stack install</div><div><br></div><div>`stack install` copies the resulting binaries to ~/.local/bin by default: add that to your path.</div><div><br></div><div>Cheers,</div><div><br></div><div>cydparser</div></div><div><br></div><div> </div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
Date: Sat, 1 Aug 2015 08:36:55 -0400<br>
From: Peder Jakobsen <<a href="mailto:pjakobsen@gmail.com">pjakobsen@gmail.com</a>><br>
To: <a href="mailto:cabal-devel@haskell.org">cabal-devel@haskell.org</a><br>
Subject: Newbie: Can't understand cabal errors during install of<br>
hakyll<br>
Message-ID: <<a href="mailto:D991FCF6-9271-49D9-AEB9-543F8A2F25CC@gmail.com">D991FCF6-9271-49D9-AEB9-543F8A2F25CC@gmail.com</a>><br>
Content-Type: text/plain; charset="utf-8"<br>
<br>
Hi,<br>
<br>
Been with Haskell just for few days, and thought it would be a good exercise to run a static site generator to get familiar with various tools, and I?m already running into ?cabal hell? I think. :(<br>
<br>
<br>
$ cabal install hakyll<br>
Resolving dependencies...<br>
cabal: Could not resolve dependencies:<br>
trying: hakyll-4.7.2.0 (user goal)<br>
next goal: time (dependency of hakyll-4.7.2.0)<br>
rejecting: time-1.4.2/installed-d67... (conflict: hakyll => time>=1.5 && <1.6)<br>
trying: time-1.5.0.1<br>
trying: process-1.2.0.0/installed-3a4... (dependency of hakyll-4.7.2.0)<br>
next goal: unix (dependency of process-1.2.0.0/installed-3a4...)<br>
rejecting: unix-2.7.0.1/installed-8ad... (conflict: time==1.5.0.1, unix =><br>
time==1.4.2/installed-d67...)<br>
rejecting: unix-2.7.1.0, 2.7.0.1, 2.7.0.0, 2.6.0.1, 2.6.0.0, 2.5.1.1, 2.5.1.0,<br>
2.5.0.0, 2.4.2.0, 2.4.1.0, 2.4.0.2, 2.4.0.1, 2.4.0.0, 2.3.2.0, 2.3.1.0,<br>
2.3.0.0, 2.2.0.0, 2.0 (conflict: process => unix==<a href="http://2.7.0.1/installed-8ad.." rel="noreferrer" target="_blank">2.7.0.1/installed-8ad..</a>.)<br>
Backjump limit reached (change with --max-backjumps).<br>
<br>
<br>
I?m running OS X Yosemite 10.2.2 with all the latest versions of Haskell and cabal.<br>
<br>
Thanks you for listening. :)<br>
<br>
Peder<br></blockquote></div></div></div>