Problems with cabal install hakyll

I have a fresh installation of ghc 7.6.3-1 and cabal 1.16. From this I was able to cabal update and then cabal install diagrams and pandoc, but when trying to install hakyll (either version 4 or 3) I get a lot of dependency conflicts. Can anyone give me some suggestions on how to proceed in this case? Thank you. Below follow the messages from cabal install --dry-run *** Trying version 4 *** cabal install --dry-run hakyll Resolving dependencies... cabal: Could not resolve dependencies: trying: hakyll-4.4.1.0 trying: hakyll-4.4.1.0:+checkexternal trying: http-conduit-1.9.5.1/installed-1fe... rejecting: tls-extra-0.6.6/installed-302... (conflict: tls-extra => cryptohash==0.11.1/installed-ae4..., hakyll => cryptohash>=0.7 && <0.11) rejecting: tls-extra-0.6.6, 0.6.5, 0.6.4, 0.6.3, 0.6.1, 0.6.0, 0.5.1, 0.5.0, 0.4.7.1, 0.4.7, 0.4.6.1, 0.4.6, 0.4.5, 0.4.4, 0.4.3, 0.4.2.1, 0.4.2, 0.4.1, 0.4.0, 0.3.1, 0.3.0, 0.2.3, 0.2.2, 0.2.1, 0.2.0, 0.1.9, 0.1.8, 0.1.7, 0.1.6, 0.1.5, 0.1.4, 0.1.3, 0.1.2, 0.1.1, 0.1.0 (conflict: http-conduit => tls-extra==0.6.6/installed-302...) ***Trying version 3 *** cabal install --dry-run hakyll-3.5.3.0 Resolving dependencies... In order, the following would be installed: HUnit-1.2.5.2 (new package) List-0.5.1 (new package) blaze-html-0.5.1.3 (new version) bytestring-mmap-0.2.2 (new package) entropy-0.2.2.4 (new package) crypto-api-0.12.2.2 (new package) cryptohash-0.8.4 (new version) enumerator-0.4.20 (new package) attoparsec-enumerator-0.3.1 (new package) blaze-builder-enumerator-0.2.0.5 (new package) hashable-1.1.2.5 (new version) case-insensitive-1.1 (reinstall) changes: hashable-1.2.1.0 -> 1.1.2.5 hexpat-0.20.3 (new package) highlighting-kate-0.5.5 (reinstall) changes: blaze-html-0.6.1.1 -> 0.5.1.3, filepath-1.3.0.1 added lrucache-1.1.1.3 (new package) regex-tdfa-1.1.8 (new package) syb-0.3.7 (new version) hs-bibutils-5.0 (new package) json-0.7 (new package) pandoc-types-1.9.1 (new version) citeproc-hs-0.3.9 (new package) system-filepath-0.4.8 (new package) system-fileio-0.3.11 (new package) shakespeare-1.2.0.1 (new package) hamlet-1.1.7.3 (new package) tagsoup-0.12.8 (new version) texmath-0.6.4 (reinstall) changes: pandoc-types-1.12.2.3 -> 1.9.1, syb-0.4.1 -> 0.3.7 pandoc-1.9.4.5 +blaze_html_0_5 (new version) unix-compat-0.4.1.1 (new package) unordered-containers-0.2.3.3 (reinstall) changes: hashable-1.2.1.0 -> 1.1.2.5 zlib-enum-0.2.3 (new package) snap-core-0.9.4.1 (new package) snap-server-0.9.3.4 (new package) hakyll-3.5.3.0 (new package) Warning: The following packages are likely to be broken by the reinstalls: http-types-0.8.1 pandoc-1.12.0.2 http-conduit-1.9.5.1 yaml-0.8.5.1 semigroups-0.11 void-0.6.1 zlib-conduit-1.0.0 lens-3.9.2 force-layout-0.2 diagrams-contrib-0.7 diagrams-0.7.1.1 conduit-1.0.8 blaze-builder-conduit-1.0.0 MemoTrie-0.6.1 vector-space-0.8.6 vector-space-points-0.1.2.1 diagrams-core-0.7.0.1 diagrams-svg-0.8.0.1 diagrams-lib-0.7.1.1 active-0.1.0.7 semigroupoids-3.1 semigroupoid-extras-3.0.1 profunctor-extras-3.3.3.1 monoid-extras-0.3.2.2 dual-tree-0.1.0.4 groupoids-3.0.1.1 comonad-transformers-3.1 comonads-fd-3.0.3 bifunctors-3.2.0.1 comonad-3.1 profunctors-3.3.0.1 aeson-0.6.2.1 pandoc-types-1.12.2.3 Use --force-reinstalls if you want to install anyway.

Hi Britt, most likely the problem is solved by using a cabal sandbox (cabal >= 1.18). Update your cabal version: cabal install cabal-install Create a sandbox and build hakyll in it: cabal sandbox init cabal install -j hakyll (-j for building on multiple cores) The hakyll binary will then be located in './cabal-sandbox/bin/'. Greetings, Daniel

Thanks for the suggestion, but cabal 1.18 has conflicts with gtk2hs. In an earlier post to the beginners list, I was instructed to roll back to 1.16 to get around a conflict with gtk2hs. ________________________________________ From: Beginners [beginners-bounces@haskell.org] on behalf of Daniel Trstenjak [daniel.trstenjak@gmail.com] Sent: Wednesday, October 16, 2013 10:04 AM To: beginners@haskell.org Subject: Re: [Haskell-beginners] Problems with cabal install hakyll Hi Britt, most likely the problem is solved by using a cabal sandbox (cabal >= 1.18). Update your cabal version: cabal install cabal-install Create a sandbox and build hakyll in it: cabal sandbox init cabal install -j hakyll (-j for building on multiple cores) The hakyll binary will then be located in './cabal-sandbox/bin/'. Greetings, Daniel _______________________________________________ Beginners mailing list Beginners@haskell.org http://www.haskell.org/mailman/listinfo/beginners

On Wed, Oct 16, 2013 at 02:06:20PM +0000, Britt Anderson wrote:
Thanks for the suggestion, but cabal 1.18 has conflicts with gtk2hs. In an earlier post to the beginners list, I was instructed to roll back to 1.16 to get around a conflict with gtk2hs.
Than perhaps installing diagrams, pandoc and hakyll at once might work, so that cabal might be able to select versions fitting all three: cabal install diagrams pandoc hakyll You might need to delete your '~/.cabal' and '~/.ghc' directories to get this working, or for testing, just rename them. Greetings, Daniel

Thanks for the advice. I deleted my ~/.cabal and ~/.ghc and then installed hakyll first followed by diagrams and everything was fine. --Britt daniel.trstenjak@gmail.com writes:
On Wed, Oct 16, 2013 at 02:06:20PM +0000, Britt Anderson wrote:
Thanks for the suggestion, but cabal 1.18 has conflicts with gtk2hs. In an earlier post to the beginners list, I was instructed to roll back to 1.16 to get around a conflict with gtk2hs.
Than perhaps installing diagrams, pandoc and hakyll at once might work, so that cabal might be able to select versions fitting all three:
cabal install diagrams pandoc hakyll
You might need to delete your '~/.cabal' and '~/.ghc' directories to get this working, or for testing, just rename them.
Greetings, Daniel _______________________________________________ Beginners mailing list Beginners@haskell.org http://www.haskell.org/mailman/listinfo/beginners

Another solution would have been to resort to pre-1.18 means by using
hsenv, for example.
On Wed, Oct 16, 2013 at 4:36 PM, Britt Anderson wrote: Thanks for the advice. I deleted my ~/.cabal and ~/.ghc and then
installed hakyll first followed by diagrams and everything was fine. --Britt daniel.trstenjak@gmail.com writes: On Wed, Oct 16, 2013 at 02:06:20PM +0000, Britt Anderson wrote: Thanks for the suggestion, but cabal 1.18 has conflicts with gtk2hs.
In an earlier post to the beginners list, I was instructed to roll
back to 1.16 to get around a conflict with gtk2hs. Than perhaps installing diagrams, pandoc and hakyll at once might work,
so that cabal might be able to select versions fitting all three: cabal install diagrams pandoc hakyll You might need to delete your '~/.cabal' and '~/.ghc' directories
to get this working, or for testing, just rename them. Greetings,
Daniel
_______________________________________________
Beginners mailing list
Beginners@haskell.org
http://www.haskell.org/mailman/listinfo/beginners _______________________________________________
Beginners mailing list
Beginners@haskell.org
http://www.haskell.org/mailman/listinfo/beginners
participants (3)
-
Britt Anderson
-
Daniel Trstenjak
-
Martin Ruderer