aboutsummaryrefslogtreecommitdiff
path: root/doc/bugs/Build_error_when_S3_is_disabled.mdwn
blob: 2ae38659d2f14736dd0b475db04c28c3fcedd478 (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
38
39
With release 5.20141203, I'm getting the following build error.

    Remote/Helper/AWS.hs:15:18:
        Could not find module ‘Aws’
        Use -v to see a list of the files searched for.

    Remote/Helper/AWS.hs:16:18:
        Could not find module ‘Aws.S3’
        Use -v to see a list of the files searched for.

I'm installing dependencies with cabal but have disabled S3 support
('-f-S3').  This setup has worked for previous releases (I'm on a machine running Arch Linux).

    _features=(-f-Android
               -f-Assistant
               -fDbus
               -fDNS
               -fInotify
               -fPairing
               -fProduction
               -f-S3
               -fTestSuite
               -fTDFA
               -f-Webapp
               -f-WebDAV
               -fXMPP
               -fFeed
               -fQuvi
               -fCryptoHash)

    cabal update
    cabal install c2hs

    cabal install --user --force-reinstalls --only-dependencies "${_features[@]}"
    cabal configure "${_features[@]}"

    make

> [[fixed|done]] --[[Joey]]