*** setup configure setup/setup configure --ghc --user --prefix=/usr/local/tmp/archive/install --haddock-option=--use-contents=/package/ProbabilityMonads-0.1.0 --haddock-option=--built-in-themes --verbose Configuring ProbabilityMonads-0.1.0... Warning: No 'build-type' specified. If you do not need a custom Setup.hs or ./configure script then use 'build-type: Simple'. Dependency MaybeT -any: using MaybeT-0.1.2 Dependency MonadRandom -any: using MonadRandom-0.1.6 Dependency base -any: using base-4.3.0.0 Dependency mtl -any: using mtl-2.0.1.0 Using Cabal-1.8.0.2 compiled by ghc-6.12 Using compiler: ghc-7.0.1 Using install prefix: /usr/local/tmp/archive/install Binaries installed in: /usr/local/tmp/archive/install/bin Libraries installed in: /usr/local/tmp/archive/install/lib/ProbabilityMonads-0.1.0/ghc-7.0.1 Private binaries installed in: /usr/local/tmp/archive/install/libexec Data files installed in: /usr/local/tmp/archive/install/share/ProbabilityMonads-0.1.0 Documentation installed in: /usr/local/tmp/archive/install/share/doc/ProbabilityMonads-0.1.0 Using alex version 2.3.3 found on system at: /usr/bin/alex Using ar found on system at: /usr/bin/ar Using c2hs version 0.16.0 found on system at: /usr/local/bin/c2hs Using cpphs version 1.11 found on system at: /usr/local/bin/cpphs Using ffihugs found on system at: /usr/local/bin/ffihugs Using gcc version 4.4.5 found on system at: /usr/bin/gcc Using ghc version 7.0.1 found on system at: /usr/local/bin/ghc Using ghc-pkg version 7.0.1 found on system at: /usr/local/bin/ghc-pkg No greencard found Using haddock version 2.8.0 found on system at: /usr/local/bin/haddock Using happy version 1.18.6 found on system at: /usr/local/bin/happy No hmake found Using hsc2hs version 0.67 found on system at: /usr/local/bin/hsc2hs Using hscolour version 1.17 found on system at: /usr/local/bin/HsColour Using hugs found on system at: /usr/local/bin/hugs No jhc found Using ld found on system at: /usr/bin/ld No lhc found No lhc-pkg found No nhc98 found Using pkg-config version 0.25 found on system at: /usr/bin/pkg-config Using ranlib found on system at: /usr/bin/ranlib Using strip found on system at: /usr/bin/strip Using tar found on system at: /bin/tar *** setup build setup/setup build --verbose Creating dist/build (and its parents) Creating dist/build/autogen (and its parents) Preprocessing library ProbabilityMonads-0.1.0... Building ProbabilityMonads-0.1.0... Building library... Creating dist/build (and its parents) /usr/local/bin/ghc --make -package-name ProbabilityMonads-0.1.0 -hide-all-packages -fbuilding-cabal-package -i -idist/build -i. -idist/build/autogen -Idist/build/autogen -Idist/build -optP-include -optPdist/build/autogen/cabal_macros.h -odir dist/build -hidir dist/build -stubdir dist/build -package-id MaybeT-0.1.2-91130f3374d8699f95ad95242096c7b2 -package-id MonadRandom-0.1.6-38a4f093e978d4c90e9d0762aab613b7 -package-id base-4.3.0.0-b91367e4fa5bd47d8e75958171ad21b7 -package-id mtl-2.0.1.0-53db6a067853ff76cc2a84d2eb4d3dbf -O -Wall -fno-warn-orphans -O Data.Probability.Base Data.Probability Data.Probability.Rational Control.Monad.MonoidValue Control.Monad.Distribution.Base Control.Monad.Distribution Control.Monad.Distribution.Rational [1 of 7] Compiling Control.Monad.MonoidValue ( Control/Monad/MonoidValue.hs, dist/build/Control/Monad/MonoidValue.o ) [2 of 7] Compiling Data.Probability.Base ( Data/Probability/Base.hs, dist/build/Data/Probability/Base.o ) [3 of 7] Compiling Data.Probability ( Data/Probability.hs, dist/build/Data/Probability.o ) [4 of 7] Compiling Control.Monad.Distribution.Base ( Control/Monad/Distribution/Base.hs, dist/build/Control/Monad/Distribution/Base.o ) Control/Monad/Distribution/Base.hs:183:27: Illegal instance declaration for `BayesDist (MaybeT (Rand g))' (All instance types must be of the form (T a1 ... an) where a1 ... an are type *variables*, and each type variable appears at most once in the instance head. Use -XFlexibleInstances if you want to disable this.) In the instance declaration for `BayesDist (MaybeT (Rand g))' Control/Monad/Distribution/Base.hs:184:36: Illegal instance declaration for `BayesDist (MaybeT (RandT g m))' (All instance types must be of the form (T a1 ... an) where a1 ... an are type *variables*, and each type variable appears at most once in the instance head. Use -XFlexibleInstances if you want to disable this.) In the instance declaration for `BayesDist (MaybeT (RandT g m))' Control/Monad/Distribution/Base.hs:186:27: Illegal instance declaration for `MonadPlus (MaybeT (Rand g))' (All instance types must be of the form (T a1 ... an) where a1 ... an are type *variables*, and each type variable appears at most once in the instance head. Use -XFlexibleInstances if you want to disable this.) In the instance declaration for `MonadPlus (MaybeT (Rand g))' Control/Monad/Distribution/Base.hs:190:36: Illegal instance declaration for `MonadPlus (MaybeT (RandT g m))' (All instance types must be of the form (T a1 ... an) where a1 ... an are type *variables*, and each type variable appears at most once in the instance head. Use -XFlexibleInstances if you want to disable this.) In the instance declaration for `MonadPlus (MaybeT (RandT g m))' Control/Monad/Distribution/Base.hs:242:29: Illegal instance declaration for `Dist (MVT p [])' (All instance types must be of the form (T a1 ... an) where a1 ... an are type *variables*, and each type variable appears at most once in the instance head. Use -XFlexibleInstances if you want to disable this.) In the instance declaration for `Dist (MVT p [])' Control/Monad/Distribution/Base.hs:247:52: Illegal instance declaration for `Show (MVT p [] a)' (All instance types must be of the form (T a1 ... an) where a1 ... an are type *variables*, and each type variable appears at most once in the instance head. Use -XFlexibleInstances if you want to disable this.) In the instance declaration for `Show (MVT p [] a)' Control/Monad/Distribution/Base.hs:257:29: Illegal instance declaration for `BayesDist (MaybeT (MVT p []))' (All instance types must be of the form (T a1 ... an) where a1 ... an are type *variables*, and each type variable appears at most once in the instance head. Use -XFlexibleInstances if you want to disable this.) In the instance declaration for `BayesDist (MaybeT (MVT p []))' Control/Monad/Distribution/Base.hs:259:29: Illegal instance declaration for `MonadPlus (MaybeT (MVT p []))' (All instance types must be of the form (T a1 ... an) where a1 ... an are type *variables*, and each type variable appears at most once in the instance head. Use -XFlexibleInstances if you want to disable this.) In the instance declaration for `MonadPlus (MaybeT (MVT p []))'