[Haskell-cafe] statistics build error

Keith Sheppard keithshep at gmail.com
Fri Apr 16 13:08:52 EDT 2010


I ran into this error while trying to install statistics. Does this
indicate that I need to upgrade my GHC before I can install?

kss at CATSKILL:~/projects/> cabal update
Downloading the latest package list from hackage.haskell.org

kss at CATSKILL:~/projects/> cabal install statistics
Resolving dependencies...
Downloading erf-
Configuring erf-
Preprocessing library erf-
Building erf-
[1 of 1] Compiling Data.Number.Erf  ( src/Data/Number/Erf.hs,
dist/build/Data/Number/Erf.o )
ar: creating archive dist/build/libHSerf-
Installing library in /Users/kss/.cabal/lib/erf-
Registering erf-
Reading package info from "dist/installed-pkg-config" ... done.
Writing new package config file... done.
Downloading primitive-0.2.1...
Configuring primitive-0.2.1...
Preprocessing library primitive-0.2.1...
Building primitive-0.2.1...
[1 of 7] Compiling Data.Primitive.MachDeps (
Data/Primitive/MachDeps.hs, dist/build/Data/Primitive/MachDeps.o )
[2 of 7] Compiling Control.Monad.Primitive (
Control/Monad/Primitive.hs, dist/build/Control/Monad/Primitive.o )
[3 of 7] Compiling Data.Primitive.Types ( Data/Primitive/Types.hs,
dist/build/Data/Primitive/Types.o )
[4 of 7] Compiling Data.Primitive.Array ( Data/Primitive/Array.hs,
dist/build/Data/Primitive/Array.o )
[5 of 7] Compiling Data.Primitive.ByteArray (
Data/Primitive/ByteArray.hs, dist/build/Data/Primitive/ByteArray.o )

    Not in scope: `newAlignedPinnedByteArray#'
cabal: Error: some packages failed to install:
mwc-random- depends on primitive-0.2.1 which failed to install.
primitive-0.2.1 failed during the building phase. The exception was:
exit: ExitFailure 1
statistics- depends on primitive-0.2.1 which failed to install.
vector-0.5 depends on primitive-0.2.1 which failed to install.
vector-algorithms-0.3.1 depends on primitive-0.2.1 which failed to install.

Thanks, Keith


More information about the Haskell-Cafe mailing list