Skip to content
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

Setting up dev environment #251

Closed
skvamme opened this issue Feb 28, 2020 · 3 comments
Closed

Setting up dev environment #251

skvamme opened this issue Feb 28, 2020 · 3 comments

Comments

@skvamme
Copy link

skvamme commented Feb 28, 2020

Following documentation for setting up dev environment failed.
OSX Catalina 10.15.3

Prelude> :l Graphics.Implicit
[ 1 of 48] Compiling Graphics.Implicit.ExtOpenScad.Parser.Lexer ( Graphics/Implicit/ExtOpenScad/Parser/Lexer.hs, interpreted )

Graphics/Implicit/ExtOpenScad/Parser/Lexer.hs:14:1: error:
Could not find module ‘Control.Monad.Identity’
Perhaps you meant
Control.Monad.Identity (from mtl-2.2.2)
Control.Monad.Cont (from mtl-2.2.2)
Control.Monad.State (from mtl-2.2.2)
|
14 | import "monads-tf" Control.Monad.Identity (Identity)
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
Failed, no modules loaded.

@julialongtin
Copy link
Member

We just merged a PR related to this; try again from the newest git?

@skvamme
Copy link
Author

skvamme commented Mar 1, 2020

Came a little bit longer with the newest git. But stopped with another module it couldn't find. Think it's me, need to dig into this a little bit. Thanks!

@skvamme
Copy link
Author

skvamme commented Mar 2, 2020

Solved
The versions I have (ghc 8.6.5 and cabal 3.0.0.0) does not play nice together. I had to use the v1-versions of configure and install. (v2- is default in cabal 3.0.0.0).
The makefile works fine for creating the binaries as it is, but when starting ghci there was things missing in the environment file. Here's the issue haskell/cabal#5559

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants