summaryrefslogtreecommitdiff
path: root/doc/bugs/Need_to_manually_install_c2hs_-_3.20121127_and_previous.mdwn
blob: 924ce06c7bd3efe5edb173ca661426d15a032c8c (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
What steps will reproduce the problem?

Install git-annex via cabal - either from Hackage or as a manual install. (i.e. <http://git-annex.branchable.com/install/cabal/>)

What is the expected output? What do you see instead?

Expect a clean install.

However, get the following error:

      Configuring gnuidn-0.2...
      cabal: The program c2hs is required but it could not be found.
      Failed to install gnuidn-0.2
      cabal: Error: some packages failed to install:
      git-annex-3.20121127 depends on gnuidn-0.2 which failed to install.
      gnuidn-0.2 failed during the configure step. The exception was:
      ExitFailure 1
      network-protocol-xmpp-0.4.4 depends on gnuidn-0.2 which failed to install.

What version of git-annex are you using? On what operating system?

git-annex: 3.20121127 (and previous versions)

OS: Mac OSX 10.6.8


Please provide any additional information below.

The fix seems as easy as

    cabal install c2hs

Should c2hs be included as a dep got git-annex or is this a bug in gnuidn?

> Apparently cabal does not support automatically installing programs
> needed for the build. I've updated the cabal installation instructions
> to document the need to install c2hs. [[done]] --[[Joey]]