Can't install Criterion package on ghc ..

Simon Peyton-Jones simonpj at microsoft.com
Wed Apr 14 10:24:31 EDT 2010


Can you check?  If it still happens with 6.12, please submit a bug report.
If 6.10 can't compile criterion, you might want to add a constraint to the Cabal meta-data.

Simon

| -----Original Message-----
| From: glasgow-haskell-users-bounces at haskell.org [mailto:glasgow-haskell-
| users-bounces at haskell.org] On Behalf Of John Lato
| Sent: 13 April 2010 16:15
| To: Mozhgan kabiri
| Cc: glasgow-haskell-users at haskell.org
| Subject: Re: Can't install Criterion package on ghc ..
| 
| > From: Mozhgan kabiri <mozhgan.kabiri at gmail.com>
| >
| > Hi,
| >
| > I am trying to install Criterion package, but I keep getting an error and I
| > can't figure it out why it is like this !!
| >
| > mozhgan at Mozhgan-KCh:~$ cabal install Criterion
| > Resolving dependencies...
| > Configuring vector-algorithms-0.3...
| > Preprocessing library vector-algorithms-0.3...
| > Building vector-algorithms-0.3...
| ...
| 
| > [8 of 9] Compiling Data.Vector.Algorithms.Intro (
| > Data/Vector/Algorithms/Intro.hs, dist/build/Data/Vector/Algorithms/Intro.o
| )
| > ghc: panic! (the 'impossible' happened)
| >  (GHC version 6.10.4 for i386-unknown-linux):
| >    idInfo co{v a9WB} [tv]
| 
| This is definitely a bug in GHC, most likely related to type families
| and fixed in GHC-6.12.x
| 
| If you can upgrade to ghc-6.12.1, that should solve this problem.  If
| you need to remain on ghc-6.10.4, try installing an older version of
| criterion.  You can do this with 'cabal install criterion-0.4.1.0'
| Criterion-0.5 is the first version to depend upon vector-algorithms,
| so any previous version has a chance of working.
| 
| John
| _______________________________________________
| Glasgow-haskell-users mailing list
| Glasgow-haskell-users at haskell.org
| http://www.haskell.org/mailman/listinfo/glasgow-haskell-users



More information about the Glasgow-haskell-users mailing list