Building ghc-ios fails with older version of hoopl
I'm building ghc-ios for the first time and ran into this: compiler/cmm/BlockId.hs:18:8: Could not find module `Compiler.Hoopl.GHC' It is a member of the hidden package `hoopl-3.8.7.3'. Use -v to see a list of the files searched for. make[1]: *** [compiler/stage1/build/.depend-v.haskell] Error 1 make: *** [all] Error 2 Installing hoopl version 3.8.7.4 doesn't help. It seems someone using ghcjs also ran into the problem: https://github.com/ghcjs/ghcjs/issues/40 I'm currently building with GHC 7.4.2 from the Haskell Platform 2012.4.0.0. I'll build GHC 7.4.1 and then see if I run into the same issue. -- Peter Jones --- Love to Develop 303-219-0226 http://devalot.com
I ran into the same thing a few days ago. I'm not sure why, but I've only
seen it intermittently since. It seemed like a configuration issue.
- Alex
On Feb 21, 2013 3:55 PM, "Peter Jones"
I'm building ghc-ios for the first time and ran into this:
compiler/cmm/BlockId.hs:18:8: Could not find module `Compiler.Hoopl.GHC' It is a member of the hidden package `hoopl-3.8.7.3'. Use -v to see a list of the files searched for. make[1]: *** [compiler/stage1/build/.depend-v.haskell] Error 1 make: *** [all] Error 2
Installing hoopl version 3.8.7.4 doesn't help.
It seems someone using ghcjs also ran into the problem:
https://github.com/ghcjs/ghcjs/issues/40
I'm currently building with GHC 7.4.2 from the Haskell Platform 2012.4.0.0. I'll build GHC 7.4.1 and then see if I run into the same issue.
-- Peter Jones --- Love to Develop 303-219-0226 http://devalot.com
_______________________________________________ iPhone mailing list iPhone@haskell.org http://www.haskell.org/mailman/listinfo/iphone
Peter Jones
I'm building ghc-ios for the first time and ran into this:
compiler/cmm/BlockId.hs:18:8: Could not find module `Compiler.Hoopl.GHC' It is a member of the hidden package `hoopl-3.8.7.3'. Use -v to see a list of the files searched for. make[1]: *** [compiler/stage1/build/.depend-v.haskell] Error 1 make: *** [all] Error 2
This actually doesn't have anything to do with the currently installed hoopl package, it's related to the hoopl package tucked away in the libraries directory. If you do a fresh checkout of ghc-ios you wind up with too new of a version of libraries/hoopl. The fix is to checkout the remotes/origin/ghc-7.4 branch. The same applies to libraries/directory and libraries/process. I'm maintaining a script to keep this all straight: https://github.com/pjones/ghc-ios-util/blob/master/ghc/checkout.sh -- Peter Jones --- Love to Develop 303-219-0226 http://devalot.com
Cool. Thanks. I've been meaning to start up some scripts for this myself,
so I'll give yours a shot.
On a related note, ghc-ios/master-merge-ios currently has some bad
submodule refs in the way of libraries/Win32 and containers. What's up with
that?
- Alex
On Feb 22, 2013 11:54 AM, "Peter Jones"
Peter Jones
writes: I'm building ghc-ios for the first time and ran into this:
compiler/cmm/BlockId.hs:18:8: Could not find module `Compiler.Hoopl.GHC' It is a member of the hidden package `hoopl-3.8.7.3'. Use -v to see a list of the files searched for. make[1]: *** [compiler/stage1/build/.depend-v.haskell] Error 1 make: *** [all] Error 2
This actually doesn't have anything to do with the currently installed hoopl package, it's related to the hoopl package tucked away in the libraries directory.
If you do a fresh checkout of ghc-ios you wind up with too new of a version of libraries/hoopl. The fix is to checkout the remotes/origin/ghc-7.4 branch.
The same applies to libraries/directory and libraries/process.
I'm maintaining a script to keep this all straight:
https://github.com/pjones/ghc-ios-util/blob/master/ghc/checkout.sh
-- Peter Jones --- Love to Develop 303-219-0226 http://devalot.com
_______________________________________________ iPhone mailing list iPhone@haskell.org http://www.haskell.org/mailman/listinfo/iphone
participants (2)
-
Alex Carter -
Peter Jones