Ticket #6164 (closed bug: invalid)

Opened 11 months ago

Last modified 11 months ago

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 Difficulty: Unknown
Test Case: Blocked By:
Blocking: Related Tickets:

Description

Hi,

I was trying to install Haskell from this link  https://gist.github.com/1524859

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

Changed 11 months ago by rohithkumar-av

  • failure changed from None/Unknown to GHC rejects valid program
  • os changed from Unknown/Multiple to Linux

Changed 11 months ago by simonmar

  • status changed from new to closed
  • difficulty set to Unknown
  • resolution set to invalid

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.

Changed 11 months ago by rohithkumar-av

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

Changed 11 months ago by rohithkumar-av

  • status changed from closed to new
  • resolution invalid deleted

Changed 11 months ago by pcapriotti

  • status changed from new to closed
  • resolution set to invalid

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.