Установлен последний GHC 7.0.3. Хочу сделать cabal install haddock. Происходит следующее:
oleg@home:~$ cabal install haddock
Resolving dependencies...
Configuring haddock-2.9.2...
Preprocessing library haddock-2.9.2...
unused terminals: 1
Preprocessing executables for haddock-2.9.2...
Building haddock-2.9.2...
[ 1 of 33] Compiling Haddock.Backends.HaddockDB ( src/Haddock/Backends/HaddockDB.hs, dist/build/Haddock/Backends/HaddockDB.o )
[ 2 of 33] Compiling Haddock.Backends.Xhtml.Types ( src/Haddock/Backends/Xhtml/Types.hs, dist/build/Haddock/Backends/Xhtml/Types.o )
[ 3 of 33] Compiling Haddock.Convert ( src/Haddock/Convert.hs, dist/build/Haddock/Convert.o )
[ 4 of 33] Compiling Paths_haddock ( dist/build/autogen/Paths_haddock.hs, dist/build/Paths_haddock.o )
[ 5 of 33] Compiling Haddock.GhcUtils ( src/Haddock/GhcUtils.hs, dist/build/Haddock/GhcUtils.o )
[ 6 of 33] Compiling Haddock.Version ( src/Haddock/Version.hs, dist/build/Haddock/Version.o )
[ 7 of 33] Compiling Haddock.Lex ( dist/build/Haddock/Lex.hs, dist/build/Haddock/Lex.o )
src/Haddock/Lex.x:151:25:
Couldn't match expected type `(AlexPosn, Char, [Byte], String)'
with actual type `(t0, t1, t2)'
Expected type: AlexInput
Actual type: (t0, t1, t2)
In the first argument of `alexScan', namely `inp'
In the expression: alexScan inp sc
cabal: Error: some packages failed to install:
haddock-2.9.2 failed during the building phase. The exception was:
ExitFailure 1
Как можно попробовать заставить собираться?