
Hello, When I want to install digits I see this output: cabal install digits Resolving dependencies.. [1 of 1] Compiling Main ( /tmp/digits-0.2-415/digits-0.2/Setup.lhs, /tmp/digits-0.2-415/digits-0.2/dist/setup/Main.o ) /tmp/digits-0.2-415/digits-0.2/Setup.lhs:3:3: Warning: Module ‘System.Cmd’ is deprecated: Use "System.Process" instead /tmp/digits-0.2-415/digits-0.2/Setup.lhs:5:49: Warning: In the use of ‘runTests’ (imported from Distribution.Simple, but defined in Distribution.Simple.UserHooks): Deprecated: "Please use the new testing interface instead!" Linking /tmp/digits-0.2-415/digits-0.2/dist/setup/setup ... Warning: digits.cabal: A package using 'cabal-version: >=1.2' must use section syntax. See the Cabal user guide for details. Configuring digits-0.2... Building digits-0.2... 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 -lHSrandom-1.1-ghc7.8.3**** How to soilve this one ? Roelof --- Dit e-mailbericht is gecontroleerd op virussen met Avast antivirussoftware. http://www.avast.com

When I want to install digits I see this output: ... /usr/bin/ld: cannot find -lHSQuickCheck-2.8.1-ghc7.8.3 /usr/bin/ld: cannot find -lHStf-random-0.5-ghc7.8.3
Looks like a mismatch between cabal and ghc. I wrote about this on my blog recently: http://tobold.org/entry/2015-04-24 Note the section called "Bootstrap cabal". Cheers, Toby.
participants (2)
-
Roelof Wobben
-
Toby Goodwin