[Haskell-cafe] ghc installation on redhat7

CRUMEYROLLE Pierre pierre.crumeyrolle at c-s.fr
Mon Nov 7 09:45:55 UTC 2016

y want to install from source ghc 7.10  on red hat 7
y have installed by rpm method ghc 7.6.3 on my host because for  
generate ghc it's necessary to have pre install a ghc compiler. y have  
also perl version 5.16.3 installed.

y have downloaded on https://www.haskell.org/ghc/download_ghc_7_10_1  
the source distribution  ghc-7.10.1-src.tar.bz2

after tar xvf ghc-7.10.1-src.tar.bz2

y launch
./configure --prefix=$HOME

y have this error "Could not find module `System.Directory'"

my trace below, thanks for explain

$ ./configure --prefix=$HOME
checking for gfind... no
checking for find... /usr/bin/find
checking for sort... /usr/bin/sort
checking for GHC Git commit id... given  
checking for ghc... /usr/bin/ghc
checking version of ghc... 7.6.3
checking build system type... x86_64-unknown-linux-gnu
checking host system type... x86_64-unknown-linux-gnu
checking target system type... x86_64-unknown-linux-gnu
Build platform inferred as: x86_64-unknown-linux
Host platform inferred as: x86_64-unknown-linux
Target platform inferred as: x86_64-unknown-linux
GHC build  : x86_64-unknown-linux
GHC host   : x86_64-unknown-linux
GHC target : x86_64-unknown-linux
configure: Building in-tree ghc-pwd

     Could not find module `System.Directory'
     Use -v to see a list of the files searched for.
configure: error: Building ghc-pwd failed

best regards

More information about the Haskell-Cafe mailing list