[Haskell-cafe] Re: statistics build error

2010-04-16 Thread Keith Sheppard
Sorry, I forgot to add my ghc version is 6.10.1 on OSX

k...@catskill:~/projects/ ghc --version
The Glorious Glasgow Haskell Compilation System, version 6.10.1


On Fri, Apr 16, 2010 at 1:08 PM, Keith Sheppard keiths...@gmail.com wrote:
 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?

 k...@catskill:~/projects/ cabal update
 Downloading the latest package list from hackage.haskell.org

 k...@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




-- 
keithsheppard.name
___
Haskell-Cafe mailing list
Haskell-Cafe@haskell.org
http://www.haskell.org/mailman/listinfo/haskell-cafe


Re: [Haskell-cafe] Re: statistics build error

2010-04-16 Thread Daniel Fischer
Am Freitag 16 April 2010 19:11:13 schrieb Keith Sheppard:
 Sorry, I forgot to add my ghc version is 6.10.1 on OSX

 k...@catskill:~/projects/ ghc --version
 The Glorious Glasgow Haskell Compilation System, version 6.10.1

 On Fri, Apr 16, 2010 at 1:08 PM, Keith Sheppard keiths...@gmail.com 
wrote:
  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?

Seems so, newAlignedPinnedByteArray# isn't in 6.10.1's GHC.Prim, but it's 
in 6.10.3's (and 6.12.1's). Since also primitive-0.1 uses it, upgrading GHC 
is the only option I see.

 
 
  Thanks, Keith
 
  --
  keithsheppard.name

___
Haskell-Cafe mailing list
Haskell-Cafe@haskell.org
http://www.haskell.org/mailman/listinfo/haskell-cafe