You most likely updated GHC or something and so you have to reinstall all the packages you get errors for first:
cabal install QuckCheck -reinstall --force-reinstalls
Am 15.05.2015 um 09:10 schrieb Roelof Wobben:
Another problem.
I now see this output :
Preprocessing library digits-0.2...[1 of 1] Compiling Data.Digits ( src/Data/Digits.hs, dist/build/Data/Digits.o )/usr/bin/ld: cannot find -lHSQuickCheck-2.8.1-ghc7.8.3/usr/bin/ld: cannot find -lHStf-random-0.5-ghc7.8.3/usr/bin/ld: cannot find -lHSprimitive-0.6-ghc7.8.3/usr/bin/ld: cannot find -lHStransformers-0.4.3.0-ghc7.8.3/usr/bin/ld: cannot find -lHSrandom-1.1-ghc7.8.3collect2: error: ld returned 1 exit statusFailed to install digits-0.2cabal: Error: some packages failed to install:digits-0.2 failed during the building phase. The exception was:ExitFailure 1codio@switch-grille:~/workspace$ ghcghc: no input filesUsage: For basic information, try the `--help' option.codio@switch-grille:~/workspace$ ghc --versionThe Glorious Glasgow Haskell Compilation System, version 7.8.3
Roelof
Roelof Wobben schreef op 15-5-2015 om 9:08:
Thanks,
And if I want to import it into my project , do I then do import Data.Digits ?
Roelof
Alex Hammel schreef op 14-5-2015 om 23:25:
`Data.Digits` is the name of the module. The name of the package is `digits`. Therefore: $(cabal install digits)`cabal` installs packages, which may contain many modules
On Thu, 14 May 2015 at 14:14 Roelof Wobben <r.wobben@home.nl> wrote:
Hello,,
I want to use the module Digits which according to Hoogle is in Data.Digits
But when I do cabal install Data.Digits I see this error message :
cabal install Data.Digits
cabal: The file does not exist 'Data.Digits'
What do I do wrong ?
Roelof
---
Dit e-mailbericht is gecontroleerd op virussen met Avast antivirussoftware.
http://www.avast.com
_______________________________________________
Beginners mailing list
Beginners@haskell.org
http://mail.haskell.org/cgi-bin/mailman/listinfo/beginners
_______________________________________________ Beginners mailing list Beginners@haskell.org http://mail.haskell.org/cgi-bin/mailman/listinfo/beginners
![]()
Dit e-mailbericht is gecontroleerd op virussen met Avast antivirussoftware.
www.avast.com
_______________________________________________ Beginners mailing list Beginners@haskell.org http://mail.haskell.org/cgi-bin/mailman/listinfo/beginners
![]()
Dit e-mailbericht is gecontroleerd op virussen met Avast antivirussoftware.
www.avast.com
_______________________________________________ Beginners mailing list Beginners@haskell.org http://mail.haskell.org/cgi-bin/mailman/listinfo/beginners
_______________________________________________ Beginners mailing list Beginners@haskell.org http://mail.haskell.org/cgi-bin/mailman/listinfo/beginners
![]() |
Dit e-mailbericht is gecontroleerd op virussen met Avast antivirussoftware.
|