|
Table of Contents
|
Package
http://hackage.haskell.org/package/zeromq-haskell
Source Code
http://github.com/twittner/zeromq-haskell
Installation
Note: This package depends on GHC-6.12 or higher and ØMQ/2.0. Make sure you have both properly installed on your system.
Using cabal-install
$ cabal update
$ cabal install zeromq-haskell
You might want to use --enable-documentation for cabal install to have the API-Documentation generated.
Manual
Download the package and unpack it into a temporary directory. Change into it and perform the following steps:
$ runhaskell Setup.hs configure
$ runhaskell Setup.hs build
$ runhaskell Setup.hs haddock (optional, to generate API documentation)
$ runhaskell Setup.hs install
Note: If you have installed ØMQ into a non-standard location you may see an error message in the configure step, like:
Setup.hs: Missing dependency on a foreign library:
* Missing header file: zmq.h
* 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.
Just follow the instructions and the installation should finish without errors.
Documentation
Documentation is available online at:
http://wiki.github.com/twittner/zeromq-haskell
Additionally, if you did use --enable-documentation with cabal install or "runhaskell Setup.hs haddock" with manual install you find the API documentation in your local cabal folder as well.
Bug Reporting
If you encounter problems please fill a bug report at:
http://github.com/twittner/zeromq-haskell/issues
or write an e-mail to:
moc.liamg|renttiw.flarot#moc.liamg|renttiw.flarot
Mailing List
Discussions about this language binding take place on the general zeromq-dev list.