Hi, I'm hitting several Could not find module errors when installing with Cabal (see below). When I clone the project and make the project from source, then things work fine.
Really useful project by the way! Its been a major improvement over SublimeHaskell for looking up type signatures and documentation.
maximilians-mbp:~ Max$ cabal install dash-haskell
Resolving dependencies...
Configuring dash-haskell-1.0.0.0...
Building dash-haskell-1.0.0.0...
Failed to install dash-haskell-1.0.0.0
Build log ( /Users/Max/.cabal/logs/dash-haskell-1.0.0.0.log ):
Configuring dash-haskell-1.0.0.0...
Building dash-haskell-1.0.0.0...
Preprocessing executable 'dash-haskell' for dash-haskell-1.0.0.0...
src/Main.hs:2:18:
Could not find module ‘Control.Monad.M’
Perhaps you meant
Control.Monad (from base)
Control.Monad (needs flag -package haskell2010-1.1.2.0)
Control.Monad.STM (needs flag -package stm-2.4.3)
Use -v to see a list of the files searched for.
src/Main.hs:4:18:
Could not find module ‘Pipes.FileSystem’
Use -v to see a list of the files searched for.
src/Main.hs:5:18:
Could not find module ‘Pipes.Conf’
Perhaps you meant Pipes.Core (from pipes-4.1.2)
Use -v to see a list of the files searched for.
src/Main.hs:6:18:
Could not find module ‘Pipes.Db’
Use -v to see a list of the files searched for.
src/Main.hs:8:18:
Could not find module ‘Options.Documentation’
Use -v to see a list of the files searched for.
src/Main.hs:9:18:
Could not find module ‘Options’
Use -v to see a list of the files searched for.
cabal: Error: some packages failed to install:
dash-haskell-1.0.0.0 failed during the building phase. The exception was:
ExitFailure 1
Cabal version:
$ cabal --version
cabal-install version 1.20.0.3
using version 1.20.0.1 of the Cabal library
GHC version:
ghc --version
The Glorious Glasgow Haskell Compilation System, version 7.8.3
Yup, cabal sdist / upload somehow didn't distribute the modules. This may be due to not having a ''other-modules'' section in the cabal file. Thanks for the report.
Hi, I'm hitting several
Could not find module
errors when installing with Cabal (see below). When I clone the project and make the project from source, then things work fine.Really useful project by the way! Its been a major improvement over SublimeHaskell for looking up type signatures and documentation.
Cabal version:
GHC version:
OS: OS X 10.9.5