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
{{ message }}
Repository navigation
Cabal install fails using default osx 1.7 haskell-platform #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
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.
Activity
bitc commentedon Dec 17, 2012
hdevtoolsrelies heavily on theGHCAPI, which goes through major changes with each new release ofGHC.Currently
hdevtoolsis tested withGHCversions:7.6,7.4, and7.2A quick look at the docs for
GHC 7.0.4shows that it is missing several functions thathdevtoolsuses (such asprintException, which is listed in one of your build errors).Making
hdevtoolscompatible withGHC 7.0is something that I currently have no immediate plans for, but patches would be welcome (provided that they don't mutilate the source ofhdevtoolstoo much).I suggest that you install the current version of the Haskell Platform (
2012.4.0.0) which comes withGHC 7.4.2.