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

frode k mailinglist at klevstul.com
Wed Mar 16 22:05:45 CET 2011


I've spent some time trying to setup the Haskell Platform on CentOS 5.5:

# cat /proc/version
Linux version 2.6.18-028stab070.14 (root at rhel5-build-x64) (gcc version 4.1.2
20080704 (Red Hat 4.1.2-46)) #1 SMP Thu Nov 18 16:04:02 MSK 2010

I've compiled from source, similar to what is done here:

Installation of GHC 7.0.2 failed:
# ./configure --prefix=/usr/haskell-platform-2011.2.0.0/
checking for path to top of build tree...
utils/ghc-pwd/dist/build/tmp/ghc-pwd: /lib64/libc.so.6: version `GLIBC_2.9'
not found (required by utils/ghc-pwd/dist/build/tmp/ghc-pwd)
utils/ghc-pwd/dist/build/tmp/ghc-pwd: /lib64/libc.so.6: version `GLIBC_2.7'
not found (required by utils/ghc-pwd/dist/build/tmp/ghc-pwd)
configure: error: cannot determine current directory

I had to use GHS 6.12.3 which compiled without errors.

However when I tried installing the Haskell Platform I ran into problems.

Briefly, this is what I did and what happened trying to "make" it:



./configure --prefix=/usr/haskell-platform-2010.2.0.0/


# make
Scanning system for any installed Haskell Platform components...


New packages to install: None! All done.

"/usr/haskell-platform-2010.2.0.0/bin/ghc" "--make" "Setup" "-o" "Setup"
"-package" "Cabal-"
Linking Setup ...
collect2: ld terminated with signal 15 [Terminated]

Compiling the Setup script failed
make: *** [build.stamp] Error 2

I first thought it was related to the fact that Cabal was using the /tmp
directory for executables, but the alias trick (alias cabal="TMPDIR=/foo
cabal") did not help.

Anyone have got any ideas on what might be causing this? Can it me any
missing dependencies? I've gone through the list described at
http://www.vex.net/~trebla/haskell/haskell-platform.xhtml and used "yum
install" to get the software mentioned.

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.haskell.org/pipermail/haskell-cafe/attachments/20110316/d17f7af4/attachment.htm>

More information about the Haskell-Cafe mailing list