<p dir="ltr">I will create the rpms as soon as the first fs 1.6 tarball is released</p>
<div class="gmail_quote">On Jun 29, 2015 5:14 PM, "Hector Geraldino" <<a href="mailto:Hector.Geraldino@ipsoft.com">Hector.Geraldino@ipsoft.com</a>> wrote:<br type="attribution"><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Thanks William, Mike<br>
<br>
Here¹s what I tried:<br>
1- downloaded rabbitmq=c sources, run cmake install, export directories to<br>
both PATH and LD_LIBRARY_PATH env vars, run make on freeswitch sources,<br>
got same error.<br>
2- tried with autoconfig, make && make install on the rabbitmq-c sources,<br>
same thing with PATH and LD_LIBRARY_PATH and same result.<br>
3- finally, downloaded the .deb packages, ran alien -r *deb to generate<br>
RPMs, copied the RPMs from the ubuntu box to the RHEL server, ran rpm -Uvh<br>
packages.rpm, installation went through but still got the same error on<br>
the mod_amqp module:<br>
<br>
# rpm -Uvh librabbitmq1-0.5.2-3.x86_64.rpm<br>
Preparing... ###########################################<br>
[100%]<br>
1:librabbitmq1 ###########################################<br>
[100%]<br>
<br>
# rpm -Uvh librabbitmq-dev-0.5.2-3.x86_64.rpm<br>
Preparing... ###########################################<br>
[100%]<br>
1:librabbitmq-dev ###########################################<br>
[100%]<br>
<br>
# rpm -qa | grep rabbit<br>
librabbitmq1-0.5.2-3.x86_64<br>
librabbitmq-dev-0.5.2-3.x86_64<br>
<br>
<br>
<br>
<br>
# make<br>
make all-recursive<br>
make[1]: Entering directory `/apps/src/freeswitch-1.4.19'<br>
Making all in .<br>
make[2]: Entering directory `/apps/src/freeswitch-1.4.19'<br>
make[2]: Leaving directory `/apps/src/freeswitch-1.4.19'<br>
Making all in src<br>
make[2]: Entering directory `/apps/src/freeswitch-1.4.19/src'<br>
Making all in mod<br>
make[3]: Entering directory `/apps/src/freeswitch-1.4.19/src/mod'<br>
<br>
<br>
making all mod_amqp<br>
make[4]: Entering directory<br>
`/apps/src/freeswitch-1.4.19/src/mod/event_handlers/mod_amqp'<br>
Makefile:772: *** You must install librabbitmq1 and librabbitmq-dev to<br>
build this module. Stop.<br>
make[4]: Leaving directory<br>
`/apps/src/freeswitch-1.4.19/src/mod/event_handlers/mod_amqp'<br>
make[3]: *** [mod_amqp-all] Error 1<br>
make[3]: Leaving directory `/apps/src/freeswitch-1.4.19/src/mod'<br>
make[2]: *** [all-recursive] Error 1<br>
make[2]: Leaving directory `/apps/src/freeswitch-1.4.19/src'<br>
make[1]: *** [all-recursive] Error 1<br>
make[1]: Leaving directory `/apps/src/freeswitch-1.4.19'<br>
make: *** [all] Error 2<br>
<br>
<br>
<br>
My guess is that I should follow Mike¹s advice and initiate the request<br>
process to have this added to the EPEL, but that¹s a long, convoluted<br>
process and I don¹t have either the expertise/familiarity with RHEL<br>
ecosystem to own this. I guess I can always spin a parallel VM (or<br>
FreeSWITCH running on docker or something) and route the SIP/RTP traffic<br>
to that instance. Due to policies I cannot change I must stick with RHEL<br>
OS for all current and future deployments.<br>
<br>
Thanks guys for your help<br>
<br>
<br>
<br>
On 6/29/15, 4:03 PM, "<a href="mailto:freeswitch-users-bounces@lists.freeswitch.org">freeswitch-users-bounces@lists.freeswitch.org</a> on<br>
behalf of Michael Jerris" <<a href="mailto:freeswitch-users-bounces@lists.freeswitch.org">freeswitch-users-bounces@lists.freeswitch.org</a><br>
on behalf of <a href="mailto:mike@jerris.com">mike@jerris.com</a>> wrote:<br>
<br>
>The best case is you can work with your distro to get packages made for<br>
>that distro. I suggest that as the first step is to go through their<br>
>process for getting a package added.<br>
><br>
><br>
>> On Jun 29, 2015, at 3:54 PM, William King<br>
>><<a href="mailto:william.king@quentustech.com">william.king@quentustech.com</a>> wrote:<br>
>><br>
>> There do not appear to be any packages for the client libraries required<br>
>> for that system. The Debian packages are build from this git repo:<br>
>><br>
>> <a href="https://github.com/alanxz/rabbitmq-c" rel="noreferrer" target="_blank">https://github.com/alanxz/rabbitmq-c</a><br>
>><br>
>> If you do get it installed and working, can you reply here with the<br>
>>steps?<br>
>><br>
>> William King<br>
>> Senior Engineer<br>
>> Quentus Technologies, INC<br>
>> 1037 NE 65th St Suite 273<br>
>> Seattle, WA 98115<br>
>> Main: <a href="tel:%28877%29%20211-9337" value="+18772119337">(877) 211-9337</a><br>
>> Office: <a href="tel:%28206%29%20388-4772" value="+12063884772">(206) 388-4772</a><br>
>> Cell: <a href="tel:%28253%29%20686-5518" value="+12536865518">(253) 686-5518</a><br>
>> <a href="mailto:william.king@quentustech.com">william.king@quentustech.com</a><br>
>><br>
>> On 6/29/15 8:55 AM, Hector Geraldino wrote:<br>
>>> Greetings,<br>
>>><br>
>>> I¹m trying to build a new FreeSWITCH instance from master, and I have<br>
>>>to<br>
>>> include the mod_amqp as we¹ll be relying on RabbitMQ to deliver events.<br>
>>> Anyway, this is not working for me on a RHEL 6.2 server due to this<br>
>>>error:<br>
>>><br>
>>> make[3]: Entering directory `/apps/src/freeswitch-1.4.19/src/mod'<br>
>>><br>
>>> making all mod_amqp<br>
>>> make[4]: Entering directory<br>
>>> `/apps/src/freeswitch-1.4.19/src/mod/event_handlers/mod_amqp'<br>
>>> Makefile:772: *** You must install librabbitmq1 and librabbitmq-dev to<br>
>>> build this module. Stop.<br>
>>> make[4]: Leaving directory<br>
>>> `/apps/src/freeswitch-1.4.19/src/mod/event_handlers/mod_amqp'<br>
>>> make[3]: *** [mod_amqp-all] Error 1<br>
>>> make[3]: Leaving directory `/apps/src/freeswitch-1.4.19/src/mod'<br>
>>> make[2]: *** [all-recursive] Error 1<br>
>>> make[2]: Leaving directory `/apps/src/freeswitch-1.4.19/src'<br>
>>> make[1]: *** [all-recursive] Error 1<br>
>>> make[1]: Leaving directory `/apps/src/freeswitch-1.4.19'<br>
>>> make: *** [all] Error 2<br>
>>><br>
>>> The error is pretty obvious: it¹s missing these two libraries listed<br>
>>> there, but thing is that I cannot find those libraries (or any<br>
>>> replacement for them) for the Red Hat/Fedora distros. I installled<br>
>>> rabbitmq-server, no luck. Tried to install these:<br>
>>><br>
>>><br>
>>><a href="http://rpm.pbone.net/index.php3/stat/4/idpl/26206777/dir/redhat_el_6/com" rel="noreferrer" target="_blank">http://rpm.pbone.net/index.php3/stat/4/idpl/26206777/dir/redhat_el_6/com</a><br>
>>>/librabbitmq-devel-0.5.0-2.el6.x86_64.rpm.html<br>
>>><br>
>>><a href="http://www.rpmfind.net/linux/rpm2html/search.php?query=librabbitmq-devel" rel="noreferrer" target="_blank">http://www.rpmfind.net/linux/rpm2html/search.php?query=librabbitmq-devel</a><br>
>>>(x86-64)<br>
>>><br>
>>> No luck either. It was either I was missing some other dependencies,<br>
>>>and<br>
>>> then some more, and more, until I couldn¹t find some of the rpms<br>
>>> missing, or the RPMs, after installed, didn¹t contain the same libs the<br>
>>> debian-based pkg seems to have, as the module still didn¹t compile.<br>
>>><br>
>>> Has anyone been able to compile this on a redhat based distro?<br>
>>> (fedora,rhel,centos)<br>
>>><br>
>>> Thanks all for your time<br>
>>><br>
>>><br>
>>><br>
>>>________________________________________________________________________<br>
>>>_<br>
>>> Professional FreeSWITCH Consulting Services:<br>
>>> <a href="mailto:consulting@freeswitch.org">consulting@freeswitch.org</a><br>
>>> <a href="http://www.freeswitchsolutions.com" rel="noreferrer" target="_blank">http://www.freeswitchsolutions.com</a><br>
>>><br>
>>> Official FreeSWITCH Sites<br>
>>> <a href="http://www.freeswitch.org" rel="noreferrer" target="_blank">http://www.freeswitch.org</a><br>
>>> <a href="http://confluence.freeswitch.org" rel="noreferrer" target="_blank">http://confluence.freeswitch.org</a><br>
>>> <a href="http://www.cluecon.com" rel="noreferrer" target="_blank">http://www.cluecon.com</a><br>
>>><br>
>>> FreeSWITCH-users mailing list<br>
>>> <a href="mailto:FreeSWITCH-users@lists.freeswitch.org">FreeSWITCH-users@lists.freeswitch.org</a><br>
>>> <a href="http://lists.freeswitch.org/mailman/listinfo/freeswitch-users" rel="noreferrer" target="_blank">http://lists.freeswitch.org/mailman/listinfo/freeswitch-users</a><br>
>>><br>
>>>UNSUBSCRIBE:<a href="http://lists.freeswitch.org/mailman/options/freeswitch-users" rel="noreferrer" target="_blank">http://lists.freeswitch.org/mailman/options/freeswitch-users</a><br>
>>> <a href="http://www.freeswitch.org" rel="noreferrer" target="_blank">http://www.freeswitch.org</a><br>
>>><br>
>><br>
>><br>
>>_________________________________________________________________________<br>
>> Professional FreeSWITCH Consulting Services:<br>
>> <a href="mailto:consulting@freeswitch.org">consulting@freeswitch.org</a><br>
>> <a href="http://www.freeswitchsolutions.com" rel="noreferrer" target="_blank">http://www.freeswitchsolutions.com</a><br>
>><br>
>> Official FreeSWITCH Sites<br>
>> <a href="http://www.freeswitch.org" rel="noreferrer" target="_blank">http://www.freeswitch.org</a><br>
>> <a href="http://confluence.freeswitch.org" rel="noreferrer" target="_blank">http://confluence.freeswitch.org</a><br>
>> <a href="http://www.cluecon.com" rel="noreferrer" target="_blank">http://www.cluecon.com</a><br>
>><br>
>> FreeSWITCH-users mailing list<br>
>> <a href="mailto:FreeSWITCH-users@lists.freeswitch.org">FreeSWITCH-users@lists.freeswitch.org</a><br>
>> <a href="http://lists.freeswitch.org/mailman/listinfo/freeswitch-users" rel="noreferrer" target="_blank">http://lists.freeswitch.org/mailman/listinfo/freeswitch-users</a><br>
>> UNSUBSCRIBE:<a href="http://lists.freeswitch.org/mailman/options/freeswitch-users" rel="noreferrer" target="_blank">http://lists.freeswitch.org/mailman/options/freeswitch-users</a><br>
>> <a href="http://www.freeswitch.org" rel="noreferrer" target="_blank">http://www.freeswitch.org</a><br>
><br>
><br>
>_________________________________________________________________________<br>
>Professional FreeSWITCH Consulting Services:<br>
><a href="mailto:consulting@freeswitch.org">consulting@freeswitch.org</a><br>
><a href="http://www.freeswitchsolutions.com" rel="noreferrer" target="_blank">http://www.freeswitchsolutions.com</a><br>
><br>
>Official FreeSWITCH Sites<br>
><a href="http://www.freeswitch.org" rel="noreferrer" target="_blank">http://www.freeswitch.org</a><br>
><a href="http://confluence.freeswitch.org" rel="noreferrer" target="_blank">http://confluence.freeswitch.org</a><br>
><a href="http://www.cluecon.com" rel="noreferrer" target="_blank">http://www.cluecon.com</a><br>
><br>
>FreeSWITCH-users mailing list<br>
><a href="mailto:FreeSWITCH-users@lists.freeswitch.org">FreeSWITCH-users@lists.freeswitch.org</a><br>
><a href="http://lists.freeswitch.org/mailman/listinfo/freeswitch-users" rel="noreferrer" target="_blank">http://lists.freeswitch.org/mailman/listinfo/freeswitch-users</a><br>
>UNSUBSCRIBE:<a href="http://lists.freeswitch.org/mailman/options/freeswitch-users" rel="noreferrer" target="_blank">http://lists.freeswitch.org/mailman/options/freeswitch-users</a><br>
><a href="http://www.freeswitch.org" rel="noreferrer" target="_blank">http://www.freeswitch.org</a><br>
<br>
<br>
_________________________________________________________________________<br>
Professional FreeSWITCH Consulting Services:<br>
<a href="mailto:consulting@freeswitch.org">consulting@freeswitch.org</a><br>
<a href="http://www.freeswitchsolutions.com" rel="noreferrer" target="_blank">http://www.freeswitchsolutions.com</a><br>
<br>
Official FreeSWITCH Sites<br>
<a href="http://www.freeswitch.org" rel="noreferrer" target="_blank">http://www.freeswitch.org</a><br>
<a href="http://confluence.freeswitch.org" rel="noreferrer" target="_blank">http://confluence.freeswitch.org</a><br>
<a href="http://www.cluecon.com" rel="noreferrer" target="_blank">http://www.cluecon.com</a><br>
<br>
FreeSWITCH-users mailing list<br>
<a href="mailto:FreeSWITCH-users@lists.freeswitch.org">FreeSWITCH-users@lists.freeswitch.org</a><br>
<a href="http://lists.freeswitch.org/mailman/listinfo/freeswitch-users" rel="noreferrer" target="_blank">http://lists.freeswitch.org/mailman/listinfo/freeswitch-users</a><br>
UNSUBSCRIBE:<a href="http://lists.freeswitch.org/mailman/options/freeswitch-users" rel="noreferrer" target="_blank">http://lists.freeswitch.org/mailman/options/freeswitch-users</a><br>
<a href="http://www.freeswitch.org" rel="noreferrer" target="_blank">http://www.freeswitch.org</a><br>
</blockquote></div>