[Haskell-cafe] Installation issues with Centos
Manish Trivedi
trivmanish at gmail.com
Mon Sep 3 03:26:23 CEST 2012
# uname -a
Linux <<hosename>> 2.6.32-220.2.1.el6.centos.plus.x86_64 #1 SMP Thu Dec 22
23:32:31 GMT 2011 x86_64 x86_64 x86_64 GNU/Linux
# cat /proc/version
Linux version 2.6.32-220.2.1.el6.centos.plus.x86_64 (
mockbuild at c6b18n3.bsys.dev.centos.org) (gcc version 4.4.6 20110731 (Red Hat
4.4.6-3) (GCC) ) #1 SMP Thu Dec 22 23:32:31 GMT 2011
I am trying to install Haskell framework on this server.
- Installation for GHC went ok. no error
- Installed ghc-7.4.1 from "ghc-7.4.1-x86_64-unknown-linux.tar"
then while trying to install (in configure step) Haskell platform version
2012.2.0.0.
I get following error:
[root at qa-engine1 haskell-platform-2012.2.0.0]# ./configure
**************************************************
*
* Haskell Platform Source Installer
*
* For the Haskell Platform 2012.2.0.0 and GHC 7.4.1
*
**************************************************
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
checking for ghc... /usr/local/lib/ghc-7.4.1/ghc
checking for ghc-pkg... /usr/local/lib/ghc-7.4.1/ghc-pkg
checking for hsc2hs... /usr/local/lib/ghc-7.4.1/hsc2hs
checking version of ghc... 7.4.1
checking version of ghc-pkg matches... yes
checking ghc actually works... no
configure: error: Your installation of ghc does not appear to work.
It cannot compile a simple program (see config.log for the details).
If you installed ghc from a generic binary tarball then it is worth
checking that you have the 'gmp' C library and header files installed.
(On Debian-based systems this package is called libgmp3-dev.)
====================================
I have made sure that libc and gmp are indeed installed.
while trying use yum to make sure I have gmp installed.
====================================
[root at qa-engine1 haskell-platform-2012.2.0.0]# yum install gmp
Loaded plugins: fastestmirror
Loading mirror speeds from cached hostfile
* base: mirror.stanford.edu
* extras: centos.mirror.facebook.net
* updates: mirror.stanford.edu
Setting up Install Process
Package gmp-4.3.1-7.el6_2.2.x86_64 already installed and latest version
Nothing to do
========================================
Any help is appreciated.
Btw, I could make haskell latest version work on my mac osx.
-Manish
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.haskell.org/pipermail/haskell-cafe/attachments/20120902/61d0d6da/attachment-0001.htm>
More information about the Haskell-Cafe
mailing list