[Haskell-beginners] Package access problem
Gregory Guthrie
guthrie at mum.edu
Wed Feb 18 02:13:47 UTC 2015
I installed diagrams, and it seems to be there, but GHCi doesn't find it. I tried adding the local sandbox to the command line (-package-db), but still no luck
Any suggestions?
C:\Users\guthrie>
C:\Users\guthrie>cabal install diagrams
Resolving dependencies...
All the requested packages are already installed:
diagrams-1.2
Use --reinstall if you want to reinstall anyway.
I find it in:
C:\Users\guthrie\.cabal-sandbox\i386-windows-ghc-7.6.3-packages.conf.d
(diagrams-1.2, diagrams-contrib, -core, -lib, -svg)
But running: "cabal repl" or using the GHC(i) flag "-package-db=..."
fail to find it:
C:\Users\guthrie>cabal repl
GHCi, version 7.6.3: http://www.haskell.org/ghc/ :? for help
Loading package ghc-prim ... linking ... done.
Loading package integer-gmp ... linking ... done.
Loading package base ... linking ... done.
Prelude> :m + Diagrams
<no location info>:
Could not find module `Diagrams'
It is not a module in the current program, or in any known package.
Prelude> :m + Diagrams.Prelude
<no location info>:
Could not find module `Diagrams.Prelude'
It is not a module in the current program, or in any known package.
Prelude>
----------------------------------------------------------
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.haskell.org/pipermail/beginners/attachments/20150217/b8523ed8/attachment.html>
More information about the Beginners
mailing list