
Hello 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 ca00def1d7093d6b5b2a937ddfc8a01c152038eb 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 utils/ghc-pwd/Main.hs:4:8: 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

On Mon, Nov 7, 2016 at 4:45 AM, CRUMEYROLLE Pierre < pierre.crumeyrolle@c-s.fr> wrote:
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.
From where did you get that package? I don't see any ghc version in the centos 7/rhel7 repos.
You probably need additional packages to get the "directory" (ghc-)package. -- brandon s allbery kf8nh sine nomine associates allbery.b@gmail.com ballbery@sinenomine.net unix, openafs, kerberos, infrastructure, xmonad http://sinenomine.net

hello
y have perl -5 installed
y have downloaded ghc-7.10.3b-src.tar.bz2 =>
https://www.haskell.org/ghc/download_ghc_7_10_3 ( source distribution )
Source Distribution
The source tarballs provide everything necessary to build the
compiler, interactive system, and a minimal set of libraries. For more
information on building, see the building guide.
ghc-7.10.3b-src.tar.bz2 (13 MB, sig)
y have pre installed ghc 7.6.3
Brandon Allbery
On Mon, Nov 7, 2016 at 4:45 AM, CRUMEYROLLE Pierre < pierre.crumeyrolle@c-s.fr> wrote:
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.
From where did you get that package? I don't see any ghc version in the centos 7/rhel7 repos.
You probably need additional packages to get the "directory" (ghc-)package.
-- brandon s allbery kf8nh sine nomine associates allbery.b@gmail.com ballbery@sinenomine.net unix, openafs, kerberos, infrastructure, xmonad http://sinenomine.net
participants (2)
-
Brandon Allbery
-
CRUMEYROLLE Pierre