I'm having troubles installing twitter-conduit.
Running cabal install twitter-enumerator
yields:
Resolving dependencies...
In order, the following will be installed:
certificate-1.0.1 (latest: 1.3.8) (new version)
cprng-aes-0.2.5 (latest: 0.5.2) -fastaes (reinstall) changes: cipher-aes-0.1.8
removed, cryptocipher-0.6.1 added
tls-0.8.5 (latest: 1.1.5) (new version)
tls-extra-0.4.2.1 (latest: 0.6.5) (new version)
http-enumerator-0.7.2.5 (latest: 0.7.3.3) (new package)
authenticate-0.10.4 (latest: 1.3.2.6) (new package)
twitter-enumerator-0.0.3 (new package)
Warning: Note that reinstalls are always dangerous. Continuing anyway...
Configuring certificate-1.0.1...
Building certificate-1.0.1...
Preprocessing library certificate-1.0.1...
[1 of 9] Compiling Data.Certificate.KeyRSA ( Data/Certificate/KeyRSA.hs, dist/build/Data/Certificate/KeyRSA.o )
Data/Certificate/KeyRSA.hs:29:27:
Constructor `RSA.PrivateKey' does not have field `RSA.private_size'
In the expression:
RSA.PrivateKey
{RSA.private_size = calculate_modulus p_modulus 1,
RSA.private_n = p_modulus, RSA.private_d = priv_exp,
RSA.private_p = p_p1, RSA.private_q = p_p2,
RSA.private_dP = p_exp1, RSA.private_dQ = p_exp2,
RSA.private_qinv = p_coef}
In an equation for `privkey':
privkey
= RSA.PrivateKey
{RSA.private_size = calculate_modulus p_modulus 1,
RSA.private_n = p_modulus, RSA.private_d = priv_exp,
RSA.private_p = p_p1, RSA.private_q = p_p2,
RSA.private_dP = p_exp1, RSA.private_dQ = p_exp2,
RSA.private_qinv = p_coef}
In an equation for `parsePrivate':
parsePrivate
[Start Sequence,
IntVal 0,
IntVal p_modulus,
IntVal pub_exp,
IntVal priv_exp,
IntVal p_p1,
IntVal p_p2,
IntVal p_exp1,
IntVal p_exp2,
IntVal p_coef,
End Sequence]
= Right (pubkey, privkey)
where
privkey
= RSA.PrivateKey
{RSA.private_size = calculate_modulus p_modulus 1,
RSA.private_n = p_modulus, RSA.private_d = priv_exp,
RSA.private_p = p_p1, RSA.private_q = p_p2,
RSA.private_dP = p_exp1, RSA.private_dQ = p_exp2,
RSA.private_qinv = p_coef}
pubkey
= RSA.PublicKey
{RSA.public_size = calculate_modulus p_modulus 1,
RSA.public_n = p_modulus, RSA.public_e = pub_exp}
calculate_modulus n i
= if (2 ^ (i * 8)) > n then i else calculate_modulus n (i + 1)
Data/Certificate/KeyRSA.hs:29:27:
Constructor `RSA.PrivateKey' does not have field `RSA.private_n'
In the expression:
RSA.PrivateKey
{RSA.private_size = calculate_modulus p_modulus 1,
RSA.private_n = p_modulus, RSA.private_d = priv_exp,
RSA.private_p = p_p1, RSA.private_q = p_p2,
RSA.private_dP = p_exp1, RSA.private_dQ = p_exp2,
RSA.private_qinv = p_coef}
In an equation for `privkey':
privkey
= RSA.PrivateKey
{RSA.private_size = calculate_modulus p_modulus 1,
RSA.private_n = p_modulus, RSA.private_d = priv_exp,
RSA.private_p = p_p1, RSA.private_q = p_p2,
RSA.private_dP = p_exp1, RSA.private_dQ = p_exp2,
RSA.private_qinv = p_coef}
In an equation for `parsePrivate':
parsePrivate
[Start Sequence,
IntVal 0,
IntVal p_modulus,
IntVal pub_exp,
IntVal priv_exp,
IntVal p_p1,
IntVal p_p2,
IntVal p_exp1,
IntVal p_exp2,
IntVal p_coef,
End Sequence]
= Right (pubkey, privkey)
where
privkey
= RSA.PrivateKey
{RSA.private_size = calculate_modulus p_modulus 1,
RSA.private_n = p_modulus, RSA.private_d = priv_exp,
RSA.private_p = p_p1, RSA.private_q = p_p2,
RSA.private_dP = p_exp1, RSA.private_dQ = p_exp2,
RSA.private_qinv = p_coef}
pubkey
= RSA.PublicKey
{RSA.public_size = calculate_modulus p_modulus 1,
RSA.public_n = p_modulus, RSA.public_e = pub_exp}
calculate_modulus n i
= if (2 ^ (i * 8)) > n then i else calculate_modulus n (i + 1)
Failed to install certificate-1.0.1
Configuring cprng-aes-0.2.5...
Building cprng-aes-0.2.5...
Preprocessing library cprng-aes-0.2.5...
[1 of 1] Compiling Crypto.Random.AESCtr ( Crypto/Random/AESCtr.hs, dist/build/Crypto/Random/AESCtr.o )
Crypto/Random/AESCtr.hs:31:1:
Failed to load interface for `Crypto.Cipher.AES'
It is a member of the hidden package `cipher-aes-0.2.5'.
Perhaps you need to add `cipher-aes' to the build-depends in your .cabal file.
It is a member of the hidden package `cipher-aes-0.1.8'.
Perhaps you need to add `cipher-aes' to the build-depends in your .cabal file.
Failed to install cprng-aes-0.2.5
cabal: Error: some packages failed to install:
authenticate-0.10.4 depends on cprng-aes-0.2.5 which failed to install.
certificate-1.0.1 failed during the building phase. The exception was:
ExitFailure 1
cprng-aes-0.2.5 failed during the building phase. The exception was:
ExitFailure 1
http-enumerator-0.7.2.5 depends on cprng-aes-0.2.5 which failed to install.
tls-0.8.5 depends on certificate-1.0.1 which failed to install.
tls-extra-0.4.2.1 depends on certificate-1.0.1 which failed to install.
twitter-enumerator-0.0.3 depends on cprng-aes-0.2.5 which failed to install.