Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
ghost opened this issue Oct 6, 2012 · 1 comment
Open

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

ghost opened this issue Oct 6, 2012 · 1 comment

Comments

@ghost
Copy link

ghost commented Oct 6, 2012

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

@bitc
Copy link
Owner

bitc commented Dec 17, 2012

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
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant