- Try to install ssh package by cabal.

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

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
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

Hello Thomas, Finally, I have installed the version 0.3. Thank you for your help Loïc On Tue, Aug 23, 2011 at 9:27 PM, Thomas DuBuisson < thomas.dubuisson@gmail.com> wrote:
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
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
participants (2)
-
Loïc Maury
-
Thomas DuBuisson