HsOpenSSL Build Failure

I'm trying to build HsOpenSSL-0.4.2 under 6.10.1. The build fails out of the box due to GHC.Prim now being in package ghc-prim. I added ghc- prim to the Cabal file and ran the build. It fails as follows: [12 of 29] Compiling OpenSSL.BN ( dist/build/OpenSSL/BN.hs, dist/ build/OpenSSL/BN.o ) OpenSSL/BN.hsc:172:29: Not in scope: data constructor `S#' OpenSSL/BN.hsc:173:34: Not in scope: data constructor `S#' OpenSSL/BN.hsc:183:23: Not in scope: data constructor `J#' OpenSSL/BN.hsc:184:28: Not in scope: data constructor `J#' OpenSSL/BN.hsc:203:13: Not in scope: data constructor `S#' OpenSSL/BN.hsc:218:15: Not in scope: data constructor `J#' Any advice?

rfhayes:
I'm trying to build HsOpenSSL-0.4.2 under 6.10.1. The build fails out of the box due to GHC.Prim now being in package ghc-prim. I added ghc- prim to the Cabal file and ran the build. It fails as follows:
[12 of 29] Compiling OpenSSL.BN ( dist/build/OpenSSL/BN.hs, dist/ build/OpenSSL/BN.o )
OpenSSL/BN.hsc:172:29: Not in scope: data constructor `S#'
OpenSSL/BN.hsc:173:34: Not in scope: data constructor `S#'
OpenSSL/BN.hsc:183:23: Not in scope: data constructor `J#'
OpenSSL/BN.hsc:184:28: Not in scope: data constructor `J#'
OpenSSL/BN.hsc:203:13: Not in scope: data constructor `S#'
OpenSSL/BN.hsc:218:15: Not in scope: data constructor `J#'
Needs to import GHC/Integer/Internals.hs from the integer package.
participants (2)
-
Don Stewart
-
R Hayes