[Haskell-cafe] install of ghc-8.0.1 failing

Michael Litchard litchard.michael at gmail.com
Thu Jan 5 22:58:34 UTC 2017


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.

It was created by The Glorious Glasgow Haskell Compilation System configure
8.0.1, which was
generated by GNU Autoconf 2.69.  Invocation command line was

  $ ./configure

## --------- ##
## Platform. ##
## --------- ##

hostname = ubuntu-ppc64
uname -m = ppc64
uname -r = 4.4.0-53-powerpc64-smp
uname -s = Linux
uname -v = #74-Ubuntu SMP Fri Dec 2 16:41:54 UTC 2016

/usr/bin/uname -p = unknown
/bin/uname -X     = unknown

/bin/arch              = unknown
/usr/bin/arch -k       = unknown
/usr/convex/getsysinfo = unknown
/usr/bin/hostinfo      = unknown
/bin/machine           = unknown
/usr/bin/oslevel       = unknown
/bin/universe          = unknown

PATH: /home/lambdafan/.cabal/bin
PATH: /home/lambdafan/bin
PATH: /home/lambdafan/.local/bin
PATH: /usr/local/sbin
PATH: /usr/local/bin
PATH: /usr/sbin
PATH: /usr/bin
PATH: /sbin
PATH: /bin
PATH: /usr/games
PATH: /usr/local/games
PATH: /snap/bin
PATH: /home/lambdafan/ghc-8.0.1

<snip>
configure: exit 0


Now, the error that make stops at

E: Unable to locate package gmake
lambdafan at ubuntu-ppc64:~/ghc-8.0.1$ make
===--- building phase 0
make --no-print-directory -f ghc.mk phase=0 phase_0_builds
make[1]: Nothing to be done for 'phase_0_builds'.
===--- building phase 1
make --no-print-directory -f ghc.mk phase=1 phase_1_builds
utils/genapply/ghc.mk:23: utils/genapply/dist/build/.depend.haskell: No
such file or directory
utils/genapply/ghc.mk:23: utils/genapply/dist/build/.depend.c_asm: No such
file or directory
make[1]: *** No rule to make target '/home/kgardas/sfw/ghc-7.10.1/
lib/ghc-7.10.1/base_I5BErHzyOm07EBNpKBEeUv/Prelude.hi', needed by
'utils/deriveConstants/dist/build/Main.o'.  Stop.
Makefile:129: recipe for target 'all' failed
make: *** [all] Error 2

I looked in
utils/genapply/dist/build/

to find only this

ls -la utils/genapply/dist/build/
total 12
drwxr-xr-x 3 lambdafan lambdafan 4096 Jan  4 13:07 .
drwxr-xr-x 3 lambdafan lambdafan 4096 Jan  4 13:07 ..
drwxr-xr-x 2 lambdafan lambdafan 4096 Jan  4 13:07 autogen

advice on how to proceed?
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.haskell.org/pipermail/haskell-cafe/attachments/20170105/29fd76e5/attachment.html>


More information about the Haskell-Cafe mailing list