-
-
Notifications
You must be signed in to change notification settings - Fork 24
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
Paths on Mac? #39
Comments
Thanks! 😊 You did not do something wrong, it's just that there several ways of installing Cabal on macOS, and they seem to use different paths. In the Ideally, I would bundle a separate GHC with HyperHaskell, so that people can start right away. But that's not entirely trivial. #10 |
Thanks. That fixed that error message. But now the status box says: "Could not load imports: Interpreter not running (Error 0)". I suspect this may be a basic misunderstanding on my part... am I supposed to launch hyper-haskell-server as a daemon somehow? Just running hyper-haskell-server from a Terminal window yields an error ("lookupSymbol failed in relocateSection ... ___gmp_rands") |
No, you're not supposed to launch this binary by yourself, the HyperHaskell app is supposed to do that automatically. However, running in the Terminal should work, and the error message
indicates that something went wrong, perhaps while compiling or even linking the binary. Since (Running the
) |
I installed hyper, hyper-haskell-server, and hyper-extra on the same day, using cabal as per the instructions at https://github.com/HeinrichApfelmus/hyper-haskell. So I'm pretty sure they all used the same GHC version (8.4.3). I didn't notice any compilation or installation errors, and ~/Library/Haskell/logs/build.log shows "install-outcome: InstallOK" for every package. |
That is very strange. Can you post the output that you get when running |
$ hyper-haskell-server |
Seems to be a known issue: https://gitlab.haskell.org/ghc/ghc/issues/15105 I have hidden the offending file HSinteger-gmp-1.0.2.0.o (by gzipping it). Now hyper-haskell-server and HyperHaskell work! I hope I haven't broken anything else. |
Great! Let me know if there is any other issue. |
I was very impressed by your demo of HyperHaskell at ICFP, Heinrich! I have just tried installing it (Mac 10.14.5, GHC 8.4.3) using cabal. The install went smoothly, but on starting up the front end, the Imports and options -> Status box reports
Indeed, that path won't find my server:
Did I do something wrong?
The text was updated successfully, but these errors were encountered: