koka-lang / koka

Koka language compiler and interpreter
http://koka-lang.org
Other
3.17k stars 153 forks source link

Error when building #11

Closed danr closed 7 years ago

danr commented 7 years ago

Hey Daan! Got inspired to try Koka, but I get the installation error below.

I don't know why cabal isn't used, so I'm a bit puzzled about how to continue from here:

[12:45|~/build/koka] 
$ sudo jake 
build: koka 0.8.0-dev (debug version)
> ghc -c src/Lib/Printer.hs -fwarn-incomplete-patterns -iout/debug -odir out...
/debug -hidir out/debug
src/Lib/Printer.hs:37:1: error:
    Failed to load interface for ‘Data.Text’
    Perhaps you meant Data.Set (from containers-0.5.7.1)
    Use -v to see a list of the files searched for.

src/Lib/Printer.hs:38:1: error:
    Failed to load interface for ‘Data.Text.IO’
    Use -v to see a list of the files searched for.
command failed with exit code 1.
[12:45|~/build/koka] 
$ ghc --version
The Glorious Glasgow Haskell Compilation System, version 8.0.1
[12:45|~/build/koka] 
$ git show | head
commit d1eb97825983d3ba1af37eca60c8dcca5b12a982
Author: daanx <daan@microsoft.com>
Date:   Mon Feb 13 15:06:56 2017 -0800

    parse qualified identifiers and operators first

Cheers!

danr commented 7 years ago

Managed to build without using sudo, then ghc finds the locally installed libraries (text).

/Dan