[rabbitmq-discuss] Building RabbitMQ 1.8.0 with erlang 5.8

David Wragg david at rabbitmq.com
Mon Jun 28 10:48:45 BST 2010


Andreas Jung <lists at zopyx.com> writes:
> Trying to install RabbitMQ 1.8.0 with erlang 5.8 (latest version from
> Macports) on MacOSX:
>
> rod.recipe.rabbitmq: RabbitMQ already installed.
> erlc -I include -o ebin -Wall -v +debug_info -Duse_specs -pa ebin
> src/rabbit_exchange.erl
> src/rabbit_exchange.erl:103: badly formed define: missing closing right
> parenthesis
> src/rabbit_exchange.erl:237: undefined macro 'INFO_KEYS'
> src/rabbit_exchange.erl:253: undefined macro 'INFO_KEYS'
> src/rabbit_exchange.erl:36: function info/1 undefined
> src/rabbit_exchange.erl:36: function info_keys/0 undefined
> src/rabbit_exchange.erl:75: spec for undefined function
> rabbit_exchange:info_keys/0
> src/rabbit_exchange.erl:76: spec for undefined function
> rabbit_exchange:info/1
> src/rabbit_exchange.erl:257: function info/1 undefined
> make: *** [ebin/rabbit_exchange.beam] Error 1
>
> Is there an easy way to fix this?

Unfortunately Macports switched to the R14A beta release of erlang - see
<http://trac.macports.org/ticket/25377>.  This is incompatible with all
released versions of rabbitmq.

To fix it, you'll currently need to get the latest rabbitmq-server
source code from our mercurial repository at
<http://hg.rabbitmq.com/rabbitmq-server/>.

David

-- 
David Wragg
Staff Engineer, RabbitMQ
SpringSource, a division of VMware


More information about the rabbitmq-discuss mailing list