I believe you will need to use ghc 7, not ghc 8.  (elm-compiler's CI uses
ghc-7.10.1, but ghc-7.10.3 should probably work fine as well.)

On Sun, Aug 14, 2016 at 8:04 PM, Kofi Gumbs <[email protected]> wrote:

> I came across this thread
> <https://github.com/elm-lang/elm-platform/issues/63> which was very
> insightful. I was building on a Mac, but everything is fine after spinning
> up a vagrant box and following this blog post
> <https://alphydan.svbtle.com/elm-lang-on-ubuntu-14-04>. Hope this helps
> some potential contributor in the future!
>
>
> On Sunday, August 14, 2016 at 4:46:38 PM UTC-6, Kofi Gumbs wrote:
>>
>> Hello all,
>>
>> I've tried to build the elm tools locally in a couple of ways, but I am
>> having trouble resolving the dependency graph. I am really only interested
>> in elm-make, but I've tried the recommended BuildFromSource.hs script
>> <https://github.com/elm-lang/elm-platform/blob/master/installers/BuildFromSource.hs>
>>  as
>> well. Here are the results from both approaches (cabal-install version
>> 1.24.0.0, GHC version 8.0.1):
>>
>> *1) Just elm-make – OUTPUT
>> <https://gist.github.com/hkgumbs/9c5bd3efc8cec8d51a643864621ee25a>*
>> # ~/Workspaces/elm-make (git)-[0.17.1]-
>>
>> $ cabal sandbox delete
>> $ cabal sandbox init
>> $ cabal sandbox add-source ../elm-compiler  # both of these are also on
>> 0.17.1
>> $ cabal sandbox add-source ../elm-package
>> $ cabal install -j --only-dependencies --ghc-options="-w"  # these flags
>> are from the BuildFromSource.hs script (I've also tried without them)
>>
>>
>> *2) BuildFromSource.hs – OUTPUT
>> <https://gist.github.com/hkgumbs/fe48186e72f1c1357441f1185543662b>*
>>
>> # ~/Workspaces
>>
>> $ rm -rf Elm-Platform BuildFromSource.hs
>> $ wget https://raw.githubusercontent.com/elm-lang/elm-platform/mast
>> er/installers/BuildFromSource.hs
>> $ runhaskell BuildFromSource.hs 0.17.1
>>
>>
>>
>> I am not very familiar with cabal dependency management but I suspect I
>> am missing some --constraint. Has anyone seen / resolved this problem
>> before? I haven't had success googling this particular issue, but I have a
>> nagging feeling that it's documented somewhere.
>>
>> --
> You received this message because you are subscribed to the Google Groups
> "Elm Discuss" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to [email protected].
> For more options, visit https://groups.google.com/d/optout.
>

-- 
You received this message because you are subscribed to the Google Groups "Elm 
Discuss" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/d/optout.

Reply via email to