Nick Retallack
Nick Retallack

Reputation: 19571

How do I install nano-hmac on Mac OS X?

"nano-hmac" is a Haskell package which can normally be installed using Cabal. However, Mac OS X has a different OpenSSL library than the one it expects, so it fails to compile bindings.

I can install the version of openssl from openssl.org, but I'm not sure how to instruct Cabal to use this instead of the Mac OS X version.

Upvotes: 3

Views: 632

Answers (2)

kch
kch

Reputation: 79622

macports has its own openssl, ghc and hs-cabal. Have you tried installing everything via macports?

Upvotes: 1

Danny Whitt
Danny Whitt

Reputation: 1150

Disclaimer: I'm not a Haskell developer. (I know, I know...)

That said, I would recommend investigating the use of Fink which provides support for GHC as well as openssl and many (most?) common FOSS packages.

Upvotes: 0

Related Questions