Reputation: 27200
I want to install System.FilePath.Find module. I tried using
cabal install FileManip
but it failed:
Resolving dependencies...
Configuring FileManip-0.3.3.1...
Preprocessing library FileManip-0.3.3.1...
Building FileManip-0.3.3.1...
[1 of 5] Compiling System.FilePath.Error ( System/FilePath/Error.hs, dist/build/System/FilePath/Error.o )
[2 of 5] Compiling System.FilePath.Manip ( System/FilePath/Manip.hs, dist/build/System/FilePath/Manip.o )
[3 of 5] Compiling System.FilePath.GlobPattern ( System/FilePath/GlobPattern.hs, dist/build/System/FilePath/GlobPattern.o )
[4 of 5] Compiling System.FilePath.Glob ( System/FilePath/Glob.hs, dist/build/System/FilePath/Glob.o )
[5 of 5] Compiling System.FilePath.Find ( System/FilePath/Find.hs, dist/build/System/FilePath/Find.o )
System/FilePath/Find.hs:174:20:
Not in scope: data constructor `State'
cabal: Error: some packages failed to install:
FileManip-0.3.3.1 failed during the building phase. The exception was:
ExitFailure 1
What am I doing wrong?
$ ghc --version
The Glorious Glasgow Haskell Compilation System, version 6.12.1
$ cabal --version
cabal-install version 0.8.0
using version 1.8.0.2 of the Cabal library
Upvotes: 3
Views: 588