You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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
The text was updated successfully, but these errors were encountered:
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.
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
The text was updated successfully, but these errors were encountered: