Download

POSIX-compliant platforms

This section refers to installation of ØMQ/0.6.1 on AIX, FreeBSD, HP-UX, Linux, Mac OS X, OpenBSD, QNX Neutrino and Solaris platforms.

Download ØMQ/0.6.1 package here.

To deploy it do the following:

$ tar -xzf zmq-0.6.1.tar.gz
$ cd zmq-0.6.1
$ ./configure
$ make
$ sudo make install

For more detailed installation instructions have a look at INSTALL file in the root directory of the package.

For more information on configuration options (enabling/disabling optional functionality) use:

./configure --help
..
  --with-perf               build performance tests [default=no]
  --with-camera             build camera example [default=no]
  --with-exchange           build exchange example [default=no]
  --with-chat               build chatroom example [default=no]
  --with-butterfly          build butterfly example [default=no]
  --with-c                  build c language binding [default=no]
  --with-python             build Python language binding [default=no]
  --with-java               build Java language binding [default=no]
  --with-clr                build libclrzmq [default=no]
  --with-clrdir             CLR dll install dir [default=EPREFIX/lib/clrzmq]
  --with-ruby-headersdir    ruby.h header file location
  --with-ruby-libdir        libruby library file location
  --with-ruby               build ruby language binding [default=no]
  --with-zmq_server         build zmq_server [default=yes]
  --with-sctp               build libzmq with SCTP extension [default=no]
  --with-pgm                build libzmq with PGM extension [default=no]
  --with-amqp               build libzmq with AMQP extension [default=no]
..

Windows

This section refers to installation of ØMQ/0.6.1 on Windows platform.

Download ØMQ/0.6.1 package here.

To deploy it, simply unpack the package to the directory of your choice.

The package contains followind directories:

  • bin - Core & .NET binaries and DLLs
  • doc - documentation in PDF format
  • examples - butterfly, chat, exchange examples
  • include - Header files
  • java - Java specific binaries
  • lib - Static libraries
  • perf - Performance tests for ØMQ and language extensions
  • python - Python specific binaries
  • ruby - Ruby specific binaries

OpenVMS

This section refers to the installation of ØMQ/0.6.1 on the OpenVMS platform.

Download ØMQ/0.6.1 package here.

System requirements:

  • An ODS-5 formatted disk for the installation
  • OpenVMS 8.3-H1 IA64
  • HP TCP/IP Services for OpenVMS Industry Standard 64 Version V5.6 ECO 3
  • HP C S7.1-013
  • HP C++ V7.3
  • Java V5 (optional)
  • UnZip 5.42 (or similar) for OpenVMS is required to unpack the kit

Please follow these steps to install the software:

Unzip the kit into a directory of your choice. Unzip will place the contents of the ZIP file under your default directory:

$ unzip zmq-061.zip
Archive:  DiskXXX:[YYY]zmq-061.zip
   creating: [.zmq-061]
   creating: [.zmq-061.examples]
   creating: [.zmq-061.examples.exchange]
  inflating: [.zmq-061.examples.exchange]graph.pl
  inflating: [.zmq-061.examples.exchange]Makefile.am
...
  inflating: [.zmq-061.doc]zmq-transport.pdf

Set default to the [.zmq-061.openvms] directory and edit the zmqSetEnv.com script by assigning values to the following DCL symbols:

  • baseLevel ! Note: this is optional as the value may be passed in as a parameter to the procedure
  • homeDisk ! the disk on which you are installing. It will become the zmqRoot concealed device
  • homeDir ! the directory into which you are installing. It will become the top-level directory of the zmqRoot concealed device, that is, zmqRoot:[000000]

Run the zmqSetEnv.com script with zmq-061 as a parameter.
Note: if you have changed the zmqSetEnv.com procedure and assigned a value to the baseLevel symbol, there is no need to pass this parameter:

$ @zmqSetEnv zmq-061
You are using base level ZMQ-061
zmqRoot defined to [XXX.ZMQ-061.]

Compile all the ØMQ code:

$ @zmqroot:[openvms]build_1_all
-------------------------------------
Beginning compilation of all 0MQ modules at  8-APR-2009 07:25:34.52
-------------------------------------
Building zmqRoot:[libzmq]
Built zmqRoot:[libzmq] at  8-APR-2009 07:29:53.96
Building zmqRoot:[libczmq]
Built zmqRoot:[libczmq] at  8-APR-2009 07:30:08.23
Building zmqRoot:[libvmszmq]
Built zmqRoot:[libvmszmq] at  8-APR-2009 07:30:14.71
Building zmqRoot:[zmq_server]
Built zmqRoot:[zmq_server] at  8-APR-2009 07:30:29.14
Building zmqRoot:[perf.tests.zmq]
Built zmqRoot:[perf.tests.zmq] at  8-APR-2009 07:32:35.87
Building zmqRoot:[perf.tests.zmq]
Built zmqRoot:[perf.tests.zmq] at  8-APR-2009 07:32:43.73
Building zmqRoot:[perf.tests.zmq]
Built zmqRoot:[perf.tests.zmq] at  8-APR-2009 07:33:08.99
Building zmqRoot:[perf.tests.tcp]
Built zmqRoot:[perf.tests.tcp] at  8-APR-2009 07:34:09.11
-------------------------------------
Compiled all 0MQ modules at  8-APR-2009 07:34:09.11
-------------------------------------

The zmqRoot:[openvms] directory contains a number of command procedures for building the various components. For example:

build_2_libzmq.com will compile and link the main ØMQ library
build_1_comp_link_switches.com contains DCL symbols for the compilers and the linker

You might want to glance through these procedures to familiarize yourself with the way things are put together.

Please check the zmqSetEnv.com script for the foreign commands defined by it. They will make working with the various components a lot easier.