Cannot build boot libraries against in-place install of ghc #313

Open
edsko opened this Issue Mar 16, 2015 · 1 comment

Projects

None yet

2 participants

@edsko
edsko commented Mar 16, 2015

Running ghcjs-boot --dev goes through the configure stage okay, checks out all the submodules and applies whatever patches are available, but then fails with

preparing primops
/Users/e/.ghcjs/x86_64-darwin-0.1.0-7.8.4.20141229/ghcjs/ghcjs-boot/data$ mkdir_p native
/Users/e/.ghcjs/x86_64-darwin-0.1.0-7.8.4.20141229/ghcjs/ghcjs-boot/data$ cp /Users/e/ghc/7.8.4/inplace/lib/include/MachDeps.h -> native
ghcjs-boot: 
during copy from: /Users/e/ghc/7.8.4/inplace/lib/include/MachDeps.h to: /Users/e/.ghcjs/x86_64-darwin-0.1.0-7.8.4.20141229/ghcjs/ghcjs-boot/data/native/MachDeps.h
Exception: /Users/e/ghc/7.8.4/inplace/lib/include/MachDeps.h: openBinaryFile: does not exist (No such file or directory)

Note that it's looking for MachDeps.h in the wrong place for an in-place install of ghc (should be /Users/e/ghc-7.8.4/includes/MachDeps.h).

Not a high priority problem of course, most people won't be working with in-place ghc installs :)

@luite
Member
luite commented Jun 21, 2015

is there an easy way to find the location, using something similar to ghc --print-libdir perhaps?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment