[Haskell-cafe] Installation of Haskell Platform on CentOS 5.5

frode k mailinglist at klevstul.com
Wed Mar 23 11:41:06 CET 2011


On Mon, Mar 21, 2011 at 5:57 PM, Ketil Malde <ketil at malde.org> wrote:

> I got gcc44 (RHEL package) installed, but the suggested (by ./configure
> --help) "./configure CC=gcc44" doesn't seem to do anything, this seems
> to be a documentation bug.
>

The command should be "-with-gcc". I've used the following command to
configure the installation:
./configure --prefix=/usr/haskell/2011.2.0.0/ --with-gcc=/usr/bin/gcc44

I've at this stage also finally managed to install GHC 7.0.2. However when I
downloaded and tried to install the Haskell Platform 2011.2.0.0 I ran into
more problems. It seems like this happen when installing Cabal /
transformers. I get the error message (full output further down):

Implicit import declaration:
    Could not find module `Prelude':
      Perhaps you haven't installed the profiling libraries for package
`base'?
      Use -v to see a list of the files searched for.

I've searched but so far haven't found any solution to this issue. Any idea
how to solve this? How can I install profiling libraries for package 'base'?

[k]


----- entire output -----
# make
scripts/build.sh
**************************************************
Scanning system for any installed Haskell Platform components...

Found:None.

New packages to install: None! All done.

**************************************************
Building transformers-0.2.2.0
"/usr/haskell/2011.2.0.0/bin//ghc" "--make" "Setup" "-o" "Setup" "-package"
"Cabal-1.10.1.0"
[1 of 1] Compiling Main             ( Setup.hs, Setup.o )
Linking Setup ...
"./Setup" "configure" "--package-db=../../packages/package.conf.inplace"
"--prefix=/usr/haskell/2011.2.0.0"
"--with-compiler=/usr/haskell/2011.2.0.0/bin//ghc"
"--with-hc-pkg=/usr/haskell/2011.2.0.0/bin//ghc-pkg"
"--with-hsc2hs=/usr/haskell/2011.2.0.0/bin//hsc2hs"
"--enable-library-profiling"
"--ghc-pkg-option=--package-conf=../../packages/package.conf.inplace"
Configuring transformers-0.2.2.0...
"./Setup" "build"
Preprocessing library transformers-0.2.2.0...
Building transformers-0.2.2.0...
[ 1 of 21] Compiling Data.Functor.Product ( Data/Functor/Product.hs,
dist/build/Data/Functor/Product.o )
[ 2 of 21] Compiling Data.Functor.Constant ( Data/Functor/Constant.hs,
dist/build/Data/Functor/Constant.o )
[ 3 of 21] Compiling Data.Functor.Compose ( Data/Functor/Compose.hs,
dist/build/Data/Functor/Compose.o )
[ 4 of 21] Compiling Data.Functor.Identity ( Data/Functor/Identity.hs,
dist/build/Data/Functor/Identity.o )
[ 5 of 21] Compiling Control.Monad.Trans.Class (
Control/Monad/Trans/Class.hs, dist/build/Control/Monad/Trans/Class.o )
[ 6 of 21] Compiling Control.Monad.IO.Class ( Control/Monad/IO/Class.hs,
dist/build/Control/Monad/IO/Class.o )
[ 7 of 21] Compiling Control.Monad.Trans.Cont ( Control/Monad/Trans/Cont.hs,
dist/build/Control/Monad/Trans/Cont.o )
[ 8 of 21] Compiling Control.Monad.Trans.Error (
Control/Monad/Trans/Error.hs, dist/build/Control/Monad/Trans/Error.o )
[ 9 of 21] Compiling Control.Monad.Trans.Identity (
Control/Monad/Trans/Identity.hs, dist/build/Control/Monad/Trans/Identity.o )
[10 of 21] Compiling Control.Monad.Trans.List ( Control/Monad/Trans/List.hs,
dist/build/Control/Monad/Trans/List.o )
[11 of 21] Compiling Control.Monad.Trans.Maybe (
Control/Monad/Trans/Maybe.hs, dist/build/Control/Monad/Trans/Maybe.o )
[12 of 21] Compiling Control.Monad.Trans.Reader (
Control/Monad/Trans/Reader.hs, dist/build/Control/Monad/Trans/Reader.o )
[13 of 21] Compiling Control.Monad.Trans.RWS.Lazy (
Control/Monad/Trans/RWS/Lazy.hs, dist/build/Control/Monad/Trans/RWS/Lazy.o )
[14 of 21] Compiling Control.Monad.Trans.RWS ( Control/Monad/Trans/RWS.hs,
dist/build/Control/Monad/Trans/RWS.o )
[15 of 21] Compiling Control.Monad.Trans.RWS.Strict (
Control/Monad/Trans/RWS/Strict.hs,
dist/build/Control/Monad/Trans/RWS/Strict.o )
[16 of 21] Compiling Control.Monad.Trans.State.Lazy (
Control/Monad/Trans/State/Lazy.hs,
dist/build/Control/Monad/Trans/State/Lazy.o )
[17 of 21] Compiling Control.Monad.Trans.State (
Control/Monad/Trans/State.hs, dist/build/Control/Monad/Trans/State.o )
[18 of 21] Compiling Control.Monad.Trans.State.Strict (
Control/Monad/Trans/State/Strict.hs,
dist/build/Control/Monad/Trans/State/Strict.o )
[19 of 21] Compiling Control.Monad.Trans.Writer.Lazy (
Control/Monad/Trans/Writer/Lazy.hs,
dist/build/Control/Monad/Trans/Writer/Lazy.o )
[20 of 21] Compiling Control.Monad.Trans.Writer (
Control/Monad/Trans/Writer.hs, dist/build/Control/Monad/Trans/Writer.o )
[21 of 21] Compiling Control.Monad.Trans.Writer.Strict (
Control/Monad/Trans/Writer/Strict.hs,
dist/build/Control/Monad/Trans/Writer/Strict.o )

Implicit import declaration:
    Could not find module `Prelude':
      Perhaps you haven't installed the profiling libraries for package
`base'?
      Use -v to see a list of the files searched for.

Error:
Building the transformers-0.2.2.0 package failed
make: *** [build.stamp] Error 2
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.haskell.org/pipermail/haskell-cafe/attachments/20110323/aa9c9166/attachment.htm>


More information about the Haskell-Cafe mailing list