[rabbitmq-discuss] Unable to build Debian package since 2.7.0

Jared Biel jared.biel at bolderthinking.com
Wed Jan 4 19:32:44 GMT 2012


I'd like to take this opportunity to add some things to my debian
package wishlist:

1. An /etc/default/rabbitmq file that contains something like START=no
2. Modification to rabbitmq-server.init to make use of that file so
rabbitmq won't start unless START is equal to a true value.

This construct is a part of many other debian daemons and is generally
well understood/accepted. In fact the rabbitmq postrm script currently
takes this file into account already. We make this modification to the
package and put it in our repo because if rabbitmq starts before we
drop our cookie into place (for cluster membership) Bad Things happen.

Thanks,
Jared

On Wed, Jan 4, 2012 at 13:18, Jared Biel <jared.biel at bolderthinking.com> wrote:
> Excellent - this did get me quite a bit farther. It looks like
> erlang-nox should indeed be a build dependency. I ran up against
> another error during the build process:
> "erlang-rfc4627-wrapper/erlang-rfc4627-git/src/rfc4627_jsonrpc_inets.erl:97:
> can't find include lib "inets/src/httpd.hrl""
>
> The file httpd.hrl is part of the erlang-src package. After installing
> this as well I was able to successfully build. If you want to be
> complete in satisfying build dependencies, I also needed to install
> zip, unzip and nmap.
>
> So, here's the complete list of missing build dependencies:
> erlang-nox, erlang-src, nmap, unzip, zip.
>
> Thanks for all of your help!
>
> -Jared
>
> On Wed, Jan 4, 2012 at 07:33, Simon MacMullen <simon at rabbitmq.com> wrote:
>> On 03/01/12 19:40, Jared Biel wrote:
>>>
>>> It seems that some of the plugins have erlc issues while building.
>>
>>
>> Hmm. It';s possible that our Debian control file is wrong - we list
>> erlang-nox under "Depends" (which is correct) but erlang-dev under
>> "Build-Depends". erlang-dev doesn't drag in all the libraries implied by
>> erlang-nox, which was definitely what caused your problem with eldap and
>> probably the other problems you saw. I'll file a bug.
>>
>> Can you build from the Debian source if you install erlang-nox?
>>
>> Cheers, Simon
>>
>> --
>> Simon MacMullen
>> RabbitMQ, VMware
>>
>> _______________________________________________
>> rabbitmq-discuss mailing list
>> rabbitmq-discuss at lists.rabbitmq.com
>> https://lists.rabbitmq.com/cgi-bin/mailman/listinfo/rabbitmq-discuss


More information about the rabbitmq-discuss mailing list