Closed michal-cab closed 7 years ago
Unfortunately, because I am quite busy my only recommendation is to try using Stack to build right now.
I've been trying to resolve the dependencies for cabal install helm-0.1.7
with no luck either
I was able to modify Automation.hs
so that it builds for 0.4 (since that's what cabal wants to install when I do cabal install helm
). So here are the steps I took:
cabal unpack helm-0.4
helm-0.4/src/FRP/Helm/Automation.hs
import Prelude hiding (id, (.))
to import Prelude hiding (id, (.), pure)
helm-0.4/
directorycabal install
, and it'll build correctlyconfirm that tommyschnabel solution is working @ ubuntu 14.04. ghc 7.10.2.20151102, cabal 1.22.4.0. thnx a lot, looking forward to start exploring helm...
I managed to build and run helm 0.7.1 on GHC 7.10 by loosening the constraints:
build-depends:
base >= 4 && < 5,
cairo > 0.12 && < 0.14,
pango > 0.12 && < 0.14,
containers >= 0.5 && < 1,
elerea >= 2.7 && < 3,
filepath >= 1.3 && < 2,
sdl2 >= 1.1 && < 1.3,
text >= 1.1.1.3,
time >= 1.4 && < 1.6,
random >= 1.0.1.1 && < 1.2,
mtl >= 2.1 && < 2.3,
transformers >= 0.3.0.0,
cpu >= 0.1.2 && < 1
, changing line 267 from
[ Pango.AttrFamily { paStart = i, paEnd = j, paFamily = textTypeface }
to
[ Pango.AttrFamily { paStart = i, paEnd = j, paFamily = T.pack textTypeface }
and importing qualified Data.Text as T
I don't know if this works with GHC < 7.10, but I think you should drop 7.6 support if that means supporting 7.10. We have stable 7.8 builds even on arm now.
My OS is Linux Mint 18. I have ghc 7.10.3 installed. I get the same error with cabal install helm as the OP. I would like to install helm 0.7.1 or later. Please where are these files I should modify which fgaz refers to? I need a clue. TIA
Closing this due to 1.0.0 release. Please reopen if the issue persists with 1.0.0.
hello, im @ ubuntu 14.04. ghc 7.10.2.20151102, cabal 1.22.4.0. i have tried to install helm both via cabal install helm and via sandbox but without success... :-(
throws following: and in sandbox (after cabal sandbox init and cabal install) it goes like: any help or suggestions please? :)