[Haskell-cafe] statistics build error

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


Hello,

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-1.0.0.0...
Configuring erf-1.0.0.0...
Preprocessing library erf-1.0.0.0...
Building erf-1.0.0.0...
[1 of 1] Compiling Data.Number.Erf  ( src/Data/Number/Erf.hs,
dist/build/Data/Number/Erf.o )
ar: creating archive dist/build/libHSerf-1.0.0.0.a
Installing library in /Users/kss/.cabal/lib/erf-1.0.0.0/ghc-6.10.1
Registering erf-1.0.0.0...
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 )

Data/Primitive/ByteArray.hs:57:27:
    Not in scope: `newAlignedPinnedByteArray#'
cabal: Error: some packages failed to install:
mwc-random-0.5.0.0 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-0.5.1.0 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

-- 
keithsheppard.name


More information about the Haskell-Cafe mailing list