Opened 5 years ago

Closed 5 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 5 years ago by rohithkumar-av

Operating System: Unknown/MultipleLinux
Type of failure: None/UnknownGHC rejects valid program

comment:2 Changed 5 years ago by simonmar

difficulty: Unknown
Resolution: invalid
Status: newclosed

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 5 years ago by rohithkumar-av

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

comment:4 Changed 5 years ago by rohithkumar-av

Resolution: invalid
Status: closednew

comment:5 Changed 5 years ago by pcapriotti

Resolution: invalid
Status: newclosed

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.