This section describes the process for obtaining a copy of the RabbitMQ Erlang AMQP client source code and its dependecies, as well as instructions for building the Erlang client from source.
git clone https://github.com/rabbitmq/rabbitmq-erlang-client.git cd rabbitmq-erlang-client make
If you choose to check the code out using Git, the necessary dependencies will be fetched automatically. If you're working with a released source code distribution, though, all necessary dependencies are included.
In order to build RabbitMQ, you will need a few tools.
RabbitMQ requires a recent version of Python 2 and simplejson.py (an implementation of a JSON reader and writer in Python), for generating AMQP 0-9-1 framing code. simplejson.py is included as a standard json library in the Python core since 2.6 release.
Additionally, you will need
If you ran the commands above, there is nothing else to do. The Erlang.mk build system compiled everything when you ran make.
Other interesting Makefile targets include
make PLT=/path/to/plt dialyzeto override this. Add broker to PLT beforehand, otherwise you will a lot of 'unknown function' warnings. See add_broker_to_plt make target.
If you have questions about the contents of this guide or any other topic related to RabbitMQ, don't hesitate to ask them on the RabbitMQ mailing list.
If you'd like to contribute an improvement to the site, its source is available on GitHub. Simply fork the repository and submit a pull request. Thank you!