[Haskell-cafe] Error when installing RSA (for yesod) with GHC 7.2.1
limestrael at gmail.com
Mon Oct 24 23:31:00 CEST 2011
Nope, I already have random 188.8.131.52 installed...
2011/10/24 Thomas DuBuisson <thomas.dubuisson at gmail.com>
> Try to install with: cabal install RSA 'random == 184.108.40.206'
> I'm guessing the issue is your "random" library is less than 1.0.1 and
> also includes an instance of Word8 (in other words, the GHC release
> you use pulled an unofficial version from the repo).
> On Mon, Oct 24, 2011 at 2:13 PM, Yves Parès <limestrael at gmail.com> wrote:
> > I'm using GHC 7.2.1 and cabal-install 0.8 (Cabal 220.127.116.11), and when
> > "cabal install rsa"
> > I got the error
> > $ cabal install rsa
> > Resolving dependencies...
> > Configuring RSA-18.104.22.168...
> > Preprocessing library RSA-22.214.171.124...
> > Preprocessing executables for RSA-126.96.36.199...
> > Building RSA-188.8.131.52...
> > [1 of 1] Compiling Codec.Crypto.RSA ( Codec/Crypto/RSA.hs,
> > dist/build/Codec/Crypto/RSA.o )
> > Codec/Crypto/RSA.hs:580:10:
> > Duplicate instance declarations:
> > instance Random Word8 -- Defined at Codec/Crypto/RSA.hs:580:10-21
> > instance Random Word8 -- Defined in System.Random
> > cabal: Error: some packages failed to install:
> > RSA-184.108.40.206 failed during the building phase. The exception was:
> > ExitFailure 1
> > Apparently it's an instance being declared twice.
> > However RSA hackage page states that it compiles under GHC 7.2:
> > http://hackage.haskell.org/package/RSA
> > _______________________________________________
> > Haskell-Cafe mailing list
> > Haskell-Cafe at haskell.org
> > http://www.haskell.org/mailman/listinfo/haskell-cafe
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the Haskell-Cafe