Issues face while building glassgow haskell compiler package on power - ppc64le - architecture
I am a newbie to GHC platform. I am trying to port GHC to my power architecture , and whilst following the below:
- wget http://www.haskell.org/ghc/dist/7.6.3/ghc-7.6.3-src.tar.bz2
- tar xjvf ghc-7.6.3-src.tar.bz2
- cd ghc-7.6.3
- ./configure --enable-hc-boot --enable-hc-boot-unregisterised
- make
- sudo make install
I am getting below errors while performing above step 4 :
configure: WARNING: unrecognized options: --enable-hc-boot-unregisterised checking for gfind... no checking for find... /usr/bin/find checking for sort... /usr/bin/sort checking for ghc... no checking build system type... ./config.guess: unable to guess system type
This script, last modified 2012-02-10, has failed to recognize the operating system you are using. It is advised that you download the most up to date version of the config scripts from
http://git.savannah.gnu.org/gitweb/?p=config.git;a=blob_plain;f=config.guess;hb=HEAD
and
http://git.savannah.gnu.org/gitweb/?p=config.git;a=blob_plain;f=config.sub;hb=HEAD
If the version you run (./config.guess) is already up to date, please send the following data and any information you think might be pertinent to <config-patches@gnu.org> in order to provide the needed information to handle your system.
config.guess timestamp = 2012-02-10
uname -m = ppc64le uname -r = 3.16.0-23-generic uname -s = Linux uname -v = #31 (closed)-Ubuntu SMP Tue Oct 21 17:55:08 UTC 2014
/usr/bin/uname -p = /bin/uname -X =
hostinfo = /bin/universe = /usr/bin/arch -k = /bin/arch = /usr/bin/oslevel = /usr/convex/getsysinfo =
UNAME_MACHINE = ppc64le UNAME_RELEASE = 3.16.0-23-generic UNAME_SYSTEM = Linux UNAME_VERSION = #31 (closed)-Ubuntu SMP Tue Oct 21 17:55:08 UTC 2014 configure: error: cannot guess build type; you must specify one
My system arch is as below : $ lscpu Architecture: ppc64le Byte Order: Little Endian CPU(s): 2 On-line CPU(s) list: 0,1 Thread(s) per core: 1 Core(s) per socket: 2 Socket(s): 1 NUMA node(s): 1 Model: IBM pSeries (emulated by qemu) Hypervisor vendor: KVM Virtualization type: full L1d cache: 64K L1i cache: 32K NUMA node0 CPU(s): 0,1
Any pointers in above will be greatly appreciated.
Trac metadata
Trac field | Value |
---|---|
Version | 7.6.3 |
Type | Bug |
TypeOfFailure | OtherFailure |
Priority | normal |
Resolution | Unresolved |
Component | Compiler |
Test case | |
Differential revisions | |
BlockedBy | |
Related | |
Blocking | |
CC | |
Operating system | Unknown/Multiple |
Architecture | Unknown/Multiple |