If I were you I'd `brew install haskell-stack`[1], which is by far the easiest way to solve all your Haskell problems.
I've whipped up a quick `stack.yaml`[2] for the elm-lang.org package. Use it like this: brew install haskell-stack cd /path/to/elm-lang.org curl -OL https://gist.github.com/mattjbray/217cf7d9b755be253448525e5259b1d8/raw/e8f82f3b722160e26e56cd6a80a216dee075c870/stack.yaml stack build stack exec -- run-elm-website [1] https://docs.haskellstack.org/en/stable/README/ [2] https://gist.github.com/mattjbray/217cf7d9b755be253448525e5259b1d8 On Tue, 30 Aug 2016 at 19:33 Janis Voigtländer <[email protected]> wrote: > Hmm, too bad. This has really turned into a “How to install a specific GHC > version on OS X”, which I am not qualified to answer *at all*. > > > 2016-08-30 20:24 GMT+02:00 suttlecommakevin <[email protected]>: > >> That brew commit checkout doesn't work either. Runs into permissions and >> $PATH issues (at least on my machine). >> >> On Tuesday, August 30, 2016 at 2:07:32 PM UTC-4, Janis Voigtländer wrote: >>> >>> Depends on the operating system. And should be answered at >>> https://www.haskell.org/downloads. >>> >>> For what seems to be your specific situation (OS X with Homebrew), the >>> commit discussion you linked to contains a comment that appears to answer >>> the question: >>> https://github.com/elm-lang/elm-platform/commit/f46c95cf826651c56cf11388148df4406a834ee8#commitcomment-18102434 >>> >>> >>> 2016-08-30 19:57 GMT+02:00 suttlecommakevin <[email protected]>: >>> >>>> Right, and how does one obtain GHC 7.10? >>>> >>>> On Tuesday, August 30, 2016 at 1:51:50 PM UTC-4, Janis Voigtländer >>>> wrote: >>>>> >>>>> GHC 7.10.x + whatever cabal comes with that + Elm 0.17.1 >>>>> >>>>> 2016-08-30 19:44 GMT+02:00 suttlecommakevin <[email protected]>: >>>>> >>>>>> Thanks. I still am not able to contribute to elm-lang.org without a >>>>>> proper set up. >>>>>> In order to develop, how *exactly *should and which versions of, >>>>>> elm, ghc, and cabal be installed most reliably? >>>>>> >>>>>> >>>>>> >>>>>> >>>>>> On Tuesday, August 30, 2016 at 1:39:07 PM UTC-4, Janis Voigtländer >>>>>> wrote: >>>>>>> >>>>>>> I tried 0.16, because that’s what’s in the README*. Others have been >>>>>>> scolded for not reading the instructions closely. >>>>>>> >>>>>>> In all fairness, the README of >>>>>>> https://github.com/elm-lang/elm-lang.org says to use 0.17, not 0.16. >>>>>>> >>>>>>> >>>>>>> 2016-08-30 19:30 GMT+02:00 suttlecommakevin <[email protected]>: >>>>>>> >>>>>>>> >>>>>>>> - Yes, 8.0.1 as Richard pointed out in that commit. >>>>>>>> - I tried 0.16, because that's what's in the README*. Others >>>>>>>> have been scolded for not reading the instructions closely. >>>>>>>> - Yes, I also tried 0.17.1, and that failed as well. >>>>>>>> >>>>>>>> For me, what is needed is a more explicit set of instructions than >>>>>>>> > Before getting Haskell Platform, make sure it is going to give >>>>>>>> you these things <https://www.haskell.org/platform/contents.html>. >>>>>>>> >>>>>>>> As someone who has never used Haskell, and is just getting going >>>>>>>> with Elm, I would rather see explicit, tested, instructions. >>>>>>>> *I tried to make a minor fix to these, but there are some odd >>>>>>>> errors in Travis. Maybe these will help shed some light. >>>>>>>> >>>>>>>> https://travis-ci.org/elm-lang/elm-platform/jobs/156272879#L754-L794 >>>>>>>> https://travis-ci.org/elm-lang/elm-platform/jobs/156272879#L861 >>>>>>>> >>>>>>>> >>>>>>>> >>>>>>>> >>>>>>>> On Tuesday, August 30, 2016 at 12:57:41 PM UTC-4, Janis Voigtländer >>>>>>>> wrote: >>>>>>>>> >>>>>>>>> >>>>>>>>> - That does not yet tell me which version of GHC you have. I >>>>>>>>> could guess that 8.0.1, but is that the case? >>>>>>>>> - Why is it that you try to install 0.16 of the platform in >>>>>>>>> your gist, rather than 0.17 or better yet 0.17.1? >>>>>>>>> - It is not clear that GHC 8.0.1 will fail you (with 0.17.1 of >>>>>>>>> elm-platform). Have you tried? >>>>>>>>> >>>>>>>>> >>>>>>>>> >>>>>>>>> 2016-08-30 18:53 GMT+02:00 suttlecommakevin <[email protected] >>>>>>>>> >: >>>>>>>>> >>>>>>>>>> I'm on Mac. I installed *ghc* via brew cask install >>>>>>>>>> haskell-platform. >>>>>>>>>> >>>>>>>>>> It's not clear where or how to obtain GHC < 8.0.1 reliably or >>>>>>>>>> consistently. >>>>>>>>>> >>>>>>>>>> https://github.com/elm-lang/elm-platform/commit/f46c95cf826651c56cf11388148df4406a834ee8 >>>>>>>>>> >>>>>>>>>> >>>>>>>>>> On Tuesday, August 30, 2016 at 12:49:38 PM UTC-4, Joey Eremondi >>>>>>>>>> wrote: >>>>>>>>>>> >>>>>>>>>>> @suttlecommakevin Are you trying to use Elm from Hackage, or the >>>>>>>>>>> Elm platform? Hackage elm is woefully out of date. >>>>>>>>>>> >>>>>>>>>>> On Tue, Aug 30, 2016 at 9:38 AM, Janis Voigtländer < >>>>>>>>>>> [email protected]> wrote: >>>>>>>>>>> >>>>>>>>>>>> You don't feel like telling us which GHC version you are trying >>>>>>>>>>>> to do this with? >>>>>>>>>>>> >>>>>>>>>>>> 2016-08-30 18:11 GMT+02:00 suttlecommakevin < >>>>>>>>>>>> [email protected]>: >>>>>>>>>>>> >>>>>>>>>>>>> I get missing deps, but because of conflicts that were >>>>>>>>>>>>> rejected. >>>>>>>>>>>>> >>>>>>>>>>>>> >>>>>>>>>>>>> https://gist.github.com/kevinSuttle/a867b0d2048f6f6c6f646964061ec3c1 >>>>>>>>>>>>> >>>>>>>>>>>>> >>>>>>>>>>>>> On Thursday, August 14, 2014 at 11:19:13 PM UTC-4, Evan >>>>>>>>>>>>> Cameron wrote: >>>>>>>>>>>>>> >>>>>>>>>>>>>> I've installed elm on arch using a cabal sandbox and the >>>>>>>>>>>>>> cabal install methods. I've added the /bin directory to my path >>>>>>>>>>>>>> so commands >>>>>>>>>>>>>> like elm-get run from everywhere. >>>>>>>>>>>>>> >>>>>>>>>>>>>> I'm trying to build the elm-lang.org locally but cabal >>>>>>>>>>>>>> configure fails >>>>>>>>>>>>>> >>>>>>>>>>>>>> ➜ elm-lang.org git:(stable) elm-get install >>>>>>>>>>>>>> Installing all declared dependencies... >>>>>>>>>>>>>> Cloning repo johnpmayer/elm-webgl >>>>>>>>>>>>>> Checking out version 0.1 >>>>>>>>>>>>>> Cloning repo johnpmayer/elm-linear-algebra >>>>>>>>>>>>>> Checking out version 1.0 >>>>>>>>>>>>>> Success! >>>>>>>>>>>>>> ➜ elm-lang.org git:(stable) cabal configure >>>>>>>>>>>>>> Resolving dependencies... >>>>>>>>>>>>>> Configuring elm-website-0.1.0.2... >>>>>>>>>>>>>> cabal: At least the following dependencies are missing: >>>>>>>>>>>>>> Elm >=0.12, >>>>>>>>>>>>>> HTTP -any, >>>>>>>>>>>>>> aeson -any, >>>>>>>>>>>>>> blaze-html -any, >>>>>>>>>>>>>> blaze-markup -any, >>>>>>>>>>>>>> cmdargs -any, >>>>>>>>>>>>>> mtl -any, >>>>>>>>>>>>>> snap-core -any, >>>>>>>>>>>>>> snap-server -any, >>>>>>>>>>>>>> unordered-containers -any >>>>>>>>>>>>>> >>>>>>>>>>>>>> >>>>>>>>>>>>>> how is it even possible that elm-get ran if Elm is missing? >>>>>>>>>>>>>> >>>>>>>>>>>>> -- >>>>>>>>>>>>> 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. >>>>>>>>>>>> >>>>>>>>>>> >>>>>>>>>>> -- >>>>>>>>>> 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. >>>>>>>> >>>>>>> >>>>>>> -- >>>>>> 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. >>>> >>> >>> -- >> 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. > -- 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.
