[Barrelfish-users] build error: Main.hs: Expecting one more argument to ‘Exp’
Timothy Roscoe
troscoe at inf.ethz.ch
Sat Apr 29 19:29:45 CEST 2017
Dear Michael,
This is most likely a Haskell problem - the glorious Glasgow Haskell
people like to make subtle incompatible changes to their compiler with
each new version.
As a rule, we always support (and our CI tests run on) a reasonably
recent version of Ubuntu LTS - right now that's 16.04 (Xenial), which
ships with GHC version 7.10.3. I'd suggest trying that, and let us
know if the problem persists.
Best regards,
-- Mothy
At Sat, 29 Apr 2017 16:03:33 +0000, Michael Neilly <mneilly at yahoo.com> wrote:
> Hello, I thought I'd take a look at barrelfish. I have cloned the git repo and am attempting to build from mastesr but I am seeing the following error. Any suggestions on how I can resolve this? Thx!
> $ ghc --versionThe Glorious Glasgow Haskell Compilation System, version 8.0.1
> $ ../hake/hake.sh -s ../ -a x86_64Install directory defaulting to '.'Source directory is ../Architectures to build: "x86_64"Setting up hake build directory...You already have Config.hs, leaving it as-is.Building hake...[13 of 13] Compiling Main ( ../hake/Main.hs, hake/Main.o )
> ../hake/Main.hs:348:43: error: • Expecting one more argument to ‘Exp’ Expected a type, but ‘Exp’ has kind ‘* -> *’ • In the first argument of ‘Either’, namely ‘Exp’ In the type signature: parseHake :: FilePath -> String -> Either Exp HakeError
> ../hake/Main.hs:406:25: error: • Expecting one more argument to ‘Exp’ Expected a type, but ‘Exp’ has kind ‘* -> *’ • In the type signature: wrapHake :: FilePath -> Exp -> Exp
> ../hake/Main.hs:406:32: error: • Expecting one more argument to ‘Exp’ Expected a type, but ‘Exp’ has kind ‘* -> *’ • In the type signature: wrapHake :: FilePath -> Exp -> Exp$
More information about the Barrelfish-users
mailing list