RE: current CVS version doesn't compile

2003-06-18 Thread Simon Marlow
 
 I'm trying to compile the latest version of GHC from CVS on Linux, but
 the build reproducibly fails at this point:
 
 main/SysTools.lhs:703:
 Couldn't match `IO ExitCode' against `t - t1'
 Expected type: IO ExitCode
 Inferred type: t - t1
 Probable cause: `rawSystem' is applied to too many 
 arguments in the call
 (rawSystem pgm real_args)
 In a 'do' expression: exit_code - rawSystem pgm real_args
 make[2]: *** [stage1/main/SysTools.o] Error 1
 make[1]: *** [all] Error 1
 make[1]: Leaving directory `/usr/local/src/ghc-current/ghc'
 
 Does anyone have an idea what's going wrong here?

What version of GHC are you compiling with?

Cheers,
Simon
___
Glasgow-haskell-users mailing list
[EMAIL PROTECTED]
http://www.haskell.org/mailman/listinfo/glasgow-haskell-users


Re: current CVS version doesn't compile

2003-06-18 Thread Peter Simons
Simon Marlow writes:

  What version of GHC are you compiling with?

The Glorious Glasgow Haskell Compilation System, version 6.1

I built this version from CVS as well, maybe two or three days before
the 6.0 version was released.

Peter
___
Glasgow-haskell-users mailing list
[EMAIL PROTECTED]
http://www.haskell.org/mailman/listinfo/glasgow-haskell-users


RE: current CVS version doesn't compile

2003-06-18 Thread Simon Marlow
 
 Simon Marlow writes:
 
   What version of GHC are you compiling with?
 
 The Glorious Glasgow Haskell Compilation System, version 6.1
 
 I built this version from CVS as well, maybe two or three days before
 the 6.0 version was released.

We only support compiling the CVS sources with:

  a. A released compiler (i.e. one ending in an even number), or
  b. itself.

So, building with a random 6.1 isn't supported, hence the build error.
You should start from 6.0.

Cheers,
Simon
___
Glasgow-haskell-users mailing list
[EMAIL PROTECTED]
http://www.haskell.org/mailman/listinfo/glasgow-haskell-users