【发布时间】:2017-03-22 20:08:44
【问题描述】:
我从 Windows 二进制文件 http://zeromq.org/distro:microsoft-windows 安装了 zmq,然后运行:
cabal install zeromq4-haskell --extra-include-dirs="F:\thirdparty\ZeroMQ4.0.4\include\" --extra-lib-dirs="F:\thirdparty\ZeroMQ4.0.4\lib\"
但我仍然缺少 zmq 依赖项:
Resolving dependencies...
Configuring zeromq4-haskell-0.6.4...
Failed to install zeromq4-haskell-0.6.4
Build log ( C:\Users\calin\AppData\Roaming\cabal\logs\zeromq4-haskell-0.6.4.log ):
Configuring zeromq4-haskell-0.6.4...
setup-Simple-Cabal-1.22.5.0-x86_64-windows-ghc-7.10.3.exe: Missing dependency
on a foreign library:
* Missing C library: zmq
This problem can usually be solved by installing the system package that
provides this library (you may need the "-dev" version). If the library is
already installed but in a non-standard location then you can use the flags
--extra-include-dirs= and --extra-lib-dirs= to specify where it is.
cabal: Error: some packages failed to install:
zeromq4-haskell-0.6.4 failed during the configure step. The exception was:
ExitFailure 1
我也尝试关注此页面,但我无法到达任何地方 http://gettingsharper.de/2015/06/23/bridging-the-worlds-with-omq/ 。我没明白他所说的 /bin 或 /lib 是什么意思。
cabal --version
cabal-install version 1.22.6.0
using version 1.22.5.0 of the Cabal library
ghci --version
The Glorious Glasgow Haskell Compilation System, version 7.10.3
我需要这个来安装 ihaskell。帮忙?
【问题讨论】: