-
Notifications
You must be signed in to change notification settings - Fork 71
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[Installation] error: ‘fail’ is not a (visible) method of class ‘Monad’ on Mac OS Mojave (10.14) #39
Comments
I haven't seen that the installation tutorial tells not to use latest version of ghc, and I've eventually managed to downgrade ghc and install Euterpea, so the topic can be locked |
Hi, @pauloud I'm getting exactly the same error on macOS 10.14.6. Can you tell me which version of GHCI you downgraded to and what steps did it take to do this? Did you have to uninstall the current version of GHCI first? |
Yes, I have uninstalled GHC following the instructions here https://gist.github.com/begriffs/6408415 |
Cool! I'll give that a go! Thanks for the swift reply! |
I uninstalled GHC using those instructions but I am stuck on the installation of 8.4.3, because I installed 8.8.3 using |
Don't worry, I found it! |
FYI: I was able to "stack install" using ghc 8.10.1 with this stack.yaml. (I haven't figured out how to get a software synthesizer working on my Macbook, so I don't know if it works. But the play function is available for execution, just can't find a midi output. (Does Surge work? I installed it, but maybe it needs configuration? No support for AU/VST3?) ) Here's my stack.yaml, after running stack init in an empty directory and some editing (the package requests HCodecs == 0.5.1, hence the allow-newer: true) :
|
@pauloud This is an issue with |
Hi -- going through my notifications. What exactly is the issue with |
@Mokosha I don't believe there is an issue with 0.5.2 anymore, hence I suggested upgrading. The build failure in the original issue is related to |
I think there is still some issue with recent Platform versions and HCodecs, but it might be merely a question of correctly specifying a dependency. If I download using GHCup (onto macOS 11.6) I am given
I then try to install Euterpea (after
I note that this is still trying to compile the failing HCodecs version 0.5.1, so it might be that this is now merely a an issue of correctly specifying dependencies. Parenthetically, and for what it's worth, I do notice that the getting started instructions (a) mention an ALSA install as part of the Linux recommendations, so there's clearly an ALSA story here, and (b) recommend specifically the 8.6.3 Sorry if the remarks here are naive about ghc/cabal/stack: I'm using Euterpea as my most recent attempt to get to Hello World with Haskell (!), hence a fair amount of blundering around. |
HCodecs is fine, the problem is that Euterpea pins a too old version. Try configuring with |
Gah -- that works! It even says that on the getting-started page! I must be blind.... |
How does this differ if you are using |
UPDATE 6/04 2020 14:20 : I haven't seen that the installation tutorial tells not to use latest version of ghc, and I've eventually managed to downgrade ghc and install Euterpea
Hello, I've tried several time to install Euterpea with cabal v1 commands, I have the issue mentionned here #36 (comment) by @andreatamez, who said below having fixed the issue downgrading GHCI. I'm a beginner and I don't know really how a simple way to do it. The shell print this
So could you tell me how to downgrade GHCI easily or if ther is a better way to resolve the problem ?
Thank you
Have a nice day
The text was updated successfully, but these errors were encountered: