Closed DeepSpawn closed 9 years ago
@gattschardo runs this with GHC-7.10. My guess would be that GHCJS has changed in incompatible ways. Too bad that they do not do releases yet.
Maybe they have merged the improved-base
branch into maste?
Can you try to check out revision c1b623
of GHCJS and see if it works with that?
Or even better: Try branch old-base-ghc-7.10 of GHCJS.
And read https://github.com/ghcjs/ghcjs/tree/old-base-ghc-7.10#build-the-libraries about what flags you have to pass to ghcjs-boot to get going. Sorry for the hassle, but GHCJS is quite a young technology.
For the record, I use
and GHC 7.10.1 to build successfully. So I suggest using the older ghcjs commit, if that doesn't fix it, the incompatibilty must be between 7.10.1 and 7.10.2.
I strongly doubt that it’s 7.10.2 vs. 7.10.1, as it is clearly a change in the ghcjs libraries.
@DeepSpawn, did you have success with the instructions on https://github.com/ghcjs/ghcjs/tree/old-base-ghc-7.10#build-the-libraries?
So have followed the instructions in the README in an attempt to get it building locally. The current version of GHCJS requires a newer version of GHC than the version mentioned in the repo. So I am using the following
'$ ghcjs --version The Glorious Glasgow Haskell Compilation System for JavaScript, version 0.2.0 (GHC 7.10.2)`
I am trying to build the master branch, commit 1eac53c9635d26bca4aa08d2b81138cff84d5adf The compilation error I get (when running make logic.js) is as follows,
Have I made a mistake somewhere or is this a real compilation error? (This is on a clean Ubuntu install so there should not be anything else causing problems)
Cheers, Gene Taylor