<html>
<head>
<meta http-equiv="content-type" content="text/html; charset=UTF-8">
</head>
<body>
Has anyone succeeded at getting mod_amqp built and working on Mac
OS? I am trying to get a Mac dev server working to test apps that
use RabbitMQ to send and receive FS events.<br>
<br>
I first tried just enabling the module in a system installed using
the MacFI installer. It did not load and showed as not present.
Looking at the so's I could see it had not been built. I tried to
hack the config in the deployed sources to get it to build (see
below), but it was missing the amqp dependencies. Searching the
archives, I found the thread starting at [1].<br>
<br>
I tried using brew to install rabbitmq-c and then setting package
path per suggestions in the responses in [2]. That worked to get
get the module built, but I ended up getting a seg fault when I
started FS.<br>
<p> If I can get some pointers on how to do this correctly, I would
be happy to submit a patch to the Mac wiki with instructions on
how to do it.</p>
<p>The dev server that I am trying to do the build on is OSX
10.15.7. I started by using the MacFI installer, which does not
build the module. To get the module built, I modified
freeswitch/src/mod/modules.inc to add it. Then config, make, make
install after the rabbitmq-c brew install and with <code
style="margin: 0px; padding: 0px; border: 0px; font-style:
inherit; font-variant: inherit; font-weight: inherit;
font-stretch: inherit; line-height: inherit; font-family:
inherit; font-size: 13px; vertical-align: baseline; box-sizing:
inherit; background-color: transparent; white-space: inherit;"><br>
</code></p>
<p><code style="margin: 0px; padding: 0px; border: 0px; font-style:
inherit; font-variant: inherit; font-weight: inherit;
font-stretch: inherit; line-height: inherit; font-family:
inherit; font-size: 13px; vertical-align: baseline; box-sizing:
inherit; background-color: transparent; white-space: inherit;">PKG_CONFIG_PATH=<span
class="hljs-string" style="margin: 0px; padding: 0px; border:
0px; font-style: inherit; font-variant: inherit; font-weight:
inherit; font-stretch: inherit; line-height: inherit;
font-family: inherit; font-size: 13px; vertical-align:
baseline; box-sizing: inherit; color:
var(--highlight-variable);"><a class="moz-txt-link-rfc2396E" href="mailto:/usr/local/Cellar/rabbitmq-c/0.10.0/lib/pkgconfig:/usr/local/opt/openssl@1.1/lib/pkgconfig">"/usr/local/Cellar/rabbitmq-c/0.10.0/lib/pkgconfig:/usr/local/opt/openssl@1.1/lib/pkgconfig"</a>
exported. This works, but the server fails on startup with
Segmentation Fault 11.</span></code></p>
<br>
Thanks!<br>
<br>
Phil<br>
<br>
[1]
<a class="moz-txt-link-freetext"
href="https://lists.freeswitch.org/pipermail/freeswitch-users/2016-July/121346.html">https://lists.freeswitch.org/pipermail/freeswitch-users/2016-July/121346.html</a><br>
[2]
<a class="moz-txt-link-freetext"
href="https://stackoverflow.com/questions/51818515/installing-amqp-on-mac-with-brew">https://stackoverflow.com/questions/51818515/installing-amqp-on-mac-with-brew</a><br>
</body>
</html>