Trying to compile GHC7 from source (as the ubuntu repository is still on
GHC6), I came across the following error in the final phase:

libraries/base/GHC/ST.lhs:78:1:
    You cannot SPECIALISE `forever'
      because its definition has no INLINE/INLINABLE pragma
      (or its defining module `Control.Monad' was compiled without -O)

This was after:

  git clone [...]
  ./sync-all get
  perl boot
  ./configure
  make

Is there some problem with trying to build GHC7 on a machine with GHC6,
or did I just get the build procedure wrong (the last line of the error
looks like a hint that I did).

-- 
Scott Lawrence

Attachment: signature.asc
Description: OpenPGP digital signature

_______________________________________________
Haskell-Cafe mailing list
[email protected]
http://www.haskell.org/mailman/listinfo/haskell-cafe

Reply via email to