Resolving dependencies... Downloading probability-0.2... Configuring probability-0.2... Building probability-0.2... Preprocessing library probability-0.2... src/Numeric/Probability/Object.hs:1:16: Warning: -fglasgow-exts is deprecated: Use individual extensions instead src/Numeric/Probability/Percentage.hs:12:18: Could not find module `System.Random' It is a member of the hidden package `random-1.0.1.1'. Perhaps you need to add `random' to the build-depends in your .cabal file. Use -v to see a list of the files searched for. Failed to install probability-0.2 cabal: Error: some packages failed to install: probability-0.2 failed during the building phase. The exception was: ExitFailure 1