This section describes the process for obtaining a copy of the RabbitMQ server source code, as well as instructions for building the server from source.
$ git clone https://github.com/rabbitmq/rabbitmq-codegen.git $ git clone https://github.com/rabbitmq/rabbitmq-server.git $ cd rabbitmq-server $ make
If you choose to check the code out using Git, be aware that the code-generation module is a dependency of the server library. If you're working with a released source code distribution, though, the code-generation module is included.
In order to build RabbitMQ, you will need a few tools.
RabbitMQ requires a recent version of Python and simplejson.py (an implementation of a JSON reader and writer in Python), for generating AMQP framing code. simplejson.py is included as a standard json library in the Python core since 2.6 release.
Additionally, you will need
Change to the rabbitmq-server directory, and type make.
Other interesting Makefile targets include
make run MNESIA_DIR=/some/other/location/for/rabbit-mnesia