Opened 4 years ago

Closed 4 years ago

#6164 closed bug (invalid)

GHC installation configure error

Reported by: rohithkumar-av Owned by:
Priority: normal Milestone:
Component: GHCi Version: 7.4.2
Keywords: Cc:
Operating System: Linux Architecture: Unknown/Multiple
Type of failure: GHC rejects valid program Test Case:
Blocked By: Blocking:
Related Tickets: Differential Rev(s):
Wiki Page:



I was trying to install Haskell from this link

Got this issue in it. After this step $ cd ghc-7.0.4

:~/ghc-7.0.4$ ./configure

checking for path to top of build tree... ./configure: line 1792: utils/ghc-pwd/dist/build/tmp/ghc-pwd: cannot execute binary file configure: error: cannot determine current directory

I have ubuntu 12.04.

Kindly help what to do

Change History (5)

comment:1 Changed 4 years ago by rohithkumar-av

  • Operating System changed from Unknown/Multiple to Linux
  • Type of failure changed from None/Unknown to GHC rejects valid program

comment:2 Changed 4 years ago by simonmar

  • difficulty set to Unknown
  • Resolution set to invalid
  • Status changed from new to closed

On Ubuntu 12.04 you can use sudo apt-get install ghc to install GHC. Alternatively use sudo apt-get install haskell-platform to install the Haskell Platform, which includes GHC.

comment:3 Changed 4 years ago by rohithkumar-av

I downloaded the software. And your commands would make me download whole thing again

comment:4 Changed 4 years ago by rohithkumar-av

  • Resolution invalid deleted
  • Status changed from closed to new

comment:5 Changed 4 years ago by pcapriotti

  • Resolution set to invalid
  • Status changed from new to closed

Looks like you downloaded a GHC tarball for the wrong architecture. You are probably on 32bit linux, and are trying to install GHC using a 64bit binary package.

In any case, you should really be using Ubuntu's package manager (apt-get) to install GHC or the Haskell Platform, as suggested by Simon.

Note: See TracTickets for help on using tickets.