installing haskell

Asked by Mustafa

To install Haskell I firstly download and install ghc then I should install haskell-platform 2010.2.0.0 as stated in the offical website of Haskell.Hovewer when I download and try to ./configure file I take following error and I could not fix it.I already had
 libgmp3-dev. installed or C libraries. I am using Ubuntu 10.10 version.How can I fix this problem?
ghci is not also working.
.

**************************************************
*
* Haskell Platform Source Installer
*
* For the Haskell Platform 2010.2.0.0 and GHC 6.12.3
*
**************************************************
checking build system type... i686-pc-linux-gnu
checking host system type... i686-pc-linux-gnu
checking target system type... i686-pc-linux-gnu
checking for ghc... /usr/local/bin/ghc
checking for ghc-pkg... /usr/local/bin/ghc-pkg
checking for hsc2hs... /usr/local/bin/hsc2hs
checking version of ghc... 6.12.3
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.)

Question information

Language:
English Edit question
Status:
Answered
For:
Ubuntu ghc6 Edit question
Assignee:
No assignee Edit question
Last query:
Last reply:
Revision history for this message
David Jones (dj) said :
#1

  Maybe try using instruction here http://www.haskell.org/haskellwiki/Haskell

   David
   in TN

Revision history for this message
rpkrawczyk (rpkrawczyk) said :
#2

Why not use the one from a package? Just use "apt-get install ghc"!

Can you help with this problem?

Provide an answer of your own, or ask Mustafa for more information if necessary.

To post a message you must log in.