[OpenSIPS-Devel] rabbitmq is now mandatory for modules target?

Maxim Sobolev sobomax at sippysoft.com
Thu Apr 25 13:45:21 EDT 2019


Pull request against master is created:

https://github.com/OpenSIPS/opensips/pull/1681

Thanks!

-Max

On Thu, Apr 25, 2019 at 10:28 AM Maxim Sobolev <sobomax at sippysoft.com>
wrote:

> Hi folks,
>
> Not sure if it's intentional or not, but since about two weeks stock
> opensips/master fails to build modules if rabitmq is not installed. I kinda
> liked that you can build OpenSIPS with very few dependencies, this I think
> was the proper approach.
>
> make -C /home/travis/build/sippy/voiptests/dist/opensips CC_NAME=gcc
> CC=gcc all modules
> make: Entering directory '/home/travis/build/sippy/voiptests/dist/opensips'
> [...]
> make[1]: Entering directory
> '/home/travis/build/sippy/voiptests/dist/opensips/modules/rabbitmq_consumer'
> Compiling rmq_event.c
> Compiling rmq_connection.c
> Compiling rabbitmq_consumer.c
> In file included from rabbitmq_consumer.c:25:0:
> rmq_connection.h:25:18: fatal error: amqp.h: No such file or directory
> compilation terminated.
> ../../Makefile.rules:25: recipe for target 'rabbitmq_consumer.o' failed
> make[1]: *** [rabbitmq_consumer.o] Error 1
> make[1]: *** Waiting for unfinished jobs....
> In file included from rmq_event.h:25:0,
>                  from rmq_event.c:26:
> rmq_connection.h:25:18: fatal error: amqp.h: No such file or directory
> compilation terminated.
> ../../Makefile.rules:25: recipe for target 'rmq_event.o' failed
> make[1]: *** [rmq_event.o] Error 1
> In file included from rmq_connection.c:28:0:
> rmq_connection.h:25:18: fatal error: amqp.h: No such file or directory
> compilation terminated.
> ../../Makefile.rules:25: recipe for target 'rmq_connection.o' failed
> make[1]: *** [rmq_connection.o] Error 1
> make[1]: Leaving directory
> '/home/travis/build/sippy/voiptests/dist/opensips/modules/rabbitmq_consumer'
> Makefile:200: recipe for target 'modules' failed
> make: *** [modules] Error 2
> make: Leaving directory '/home/travis/build/sippy/voiptests/dist/opensips'
> The command "sh -x ./install_depends/opensips.sh" failed and exited with 2
> during .
>
> -Max
>


-
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.opensips.org/pipermail/devel/attachments/20190425/5de24c76/attachment.html>


More information about the Devel mailing list