Skip to content

Cabal install fails using default osx 1.7 haskell-platform #2

Open

Description

Using the pre-installed binaries for ghc (7.0.4) and cabal (1.16.0.1) the install fails with:

$ cabal install hdevtools
Resolving dependencies...
Configuring hdevtools-0.1.0.3...
Building hdevtools-0.1.0.3...Preprocessing executable 'hdevtools' for hdevtools-0.1.0.3...[ 1 of 10] Compiling Paths_hdevtools ( dist/build/autogen/Paths_hdevtools.hs, dist/build/hdevtools/hdevtools-tmp/Paths_hdevtools.o )
[ 2 of 10] Compiling Info ( src/Info.hs, dist/build/hdevtools/hdevtools-tmp/Info.o )
src/Info.hs:53:23: Not in scope: `GHC.printException'

src/Info.hs:120:13:
Not in scope: data constructor `GHC.RealSrcSpan'
Failed to install hdevtools-0.1.0.3
cabal: Error: some packages failed to install:
hdevtools-0.1.0.3 failed during the building phase. The exception was:
ExitFailure 1

Activity

  1. bitc commented on Dec 17, 2012

    @bitc
    Owner

    hdevtools relies heavily on the GHC API, which goes through major changes with each new release of GHC.

    Currently hdevtools is tested with GHC versions: 7.6, 7.4, and 7.2

    A quick look at the docs for GHC 7.0.4 shows that it is missing several functions that hdevtools uses (such as printException, which is listed in one of your build errors).

    Making hdevtools compatible with GHC 7.0 is something that I currently have no immediate plans for, but patches would be welcome (provided that they don't mutilate the source of hdevtools too much).

    I suggest that you install the current version of the Haskell Platform (2012.4.0.0) which comes with GHC 7.4.2.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions