Installing helm 0.6.0

250 views
Skip to first unread message

Maik Klein

unread,
Nov 10, 2013, 9:51:56 AM11/10/13
to helm...@googlegroups.com
Hello,
I have a few problems installing helm
0.6.0. I cloned it from github and tried "cabal install".

± % cabal install -v3                                                      !492
kcabalsearching for ghc in path.
found ghc at
/usr/bin/ghc
("/usr/bin/ghc",["--numeric-version"])
/usr/bin/ghc is version 7.6.3
looking
for tool "ghc-pkg" near compiler in /usr/bin
found ghc
-pkg in /usr/bin/ghc-pkg
("/usr/bin/ghc-pkg",["--version"])
/usr/bin/ghc-pkg is version 7.6.3
("/usr/bin/ghc",["--supported-languages"])
("/usr/bin/ghc",["--info"])
Reading installed packages...
("/usr/bin/ghc-pkg",["dump","--global","-v0"])
("/usr/bin/ghc-pkg",["dump","--user","-v0"])
("/usr/bin/ghc",["--print-libdir"])
Reading available packages...
Choosing modular solver.
Resolving dependencies...
[__0] trying: helm-0.6.0
[__1] trying: base-4.6.0.1/installed-8aa...
[__2] trying: rts-1.0/installedbuil...
[__3] trying: integer-gmp-0.5.0.0/installed-2f1...
[__4] trying: ghc-prim-0.3.0.0/installed-d52...
[__5] trying: helm-0.6.0:!test
[__6] trying: mtl-2.1.2/installed-94c...
[__7] trying: transformers-0.3.0.0/installed-ff2...
[__8] trying: random-1.0.1.1/installed-43f...
[__9] trying: time-1.4.0.1/installed-10d...
[_10] trying: old-locale-1.0.0.5/installed-672...
[_11] trying: deepseq-1.3.0.1/installed-5cc...
[_12] rejecting: array-0.5.0.0/installed-7bb... (conflict: deepseq => array==0.4.0.1/installed-3b7...)
[_12] rejecting: array-0.4.0.1/installed-3b7... (unknown package: SDL2)
[__1] fail (backjumping, conflict set: SDL2, helm)
[__0] rejecting: helm-0.5.0, 0.4, 0.3.1, 0.3.0, 0.2.0, 0.1.0 (global constraint requires ==0.6.0)
[__0] fail (backjumping, conflict set: SDL2, helm)
cabal
: Could not resolve dependencies:
trying
: helm-0.6.0
I am very new to haskell and I am not sure what is going on here.
I tried to search for the SDL2 package but I couldn't find it.

Zack Corr

unread,
Nov 10, 2013, 10:02:11 AM11/10/13
to Maik Klein, helm...@googlegroups.com
The SDL2 package is currently not on Hackage because it's still a work in progress. You need to check it out and manually install it, but you'll need my changes that haven't been merged yet.  https://github.com/z0w0/hsSDL2


--
You received this message because you are subscribed to the Google Groups "Helm Developers" group.
To unsubscribe from this group and stop receiving emails from it, send an email to helm-dev+u...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.

Jim Stanton

unread,
Mar 12, 2014, 3:15:56 PM3/12/14
to helm...@googlegroups.com, Maik Klein
Somewhat related to this - is the preferred installation method through Hackage or a github clone install?

Zack Corr

unread,
Mar 16, 2014, 7:33:01 PM3/16/14
to Jim Stanton, helm...@googlegroups.com, Maik Klein
The preferred method is through Hackage, but due to hsSDL2 still being in development, the only way to install 0.6 (which I very much suggest using over 0.5 due to optimizations, improved portability & breaking API changes) is by checking out the source and building it manually.

Sorry for the delay in response, by the way.


For more options, visit https://groups.google.com/d/optout.

Pirmin Schneider

unread,
May 8, 2014, 11:04:40 AM5/8/14
to helm...@googlegroups.com
the link to the github repo of hsSDL gave me a 404.. i've found it here https://github.com/Lemmih/hsSDL2

Zack Corr

unread,
May 11, 2014, 8:40:39 PM5/11/14
to Pirmin Schneider, helm...@googlegroups.com
Apologies, I deleted my fork because my changes were merged upstream ages ago. I'm thinking of changing it to use the sdl2 package on Hackage instead of the WIP official one so that I can release 0.6 soonish straight to Hackage. Apparently the WIP one will replace the current one when it is done. Looks like the current one is simply a bunch of low-level bindings.


On Fri, May 9, 2014 at 1:04 AM, Pirmin Schneider <pirmins...@gmail.com> wrote:
the link to the github repo of hsSDL gave me a 404.. i've found it here https://github.com/Lemmih/hsSDL2

--
Reply all
Reply to author
Forward
0 new messages