Hi,
I was trying to install git-annex, but then, I got a warning saying that I need to install base-4.5.0.0 first.
So, I did "sudo cabal install base-4.5.0.0". Everything was going well, until I got this error:
config.status: error: cannot find input file: `base.buildinfo.in' cabal: Error: some packages failed to install: base-4.5.0.0 failed during the configure step. The exception was: ExitFailure 1
I tried to look for information on the internet, but I did not find anything useful.
I know that this is not totally related to git-annex, but anyone has any thoughts on this?
git-annex needs ghc 7.4, that's why it depends on that base version that comes with it. So you either need to upgrade your ghc, or you can build from the
ghc7.0
branch in git, like this:Thanks for the fast response!
Unfortunately, I had another problem:
Building git-annex-3.20120419... Utility/libdiskfree.c: In function ‘diskfree’:
Utility/libdiskfree.c:61:0: warning: ‘statfs64’ is deprecated (declared at /usr/include/sys/mount.h:379) [ 6 of 157] Compiling Build.SysConfig ( Build/SysConfig.hs, dist/build/git-annex/git-annex-tmp/Build/SysConfig.o ) [ 15 of 157] Compiling Utility.Touch ( dist/build/git-annex/git-annex-tmp/Utility/Touch.hs, dist/build/git-annex/git-annex-tmp/Utility/Touch.o )
Utility/Touch.hsc:118:21: Not in scope: `noop' cabal: Error: some packages failed to install: git-annex-3.20120419 failed during the building phase. The exception was:
ExitFailure 1
I also tried to look for information on the internet, and I did not find anything useful. Any idea of what happened?
Thanks again!