Installing cgrep via cabal
Closed this issue · 1 comments
vchuravy commented
I wanted to install cgrep via cabal today and got the following error:
Last 10 lines of the build log ( /home/wallnuss/.cabal/logs/cgrep-6.4.3.log ):
Configuring cgrep-6.4.3...
Building cgrep-6.4.3...
Preprocessing executable 'cgrep' for cgrep-6.4.3...
src/Main.hs:40:8:
Could not find module ‘System.Posix.Files’
It is a member of the hidden package ‘unix-2.7.0.1’.
Perhaps you need to add ‘unix’ to the build-depends in your .cabal file.
Use -v to see a list of the files searched for.
cabal: Error: some packages failed to install:
cgrep-6.4.3 failed during the building phase. The exception was:
ExitFailure 1
awgn commented
Yes, the dependecy issue is already fixed. Cabal update and try again :-)