[rabbitmq-discuss] [Fwd: Bug#555490: rabbitmq files moved from /usr/lib/erlang to /usr/lib/rabbitmq]

David Wragg david.wragg at lshift.net
Tue Nov 10 10:52:33 GMT 2009


Hi John and Manish,

"John Leuner" <jewel at subvert-the-dominant-paradigm.net> writes:
> In rabbitmq-server 1.6.0-x, most of the rabbitmq files were in:
> /usr/lib/erlang/lib/rabbitmq_server-1.6.0
>
> With 1.7.0-x, they're in:
> /usr/lib/rabbitmq/lib/rabbitmq_server-1.7.0
>
> Was this intentional? I noticed because one of my erlang apps talks to
> rabbitmq, and thus needs the headers. Stuff like this:
>
> -include_lib("rabbitmq_server/include/rabbit.hrl").
>
> worked fine with the 1.6.0 dist without any extra -I compiler flags, but
> now doesn't.

This is intentional.  The rationale is described in the 1.7.0 release
notes:
> - install server Erlang app in RabbitMQ-specific directory tree
>  (e.g. /usr/lib/rabbitmq) rather than the Erlang/OTP tree. This
>  allows OTP to be upgraded w/o breaking rabbit.

It also follows practice established by some other popular Erlang
apps, such as ejabberd and couchdb.

But yes, this does mean that you will need to point to the rabbitmq
directory in some places where it was not previously necessary.

David

-- 
 [][][] David Wragg       | mail: david.wragg at lshift.net
   [][] Senior Developer  | tel: +44 (0)20 7729 7060
 []  [] LShift Ltd        | web: www.lshift.net




More information about the rabbitmq-discuss mailing list