[英]How do I install nano-hmac on Mac OS X?
"nano-hmac" is a Haskell package which can normally be installed using Cabal. “nano-hmac”是一个Haskell软件包,通常可以使用Cabal安装。 However, Mac OS X has a different OpenSSL library than the one it expects, so it fails to compile bindings.
但是,Mac OS X具有与其预期不同的OpenSSL库,因此无法编译绑定。
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. 我可以从openssl.org安装openssl的版本,但我不知道如何指示Cabal使用它而不是Mac OS X版本。
macports has its own openssl, ghc and hs-cabal. macports有自己的openssl,ghc和hs-cabal。 Have you tried installing everything via macports?
你试过通过macports安装一切吗?
Disclaimer: I'm not a Haskell developer. 免责声明:我不是Haskell开发人员。 ( 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. 也就是说,我建议调查使用Fink ,它支持GHC以及openssl和许多(大多数?)常见的FOSS包。
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.