FYI: It's usually good to CC the package maintainer when a build fails
for non-trivial reasons.

At first glance it seems the SSH package was released when version 0.3
of the ASN package was current.  The ASN package is now on version 0.5
- so you can either add that constraint into the SSH package and try
again or fix the SSH package to work with ASN 0.5 and send in a patch
if that proves to be the case.

Cheers,
Thomas

P.S. It does appear that the ASN changes break this, but when I add
the version constraint I see that SSH implicitly uses
FlexibleInstances, which must be made explicit in GHC 7 via a LANGUAGE
pragma or equivalent.

On Tue, Aug 23, 2011 at 11:58 AM, Loïc Maury <lma...@gmail.com> wrote:
> Hello,
>
> I try to install the ssh package with cabal, but
> unfortunately that doesn't work, I have this error :
>
> src/SSH/Crypto.hs:70:16:
> Couldn't match expected type `Data.ASN1.Types.ASN1t' with actual type
> `ASN1ConstructionType'
>
> I'am on Debian with ghc-7.0.1
>
> I don't know how I can resolve this issue ?
>
> Thank you for help
>
> Loïc
>
> _______________________________________________
> Haskell-Cafe mailing list
> Haskell-Cafe@haskell.org
> http://www.haskell.org/mailman/listinfo/haskell-cafe
>
>

_______________________________________________
Haskell-Cafe mailing list
Haskell-Cafe@haskell.org
http://www.haskell.org/mailman/listinfo/haskell-cafe

Reply via email to