<div dir="ltr"><div><div><div><div><div>I'm trying to install ghc-8.0.1 on ppc64 arch. Below is the truncated config.log, followed by the error that stops make.<br><br>It was created by The Glorious Glasgow Haskell Compilation System configure 8.0.1, which was<br>generated by GNU Autoconf 2.69.  Invocation command line was<br><br>  $ ./configure<br><br>## --------- ##<br>## Platform. ##<br>## --------- ##<br><br>hostname = ubuntu-ppc64<br>uname -m = ppc64<br>uname -r = 4.4.0-53-powerpc64-smp<br>uname -s = Linux<br>uname -v = #74-Ubuntu SMP Fri Dec 2 16:41:54 UTC 2016<br><br>/usr/bin/uname -p = unknown<br>/bin/uname -X     = unknown<br><br>/bin/arch              = unknown<br>/usr/bin/arch -k       = unknown<br>/usr/convex/getsysinfo = unknown<br>/usr/bin/hostinfo      = unknown<br>/bin/machine           = unknown<br>/usr/bin/oslevel       = unknown<br>/bin/universe          = unknown<br><br>PATH: /home/lambdafan/.cabal/bin<br>PATH: /home/lambdafan/bin<br>PATH: /home/lambdafan/.local/bin<br>PATH: /usr/local/sbin<br>PATH: /usr/local/bin<br>PATH: /usr/sbin<br>PATH: /usr/bin<br>PATH: /sbin<br>PATH: /bin<br>PATH: /usr/games<br>PATH: /usr/local/games<br>PATH: /snap/bin<br>PATH: /home/lambdafan/ghc-8.0.1<br><br></div><snip><br>configure: exit 0<br><br><br></div>Now, the error that make stops at<br><br>E: Unable to locate package gmake<br>lambdafan@ubuntu-ppc64:~/ghc-<wbr>8.0.1$ make<br>===--- building phase 0<br>make --no-print-directory -f <a target="_blank" href="http://ghc.mk">ghc.mk</a> phase=0 phase_0_builds<br>make[1]: Nothing to be done for 'phase_0_builds'.<br>===--- building phase 1<br>make --no-print-directory -f <a target="_blank" href="http://ghc.mk">ghc.mk</a> phase=1 phase_1_builds<br>utils/genapply/<a target="_blank" href="http://ghc.mk:23">ghc.mk:23</a>: utils/genapply/dist/build/.<wbr>depend.haskell: No such file or directory<br>utils/genapply/<a target="_blank" href="http://ghc.mk:23">ghc.mk:23</a>: utils/genapply/dist/build/.<wbr>depend.c_asm: No such file or directory<br>make[1]: *** No rule to make target '/home/kgardas/sfw/ghc-7.10.1/<wbr>lib/ghc-7.10.1/base_<wbr>I5BErHzyOm07EBNpKBEeUv/<wbr>Prelude.hi', needed by 'utils/deriveConstants/dist/<wbr>build/Main.o'.  Stop.<br>Makefile:129: recipe for target 'all' failed<br>make: *** [all] Error 2<br><br></div>I looked in <br>utils/genapply/dist/build/<br><br></div>to find only this<br><br>ls -la utils/genapply/dist/build/<br>total 12<br>drwxr-xr-x 3 lambdafan lambdafan 4096 Jan  4 13:07 .<br>drwxr-xr-x 3 lambdafan lambdafan 4096 Jan  4 13:07 ..<br>drwxr-xr-x 2 lambdafan lambdafan 4096 Jan  4 13:07 autogen<br><br></div>advice on how to proceed?</div>