Installation on Linux Mint 17.2

119 views
Skip to first unread message

rikity...@gmail.com

unread,
Nov 27, 2015, 7:07:37 AM11/27/15
to leksah
Hi

I'm trying to install Leksah on a Mint 17.2 machine. Following the instructions given in these 2 links, I did the following:
https://www.haskell.org/platform/#linux-mint
https://hackage.haskell.org/package/leksah-0.15.1.4

sudo apt-get install haskell-platform
sudo apt
-get install libgtksourceview-3.0-dev libwebkitgtk-3.0-dev cd $HOME/.cabal/bin
cabal update
cabal install
Cabal cabal-install
cabal install regex
-tdfa-text --ghc-options=-XFlexibleContexts
cabal install alex happy
cabal install gtk2hs
-buildtools


All of this worked fine. However, when I typed:

cabal install leksah

I got the following:

Resolving dependencies...
cabal
: Could not resolve dependencies:
trying
: leksah-0.15.1.4
trying
: hlint-1.9.25
rejecting
: haskell-src-exts-1.17.0 (conflict: leksah =>
haskell
-src-exts>=1.13.5 && <1.17)
rejecting
: haskell-src-exts-1.16.0.1, 1.16.0, 1.15.0.1, 1.15.0, 1.14.0.1,
1.14.0, 1.13.5 (conflict: hlint => haskell-src-exts>=1.17 && <1.18)
rejecting
: haskell-src-exts-1.13.4, 1.13.3, 1.13.2, 1.13.1, 1.13.0, 1.12.0,
1.11.1, 1.10.2, 1.10.1, 1.10.0, 1.9.6, 1.9.5, 1.9.4, 1.9.3, 1.9.0, 1.8.2,
1.8.1, 1.8.0, 1.7.2, 1.7.1, 1.7.0, 1.6.1, 1.6.0, 1.5.3, 1.5.2, 1.5.1, 1.5.0,
1.4.0, 1.3.5, 1.3.4, 1.3.3, 1.3.2, 1.3.1, 1.3.0, 1.2.0, 1.1.4, 1.1.3.1, 1.1.3,
1.1.1, 1.1.0, 1.0.1, 1.0.0, 0.5.7, 0.5.6, 0.5.5, 0.5.4, 0.5.3, 0.5.2, 0.4.8,
0.4.6, 0.4.5, 0.4.4.1, 0.4.4, 0.4.3.1, 0.4.3, 0.4.2, 0.4.1, 0.3.12, 0.3.11,
0.3.10, 0.3.9, 0.3.7, 0.3.5, 0.3.4, 0.3.3, 0.3.2, 0.2.1 (conflict: leksah =>
haskell
-src-exts>=1.13.5 && <1.17)


Does anybody have an idea how to fix thix?

James Burton

unread,
Dec 2, 2015, 11:26:09 AM12/2/15
to leksah
I managed to install Leksah no problem on Linux Mint 17.2.

The difference was that I installed the haskell platform using the 'generic' install on this page...

I'm fairly sure the haskell-platform in the ubuntu 14.04 repo is too old.

I would try uninstalling it all and then trying again from the start using that 'generic' install instead to make sure you have the most recent haskell-platform.

Hope that helps.

Regards,
James
Reply all
Reply to author
Forward
0 new messages