Greetings, I'm trying to build a new FreeSWITCH instance from master, and I have to include the mod_amqp as we'll be relying on RabbitMQ to deliver events. Anyway, this is not working for me on a RHEL 6.2 server due to this error: make[3]: Entering directory `/apps/src/freeswitch-1.4.19/src/mod' making all mod_amqp make[4]: Entering directory `/apps/src/freeswitch-1.4.19/src/mod/event_handlers/mod_amqp' Makefile:772: *** You must install librabbitmq1 and librabbitmq-dev to build this module. Stop. make[4]: Leaving directory `/apps/src/freeswitch-1.4.19/src/mod/event_handlers/mod_amqp' make[3]: *** [mod_amqp-all] Error 1 make[3]: Leaving directory `/apps/src/freeswitch-1.4.19/src/mod' make[2]: *** [all-recursive] Error 1 make[2]: Leaving directory `/apps/src/freeswitch-1.4.19/src' make[1]: *** [all-recursive] Error 1 make[1]: Leaving directory `/apps/src/freeswitch-1.4.19' make: *** [all] Error 2 The error is pretty obvious: it's missing these two libraries listed there, but thing is that I cannot find those libraries (or any replacement for them) for the Red Hat/Fedora distros. I installled rabbitmq-server, no luck. Tried to install these: http://rpm.pbone.net/index.php3/stat/4/idpl/26206777/dir/redhat_el_6/com/lib... http://www.rpmfind.net/linux/rpm2html/search.php?query=librabbitmq-devel(x86...) No luck either. It was either I was missing some other dependencies, and then some more, and more, until I couldn't find some of the rpms missing, or the RPMs, after installed, didn't contain the same libs the debian-based pkg seems to have, as the module still didn't compile. Has anyone been able to compile this on a redhat based distro? (fedora,rhel,centos) Thanks all for your time
There do not appear to be any packages for the client libraries required for that system. The Debian packages are build from this git repo: https://github.com/alanxz/rabbitmq-c If you do get it installed and working, can you reply here with the steps? William King Senior Engineer Quentus Technologies, INC 1037 NE 65th St Suite 273 Seattle, WA 98115 Main: (877) 211-9337 Office: (206) 388-4772 Cell: (253) 686-5518 william.king@quentustech.com On 6/29/15 8:55 AM, Hector Geraldino wrote:
Greetings,
I’m trying to build a new FreeSWITCH instance from master, and I have to include the mod_amqp as we’ll be relying on RabbitMQ to deliver events. Anyway, this is not working for me on a RHEL 6.2 server due to this error:
make[3]: Entering directory `/apps/src/freeswitch-1.4.19/src/mod'
making all mod_amqp make[4]: Entering directory `/apps/src/freeswitch-1.4.19/src/mod/event_handlers/mod_amqp' Makefile:772: *** You must install librabbitmq1 and librabbitmq-dev to build this module. Stop. make[4]: Leaving directory `/apps/src/freeswitch-1.4.19/src/mod/event_handlers/mod_amqp' make[3]: *** [mod_amqp-all] Error 1 make[3]: Leaving directory `/apps/src/freeswitch-1.4.19/src/mod' make[2]: *** [all-recursive] Error 1 make[2]: Leaving directory `/apps/src/freeswitch-1.4.19/src' make[1]: *** [all-recursive] Error 1 make[1]: Leaving directory `/apps/src/freeswitch-1.4.19' make: *** [all] Error 2
The error is pretty obvious: it’s missing these two libraries listed there, but thing is that I cannot find those libraries (or any replacement for them) for the Red Hat/Fedora distros. I installled rabbitmq-server, no luck. Tried to install these:
http://rpm.pbone.net/index.php3/stat/4/idpl/26206777/dir/redhat_el_6/com/lib... http://www.rpmfind.net/linux/rpm2html/search.php?query=librabbitmq-devel(x86...)
No luck either. It was either I was missing some other dependencies, and then some more, and more, until I couldn’t find some of the rpms missing, or the RPMs, after installed, didn’t contain the same libs the debian-based pkg seems to have, as the module still didn’t compile.
Has anyone been able to compile this on a redhat based distro? (fedora,rhel,centos)
Thanks all for your time
_________________________________________________________________________ Professional FreeSWITCH Consulting Services: consulting@freeswitch.org http://www.freeswitchsolutions.com
Official FreeSWITCH Sites http://www.freeswitch.org http://confluence.freeswitch.org http://www.cluecon.com
FreeSWITCH-users mailing list FreeSWITCH-users@lists.freeswitch.org http://lists.freeswitch.org/mailman/listinfo/freeswitch-users UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users http://www.freeswitch.org
The best case is you can work with your distro to get packages made for that distro. I suggest that as the first step is to go through their process for getting a package added.
On Jun 29, 2015, at 3:54 PM, William King <william.king@quentustech.com> wrote:
There do not appear to be any packages for the client libraries required for that system. The Debian packages are build from this git repo:
https://github.com/alanxz/rabbitmq-c
If you do get it installed and working, can you reply here with the steps?
William King Senior Engineer Quentus Technologies, INC 1037 NE 65th St Suite 273 Seattle, WA 98115 Main: (877) 211-9337 Office: (206) 388-4772 Cell: (253) 686-5518 william.king@quentustech.com
On 6/29/15 8:55 AM, Hector Geraldino wrote:
Greetings,
I’m trying to build a new FreeSWITCH instance from master, and I have to include the mod_amqp as we’ll be relying on RabbitMQ to deliver events. Anyway, this is not working for me on a RHEL 6.2 server due to this error:
make[3]: Entering directory `/apps/src/freeswitch-1.4.19/src/mod'
making all mod_amqp make[4]: Entering directory `/apps/src/freeswitch-1.4.19/src/mod/event_handlers/mod_amqp' Makefile:772: *** You must install librabbitmq1 and librabbitmq-dev to build this module. Stop. make[4]: Leaving directory `/apps/src/freeswitch-1.4.19/src/mod/event_handlers/mod_amqp' make[3]: *** [mod_amqp-all] Error 1 make[3]: Leaving directory `/apps/src/freeswitch-1.4.19/src/mod' make[2]: *** [all-recursive] Error 1 make[2]: Leaving directory `/apps/src/freeswitch-1.4.19/src' make[1]: *** [all-recursive] Error 1 make[1]: Leaving directory `/apps/src/freeswitch-1.4.19' make: *** [all] Error 2
The error is pretty obvious: it’s missing these two libraries listed there, but thing is that I cannot find those libraries (or any replacement for them) for the Red Hat/Fedora distros. I installled rabbitmq-server, no luck. Tried to install these:
http://rpm.pbone.net/index.php3/stat/4/idpl/26206777/dir/redhat_el_6/com/lib... http://www.rpmfind.net/linux/rpm2html/search.php?query=librabbitmq-devel(x86...)
No luck either. It was either I was missing some other dependencies, and then some more, and more, until I couldn’t find some of the rpms missing, or the RPMs, after installed, didn’t contain the same libs the debian-based pkg seems to have, as the module still didn’t compile.
Has anyone been able to compile this on a redhat based distro? (fedora,rhel,centos)
Thanks all for your time
_________________________________________________________________________ Professional FreeSWITCH Consulting Services: consulting@freeswitch.org http://www.freeswitchsolutions.com
Official FreeSWITCH Sites http://www.freeswitch.org http://confluence.freeswitch.org http://www.cluecon.com
FreeSWITCH-users mailing list FreeSWITCH-users@lists.freeswitch.org http://lists.freeswitch.org/mailman/listinfo/freeswitch-users UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users http://www.freeswitch.org
_________________________________________________________________________ Professional FreeSWITCH Consulting Services: consulting@freeswitch.org http://www.freeswitchsolutions.com
Official FreeSWITCH Sites http://www.freeswitch.org http://confluence.freeswitch.org http://www.cluecon.com
FreeSWITCH-users mailing list FreeSWITCH-users@lists.freeswitch.org http://lists.freeswitch.org/mailman/listinfo/freeswitch-users UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users http://www.freeswitch.org
Thanks William, Mike Here¹s what I tried: 1- downloaded rabbitmq=c sources, run cmake install, export directories to both PATH and LD_LIBRARY_PATH env vars, run make on freeswitch sources, got same error. 2- tried with autoconfig, make && make install on the rabbitmq-c sources, same thing with PATH and LD_LIBRARY_PATH and same result. 3- finally, downloaded the .deb packages, ran alien -r *deb to generate RPMs, copied the RPMs from the ubuntu box to the RHEL server, ran rpm -Uvh packages.rpm, installation went through but still got the same error on the mod_amqp module: # rpm -Uvh librabbitmq1-0.5.2-3.x86_64.rpm Preparing... ########################################### [100%] 1:librabbitmq1 ########################################### [100%] # rpm -Uvh librabbitmq-dev-0.5.2-3.x86_64.rpm Preparing... ########################################### [100%] 1:librabbitmq-dev ########################################### [100%] # rpm -qa | grep rabbit librabbitmq1-0.5.2-3.x86_64 librabbitmq-dev-0.5.2-3.x86_64 # make make all-recursive make[1]: Entering directory `/apps/src/freeswitch-1.4.19' Making all in . make[2]: Entering directory `/apps/src/freeswitch-1.4.19' make[2]: Leaving directory `/apps/src/freeswitch-1.4.19' Making all in src make[2]: Entering directory `/apps/src/freeswitch-1.4.19/src' Making all in mod make[3]: Entering directory `/apps/src/freeswitch-1.4.19/src/mod' making all mod_amqp make[4]: Entering directory `/apps/src/freeswitch-1.4.19/src/mod/event_handlers/mod_amqp' Makefile:772: *** You must install librabbitmq1 and librabbitmq-dev to build this module. Stop. make[4]: Leaving directory `/apps/src/freeswitch-1.4.19/src/mod/event_handlers/mod_amqp' make[3]: *** [mod_amqp-all] Error 1 make[3]: Leaving directory `/apps/src/freeswitch-1.4.19/src/mod' make[2]: *** [all-recursive] Error 1 make[2]: Leaving directory `/apps/src/freeswitch-1.4.19/src' make[1]: *** [all-recursive] Error 1 make[1]: Leaving directory `/apps/src/freeswitch-1.4.19' make: *** [all] Error 2 My guess is that I should follow Mike¹s advice and initiate the request process to have this added to the EPEL, but that¹s a long, convoluted process and I don¹t have either the expertise/familiarity with RHEL ecosystem to own this. I guess I can always spin a parallel VM (or FreeSWITCH running on docker or something) and route the SIP/RTP traffic to that instance. Due to policies I cannot change I must stick with RHEL OS for all current and future deployments. Thanks guys for your help On 6/29/15, 4:03 PM, "freeswitch-users-bounces@lists.freeswitch.org on behalf of Michael Jerris" <freeswitch-users-bounces@lists.freeswitch.org on behalf of mike@jerris.com> wrote:
The best case is you can work with your distro to get packages made for that distro. I suggest that as the first step is to go through their process for getting a package added.
On Jun 29, 2015, at 3:54 PM, William King <william.king@quentustech.com> wrote:
There do not appear to be any packages for the client libraries required for that system. The Debian packages are build from this git repo:
https://github.com/alanxz/rabbitmq-c
If you do get it installed and working, can you reply here with the steps?
William King Senior Engineer Quentus Technologies, INC 1037 NE 65th St Suite 273 Seattle, WA 98115 Main: (877) 211-9337 Office: (206) 388-4772 Cell: (253) 686-5518 william.king@quentustech.com
On 6/29/15 8:55 AM, Hector Geraldino wrote:
Greetings,
I¹m trying to build a new FreeSWITCH instance from master, and I have to include the mod_amqp as we¹ll be relying on RabbitMQ to deliver events. Anyway, this is not working for me on a RHEL 6.2 server due to this error:
make[3]: Entering directory `/apps/src/freeswitch-1.4.19/src/mod'
making all mod_amqp make[4]: Entering directory `/apps/src/freeswitch-1.4.19/src/mod/event_handlers/mod_amqp' Makefile:772: *** You must install librabbitmq1 and librabbitmq-dev to build this module. Stop. make[4]: Leaving directory `/apps/src/freeswitch-1.4.19/src/mod/event_handlers/mod_amqp' make[3]: *** [mod_amqp-all] Error 1 make[3]: Leaving directory `/apps/src/freeswitch-1.4.19/src/mod' make[2]: *** [all-recursive] Error 1 make[2]: Leaving directory `/apps/src/freeswitch-1.4.19/src' make[1]: *** [all-recursive] Error 1 make[1]: Leaving directory `/apps/src/freeswitch-1.4.19' make: *** [all] Error 2
The error is pretty obvious: it¹s missing these two libraries listed there, but thing is that I cannot find those libraries (or any replacement for them) for the Red Hat/Fedora distros. I installled rabbitmq-server, no luck. Tried to install these:
http://rpm.pbone.net/index.php3/stat/4/idpl/26206777/dir/redhat_el_6/com /librabbitmq-devel-0.5.0-2.el6.x86_64.rpm.html
http://www.rpmfind.net/linux/rpm2html/search.php?query=librabbitmq-devel (x86-64)
No luck either. It was either I was missing some other dependencies, and then some more, and more, until I couldn¹t find some of the rpms missing, or the RPMs, after installed, didn¹t contain the same libs the debian-based pkg seems to have, as the module still didn¹t compile.
Has anyone been able to compile this on a redhat based distro? (fedora,rhel,centos)
Thanks all for your time
________________________________________________________________________ _ Professional FreeSWITCH Consulting Services: consulting@freeswitch.org http://www.freeswitchsolutions.com
Official FreeSWITCH Sites http://www.freeswitch.org http://confluence.freeswitch.org http://www.cluecon.com
FreeSWITCH-users mailing list FreeSWITCH-users@lists.freeswitch.org http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users http://www.freeswitch.org
_________________________________________________________________________ Professional FreeSWITCH Consulting Services: consulting@freeswitch.org http://www.freeswitchsolutions.com
Official FreeSWITCH Sites http://www.freeswitch.org http://confluence.freeswitch.org http://www.cluecon.com
FreeSWITCH-users mailing list FreeSWITCH-users@lists.freeswitch.org http://lists.freeswitch.org/mailman/listinfo/freeswitch-users UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users http://www.freeswitch.org
_________________________________________________________________________ Professional FreeSWITCH Consulting Services: consulting@freeswitch.org http://www.freeswitchsolutions.com
Official FreeSWITCH Sites http://www.freeswitch.org http://confluence.freeswitch.org http://www.cluecon.com
FreeSWITCH-users mailing list FreeSWITCH-users@lists.freeswitch.org http://lists.freeswitch.org/mailman/listinfo/freeswitch-users UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users http://www.freeswitch.org
I will create the rpms as soon as the first fs 1.6 tarball is released On Jun 29, 2015 5:14 PM, "Hector Geraldino" <Hector.Geraldino@ipsoft.com> wrote:
Thanks William, Mike
Here¹s what I tried: 1- downloaded rabbitmq=c sources, run cmake install, export directories to both PATH and LD_LIBRARY_PATH env vars, run make on freeswitch sources, got same error. 2- tried with autoconfig, make && make install on the rabbitmq-c sources, same thing with PATH and LD_LIBRARY_PATH and same result. 3- finally, downloaded the .deb packages, ran alien -r *deb to generate RPMs, copied the RPMs from the ubuntu box to the RHEL server, ran rpm -Uvh packages.rpm, installation went through but still got the same error on the mod_amqp module:
# rpm -Uvh librabbitmq1-0.5.2-3.x86_64.rpm Preparing... ########################################### [100%] 1:librabbitmq1 ########################################### [100%]
# rpm -Uvh librabbitmq-dev-0.5.2-3.x86_64.rpm Preparing... ########################################### [100%] 1:librabbitmq-dev ########################################### [100%]
# rpm -qa | grep rabbit librabbitmq1-0.5.2-3.x86_64 librabbitmq-dev-0.5.2-3.x86_64
# make make all-recursive make[1]: Entering directory `/apps/src/freeswitch-1.4.19' Making all in . make[2]: Entering directory `/apps/src/freeswitch-1.4.19' make[2]: Leaving directory `/apps/src/freeswitch-1.4.19' Making all in src make[2]: Entering directory `/apps/src/freeswitch-1.4.19/src' Making all in mod make[3]: Entering directory `/apps/src/freeswitch-1.4.19/src/mod'
making all mod_amqp make[4]: Entering directory `/apps/src/freeswitch-1.4.19/src/mod/event_handlers/mod_amqp' Makefile:772: *** You must install librabbitmq1 and librabbitmq-dev to build this module. Stop. make[4]: Leaving directory `/apps/src/freeswitch-1.4.19/src/mod/event_handlers/mod_amqp' make[3]: *** [mod_amqp-all] Error 1 make[3]: Leaving directory `/apps/src/freeswitch-1.4.19/src/mod' make[2]: *** [all-recursive] Error 1 make[2]: Leaving directory `/apps/src/freeswitch-1.4.19/src' make[1]: *** [all-recursive] Error 1 make[1]: Leaving directory `/apps/src/freeswitch-1.4.19' make: *** [all] Error 2
My guess is that I should follow Mike¹s advice and initiate the request process to have this added to the EPEL, but that¹s a long, convoluted process and I don¹t have either the expertise/familiarity with RHEL ecosystem to own this. I guess I can always spin a parallel VM (or FreeSWITCH running on docker or something) and route the SIP/RTP traffic to that instance. Due to policies I cannot change I must stick with RHEL OS for all current and future deployments.
Thanks guys for your help
On 6/29/15, 4:03 PM, "freeswitch-users-bounces@lists.freeswitch.org on behalf of Michael Jerris" <freeswitch-users-bounces@lists.freeswitch.org on behalf of mike@jerris.com> wrote:
The best case is you can work with your distro to get packages made for that distro. I suggest that as the first step is to go through their process for getting a package added.
On Jun 29, 2015, at 3:54 PM, William King <william.king@quentustech.com> wrote:
There do not appear to be any packages for the client libraries required for that system. The Debian packages are build from this git repo:
https://github.com/alanxz/rabbitmq-c
If you do get it installed and working, can you reply here with the steps?
William King Senior Engineer Quentus Technologies, INC 1037 NE 65th St Suite 273 Seattle, WA 98115 Main: (877) 211-9337 Office: (206) 388-4772 Cell: (253) 686-5518 william.king@quentustech.com
On 6/29/15 8:55 AM, Hector Geraldino wrote:
Greetings,
I¹m trying to build a new FreeSWITCH instance from master, and I have to include the mod_amqp as we¹ll be relying on RabbitMQ to deliver events. Anyway, this is not working for me on a RHEL 6.2 server due to this error:
make[3]: Entering directory `/apps/src/freeswitch-1.4.19/src/mod'
making all mod_amqp make[4]: Entering directory `/apps/src/freeswitch-1.4.19/src/mod/event_handlers/mod_amqp' Makefile:772: *** You must install librabbitmq1 and librabbitmq-dev to build this module. Stop. make[4]: Leaving directory `/apps/src/freeswitch-1.4.19/src/mod/event_handlers/mod_amqp' make[3]: *** [mod_amqp-all] Error 1 make[3]: Leaving directory `/apps/src/freeswitch-1.4.19/src/mod' make[2]: *** [all-recursive] Error 1 make[2]: Leaving directory `/apps/src/freeswitch-1.4.19/src' make[1]: *** [all-recursive] Error 1 make[1]: Leaving directory `/apps/src/freeswitch-1.4.19' make: *** [all] Error 2
The error is pretty obvious: it¹s missing these two libraries listed there, but thing is that I cannot find those libraries (or any replacement for them) for the Red Hat/Fedora distros. I installled rabbitmq-server, no luck. Tried to install these:
http://rpm.pbone.net/index.php3/stat/4/idpl/26206777/dir/redhat_el_6/com
/librabbitmq-devel-0.5.0-2.el6.x86_64.rpm.html
http://www.rpmfind.net/linux/rpm2html/search.php?query=librabbitmq-devel
(x86-64)
No luck either. It was either I was missing some other dependencies, and then some more, and more, until I couldn¹t find some of the rpms missing, or the RPMs, after installed, didn¹t contain the same libs the debian-based pkg seems to have, as the module still didn¹t compile.
Has anyone been able to compile this on a redhat based distro? (fedora,rhel,centos)
Thanks all for your time
________________________________________________________________________ _ Professional FreeSWITCH Consulting Services: consulting@freeswitch.org http://www.freeswitchsolutions.com
Official FreeSWITCH Sites http://www.freeswitch.org http://confluence.freeswitch.org http://www.cluecon.com
FreeSWITCH-users mailing list FreeSWITCH-users@lists.freeswitch.org http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
UNSUBSCRIBE: http://lists.freeswitch.org/mailman/options/freeswitch-users http://www.freeswitch.org
_________________________________________________________________________ Professional FreeSWITCH Consulting Services: consulting@freeswitch.org http://www.freeswitchsolutions.com
Official FreeSWITCH Sites http://www.freeswitch.org http://confluence.freeswitch.org http://www.cluecon.com
FreeSWITCH-users mailing list FreeSWITCH-users@lists.freeswitch.org http://lists.freeswitch.org/mailman/listinfo/freeswitch-users UNSUBSCRIBE: http://lists.freeswitch.org/mailman/options/freeswitch-users http://www.freeswitch.org
_________________________________________________________________________ Professional FreeSWITCH Consulting Services: consulting@freeswitch.org http://www.freeswitchsolutions.com
Official FreeSWITCH Sites http://www.freeswitch.org http://confluence.freeswitch.org http://www.cluecon.com
FreeSWITCH-users mailing list FreeSWITCH-users@lists.freeswitch.org http://lists.freeswitch.org/mailman/listinfo/freeswitch-users UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users http://www.freeswitch.org
_________________________________________________________________________ Professional FreeSWITCH Consulting Services: consulting@freeswitch.org http://www.freeswitchsolutions.com
Official FreeSWITCH Sites http://www.freeswitch.org http://confluence.freeswitch.org http://www.cluecon.com
FreeSWITCH-users mailing list FreeSWITCH-users@lists.freeswitch.org http://lists.freeswitch.org/mailman/listinfo/freeswitch-users UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users http://www.freeswitch.org
You would need to rerun configure to detect the changes to the now installed librabbitmq libraries. William King Senior Engineer Quentus Technologies, INC 1037 NE 65th St Suite 273 Seattle, WA 98115 Main: (877) 211-9337 Office: (206) 388-4772 Cell: (253) 686-5518 william.king@quentustech.com On 6/29/15 2:13 PM, Hector Geraldino wrote:
Thanks William, Mike
Here¹s what I tried: 1- downloaded rabbitmq=c sources, run cmake install, export directories to both PATH and LD_LIBRARY_PATH env vars, run make on freeswitch sources, got same error. 2- tried with autoconfig, make && make install on the rabbitmq-c sources, same thing with PATH and LD_LIBRARY_PATH and same result. 3- finally, downloaded the .deb packages, ran alien -r *deb to generate RPMs, copied the RPMs from the ubuntu box to the RHEL server, ran rpm -Uvh packages.rpm, installation went through but still got the same error on the mod_amqp module:
# rpm -Uvh librabbitmq1-0.5.2-3.x86_64.rpm Preparing... ########################################### [100%] 1:librabbitmq1 ########################################### [100%]
# rpm -Uvh librabbitmq-dev-0.5.2-3.x86_64.rpm Preparing... ########################################### [100%] 1:librabbitmq-dev ########################################### [100%]
# rpm -qa | grep rabbit librabbitmq1-0.5.2-3.x86_64 librabbitmq-dev-0.5.2-3.x86_64
# make make all-recursive make[1]: Entering directory `/apps/src/freeswitch-1.4.19' Making all in . make[2]: Entering directory `/apps/src/freeswitch-1.4.19' make[2]: Leaving directory `/apps/src/freeswitch-1.4.19' Making all in src make[2]: Entering directory `/apps/src/freeswitch-1.4.19/src' Making all in mod make[3]: Entering directory `/apps/src/freeswitch-1.4.19/src/mod'
making all mod_amqp make[4]: Entering directory `/apps/src/freeswitch-1.4.19/src/mod/event_handlers/mod_amqp' Makefile:772: *** You must install librabbitmq1 and librabbitmq-dev to build this module. Stop. make[4]: Leaving directory `/apps/src/freeswitch-1.4.19/src/mod/event_handlers/mod_amqp' make[3]: *** [mod_amqp-all] Error 1 make[3]: Leaving directory `/apps/src/freeswitch-1.4.19/src/mod' make[2]: *** [all-recursive] Error 1 make[2]: Leaving directory `/apps/src/freeswitch-1.4.19/src' make[1]: *** [all-recursive] Error 1 make[1]: Leaving directory `/apps/src/freeswitch-1.4.19' make: *** [all] Error 2
My guess is that I should follow Mike¹s advice and initiate the request process to have this added to the EPEL, but that¹s a long, convoluted process and I don¹t have either the expertise/familiarity with RHEL ecosystem to own this. I guess I can always spin a parallel VM (or FreeSWITCH running on docker or something) and route the SIP/RTP traffic to that instance. Due to policies I cannot change I must stick with RHEL OS for all current and future deployments.
Thanks guys for your help
On 6/29/15, 4:03 PM, "freeswitch-users-bounces@lists.freeswitch.org on behalf of Michael Jerris" <freeswitch-users-bounces@lists.freeswitch.org on behalf of mike@jerris.com> wrote:
The best case is you can work with your distro to get packages made for that distro. I suggest that as the first step is to go through their process for getting a package added.
On Jun 29, 2015, at 3:54 PM, William King <william.king@quentustech.com> wrote:
There do not appear to be any packages for the client libraries required for that system. The Debian packages are build from this git repo:
https://github.com/alanxz/rabbitmq-c
If you do get it installed and working, can you reply here with the steps?
William King Senior Engineer Quentus Technologies, INC 1037 NE 65th St Suite 273 Seattle, WA 98115 Main: (877) 211-9337 Office: (206) 388-4772 Cell: (253) 686-5518 william.king@quentustech.com
On 6/29/15 8:55 AM, Hector Geraldino wrote:
Greetings,
I¹m trying to build a new FreeSWITCH instance from master, and I have to include the mod_amqp as we¹ll be relying on RabbitMQ to deliver events. Anyway, this is not working for me on a RHEL 6.2 server due to this error:
make[3]: Entering directory `/apps/src/freeswitch-1.4.19/src/mod'
making all mod_amqp make[4]: Entering directory `/apps/src/freeswitch-1.4.19/src/mod/event_handlers/mod_amqp' Makefile:772: *** You must install librabbitmq1 and librabbitmq-dev to build this module. Stop. make[4]: Leaving directory `/apps/src/freeswitch-1.4.19/src/mod/event_handlers/mod_amqp' make[3]: *** [mod_amqp-all] Error 1 make[3]: Leaving directory `/apps/src/freeswitch-1.4.19/src/mod' make[2]: *** [all-recursive] Error 1 make[2]: Leaving directory `/apps/src/freeswitch-1.4.19/src' make[1]: *** [all-recursive] Error 1 make[1]: Leaving directory `/apps/src/freeswitch-1.4.19' make: *** [all] Error 2
The error is pretty obvious: it¹s missing these two libraries listed there, but thing is that I cannot find those libraries (or any replacement for them) for the Red Hat/Fedora distros. I installled rabbitmq-server, no luck. Tried to install these:
http://rpm.pbone.net/index.php3/stat/4/idpl/26206777/dir/redhat_el_6/com /librabbitmq-devel-0.5.0-2.el6.x86_64.rpm.html
http://www.rpmfind.net/linux/rpm2html/search.php?query=librabbitmq-devel (x86-64)
No luck either. It was either I was missing some other dependencies, and then some more, and more, until I couldn¹t find some of the rpms missing, or the RPMs, after installed, didn¹t contain the same libs the debian-based pkg seems to have, as the module still didn¹t compile.
Has anyone been able to compile this on a redhat based distro? (fedora,rhel,centos)
Thanks all for your time
________________________________________________________________________ _ Professional FreeSWITCH Consulting Services: consulting@freeswitch.org http://www.freeswitchsolutions.com
Official FreeSWITCH Sites http://www.freeswitch.org http://confluence.freeswitch.org http://www.cluecon.com
FreeSWITCH-users mailing list FreeSWITCH-users@lists.freeswitch.org http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users http://www.freeswitch.org
_________________________________________________________________________ Professional FreeSWITCH Consulting Services: consulting@freeswitch.org http://www.freeswitchsolutions.com
Official FreeSWITCH Sites http://www.freeswitch.org http://confluence.freeswitch.org http://www.cluecon.com
FreeSWITCH-users mailing list FreeSWITCH-users@lists.freeswitch.org http://lists.freeswitch.org/mailman/listinfo/freeswitch-users UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users http://www.freeswitch.org
_________________________________________________________________________ Professional FreeSWITCH Consulting Services: consulting@freeswitch.org http://www.freeswitchsolutions.com
Official FreeSWITCH Sites http://www.freeswitch.org http://confluence.freeswitch.org http://www.cluecon.com
FreeSWITCH-users mailing list FreeSWITCH-users@lists.freeswitch.org http://lists.freeswitch.org/mailman/listinfo/freeswitch-users UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users http://www.freeswitch.org
_________________________________________________________________________ Professional FreeSWITCH Consulting Services: consulting@freeswitch.org http://www.freeswitchsolutions.com
Official FreeSWITCH Sites http://www.freeswitch.org http://confluence.freeswitch.org http://www.cluecon.com
FreeSWITCH-users mailing list FreeSWITCH-users@lists.freeswitch.org http://lists.freeswitch.org/mailman/listinfo/freeswitch-users UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users http://www.freeswitch.org
So, I re-ran ./configure and the result was the same. I ran also ./rebootstrap.sh then ./configure, but ‘make’ failed on the same spot. Luis Daniel offered to create the RPMs for the upcoming 1.6 version, so I guess I will have to wait ’til then. Thanks again On 6/29/15, 6:25 PM, "freeswitch-users-bounces@lists.freeswitch.org on behalf of William King" <freeswitch-users-bounces@lists.freeswitch.org on behalf of william.king@quentustech.com> wrote:
You would need to rerun configure to detect the changes to the now installed librabbitmq libraries.
William King Senior Engineer Quentus Technologies, INC 1037 NE 65th St Suite 273 Seattle, WA 98115 Main: (877) 211-9337 Office: (206) 388-4772 Cell: (253) 686-5518 william.king@quentustech.com
On 6/29/15 2:13 PM, Hector Geraldino wrote:
Thanks William, Mike
Here¹s what I tried: 1- downloaded rabbitmq=c sources, run cmake install, export directories to both PATH and LD_LIBRARY_PATH env vars, run make on freeswitch sources, got same error. 2- tried with autoconfig, make && make install on the rabbitmq-c sources, same thing with PATH and LD_LIBRARY_PATH and same result. 3- finally, downloaded the .deb packages, ran alien -r *deb to generate RPMs, copied the RPMs from the ubuntu box to the RHEL server, ran rpm -Uvh packages.rpm, installation went through but still got the same error on the mod_amqp module:
# rpm -Uvh librabbitmq1-0.5.2-3.x86_64.rpm Preparing... ########################################### [100%] 1:librabbitmq1 ########################################### [100%]
# rpm -Uvh librabbitmq-dev-0.5.2-3.x86_64.rpm Preparing... ########################################### [100%] 1:librabbitmq-dev ########################################### [100%]
# rpm -qa | grep rabbit librabbitmq1-0.5.2-3.x86_64 librabbitmq-dev-0.5.2-3.x86_64
# make make all-recursive make[1]: Entering directory `/apps/src/freeswitch-1.4.19' Making all in . make[2]: Entering directory `/apps/src/freeswitch-1.4.19' make[2]: Leaving directory `/apps/src/freeswitch-1.4.19' Making all in src make[2]: Entering directory `/apps/src/freeswitch-1.4.19/src' Making all in mod make[3]: Entering directory `/apps/src/freeswitch-1.4.19/src/mod'
making all mod_amqp make[4]: Entering directory `/apps/src/freeswitch-1.4.19/src/mod/event_handlers/mod_amqp' Makefile:772: *** You must install librabbitmq1 and librabbitmq-dev to build this module. Stop. make[4]: Leaving directory `/apps/src/freeswitch-1.4.19/src/mod/event_handlers/mod_amqp' make[3]: *** [mod_amqp-all] Error 1 make[3]: Leaving directory `/apps/src/freeswitch-1.4.19/src/mod' make[2]: *** [all-recursive] Error 1 make[2]: Leaving directory `/apps/src/freeswitch-1.4.19/src' make[1]: *** [all-recursive] Error 1 make[1]: Leaving directory `/apps/src/freeswitch-1.4.19' make: *** [all] Error 2
My guess is that I should follow Mike¹s advice and initiate the request process to have this added to the EPEL, but that¹s a long, convoluted process and I don¹t have either the expertise/familiarity with RHEL ecosystem to own this. I guess I can always spin a parallel VM (or FreeSWITCH running on docker or something) and route the SIP/RTP traffic to that instance. Due to policies I cannot change I must stick with RHEL OS for all current and future deployments.
Thanks guys for your help
On 6/29/15, 4:03 PM, "freeswitch-users-bounces@lists.freeswitch.org on behalf of Michael Jerris" <freeswitch-users-bounces@lists.freeswitch.org on behalf of mike@jerris.com> wrote:
The best case is you can work with your distro to get packages made for that distro. I suggest that as the first step is to go through their process for getting a package added.
On Jun 29, 2015, at 3:54 PM, William King <william.king@quentustech.com> wrote:
There do not appear to be any packages for the client libraries required for that system. The Debian packages are build from this git repo:
https://github.com/alanxz/rabbitmq-c
If you do get it installed and working, can you reply here with the steps?
William King Senior Engineer Quentus Technologies, INC 1037 NE 65th St Suite 273 Seattle, WA 98115 Main: (877) 211-9337 Office: (206) 388-4772 Cell: (253) 686-5518 william.king@quentustech.com
On 6/29/15 8:55 AM, Hector Geraldino wrote:
Greetings,
I¹m trying to build a new FreeSWITCH instance from master, and I have to include the mod_amqp as we¹ll be relying on RabbitMQ to deliver events. Anyway, this is not working for me on a RHEL 6.2 server due to this error:
make[3]: Entering directory `/apps/src/freeswitch-1.4.19/src/mod'
making all mod_amqp make[4]: Entering directory `/apps/src/freeswitch-1.4.19/src/mod/event_handlers/mod_amqp' Makefile:772: *** You must install librabbitmq1 and librabbitmq-dev to build this module. Stop. make[4]: Leaving directory `/apps/src/freeswitch-1.4.19/src/mod/event_handlers/mod_amqp' make[3]: *** [mod_amqp-all] Error 1 make[3]: Leaving directory `/apps/src/freeswitch-1.4.19/src/mod' make[2]: *** [all-recursive] Error 1 make[2]: Leaving directory `/apps/src/freeswitch-1.4.19/src' make[1]: *** [all-recursive] Error 1 make[1]: Leaving directory `/apps/src/freeswitch-1.4.19' make: *** [all] Error 2
The error is pretty obvious: it¹s missing these two libraries listed there, but thing is that I cannot find those libraries (or any replacement for them) for the Red Hat/Fedora distros. I installled rabbitmq-server, no luck. Tried to install these:
http://rpm.pbone.net/index.php3/stat/4/idpl/26206777/dir/redhat_el_6/c om /librabbitmq-devel-0.5.0-2.el6.x86_64.rpm.html
http://www.rpmfind.net/linux/rpm2html/search.php?query=librabbitmq-dev el (x86-64)
No luck either. It was either I was missing some other dependencies, and then some more, and more, until I couldn¹t find some of the rpms missing, or the RPMs, after installed, didn¹t contain the same libs the debian-based pkg seems to have, as the module still didn¹t compile.
Has anyone been able to compile this on a redhat based distro? (fedora,rhel,centos)
Thanks all for your time
______________________________________________________________________ __ _ Professional FreeSWITCH Consulting Services: consulting@freeswitch.org http://www.freeswitchsolutions.com
Official FreeSWITCH Sites http://www.freeswitch.org http://confluence.freeswitch.org http://www.cluecon.com
FreeSWITCH-users mailing list FreeSWITCH-users@lists.freeswitch.org http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-use rs http://www.freeswitch.org
_______________________________________________________________________ __ Professional FreeSWITCH Consulting Services: consulting@freeswitch.org http://www.freeswitchsolutions.com
Official FreeSWITCH Sites http://www.freeswitch.org http://confluence.freeswitch.org http://www.cluecon.com
FreeSWITCH-users mailing list FreeSWITCH-users@lists.freeswitch.org http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-user s http://www.freeswitch.org
________________________________________________________________________ _ Professional FreeSWITCH Consulting Services: consulting@freeswitch.org http://www.freeswitchsolutions.com
Official FreeSWITCH Sites http://www.freeswitch.org http://confluence.freeswitch.org http://www.cluecon.com
FreeSWITCH-users mailing list FreeSWITCH-users@lists.freeswitch.org http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users http://www.freeswitch.org
_________________________________________________________________________ Professional FreeSWITCH Consulting Services: consulting@freeswitch.org http://www.freeswitchsolutions.com
Official FreeSWITCH Sites http://www.freeswitch.org http://confluence.freeswitch.org http://www.cluecon.com
FreeSWITCH-users mailing list FreeSWITCH-users@lists.freeswitch.org http://lists.freeswitch.org/mailman/listinfo/freeswitch-users UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users http://www.freeswitch.org
_________________________________________________________________________ Professional FreeSWITCH Consulting Services: consulting@freeswitch.org http://www.freeswitchsolutions.com
Official FreeSWITCH Sites http://www.freeswitch.org http://confluence.freeswitch.org http://www.cluecon.com
FreeSWITCH-users mailing list FreeSWITCH-users@lists.freeswitch.org http://lists.freeswitch.org/mailman/listinfo/freeswitch-users UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users http://www.freeswitch.org
Did you install the runtime package librabbitmq as well as the development header package librabbitmq-devel? You could also try installing librabbitmq from source. It's looking for the libraries/headers in the standard paths, not a formal package installed. It's also possible though that the files are there but the compiler isn't looking at the correct path on your system, perhaps because of minor differences in paths between linux distributions despite FHS. Steve On 29 June 2015 at 16:55, Hector Geraldino <Hector.Geraldino@ipsoft.com> wrote:
Greetings,
I’m trying to build a new FreeSWITCH instance from master, and I have to include the mod_amqp as we’ll be relying on RabbitMQ to deliver events. Anyway, this is not working for me on a RHEL 6.2 server due to this error:
make[3]: Entering directory `/apps/src/freeswitch-1.4.19/src/mod'
making all mod_amqp make[4]: Entering directory `/apps/src/freeswitch-1.4.19/src/mod/event_handlers/mod_amqp' Makefile:772: *** You must install librabbitmq1 and librabbitmq-dev to build this module. Stop. make[4]: Leaving directory `/apps/src/freeswitch-1.4.19/src/mod/event_handlers/mod_amqp' make[3]: *** [mod_amqp-all] Error 1 make[3]: Leaving directory `/apps/src/freeswitch-1.4.19/src/mod' make[2]: *** [all-recursive] Error 1 make[2]: Leaving directory `/apps/src/freeswitch-1.4.19/src' make[1]: *** [all-recursive] Error 1 make[1]: Leaving directory `/apps/src/freeswitch-1.4.19' make: *** [all] Error 2
The error is pretty obvious: it’s missing these two libraries listed there, but thing is that I cannot find those libraries (or any replacement for them) for the Red Hat/Fedora distros. I installled rabbitmq-server, no luck. Tried to install these:
http://rpm.pbone.net/index.php3/stat/4/idpl/26206777/dir/redhat_el_6/com/lib...
http://www.rpmfind.net/linux/rpm2html/search.php?query=librabbitmq-devel(x86...)
No luck either. It was either I was missing some other dependencies, and then some more, and more, until I couldn’t find some of the rpms missing, or the RPMs, after installed, didn’t contain the same libs the debian-based pkg seems to have, as the module still didn’t compile.
Has anyone been able to compile this on a redhat based distro? (fedora,rhel,centos)
Thanks all for your time
_________________________________________________________________________ Professional FreeSWITCH Consulting Services: consulting@freeswitch.org http://www.freeswitchsolutions.com
Official FreeSWITCH Sites http://www.freeswitch.org http://confluence.freeswitch.org http://www.cluecon.com
FreeSWITCH-users mailing list FreeSWITCH-users@lists.freeswitch.org http://lists.freeswitch.org/mailman/listinfo/freeswitch-users UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users http://www.freeswitch.org
I wish I could read/understand Makefiles, all I can see is just gibberish. I installed the RPMs, and libraries were copied under /usr/lib/x86_64-linux-gnu, which might or might not be on the standard path. Nevertheless, I added the directory to the $PATH and $LD_LIBRARY_PATH environment variables, ran ./configure then make, and err was the same. From: <freeswitch-users-bounces@lists.freeswitch.org<mailto:freeswitch-users-bounces@lists.freeswitch.org>> on behalf of Steven Ayre <steveayre@gmail.com<mailto:steveayre@gmail.com>> Reply-To: FreeSWITCH Users Help <freeswitch-users@lists.freeswitch.org<mailto:freeswitch-users@lists.freeswitch.org>> Date: Monday, June 29, 2015 at 4:54 PM To: FreeSWITCH Users Help <freeswitch-users@lists.freeswitch.org<mailto:freeswitch-users@lists.freeswitch.org>> Subject: Re: [Freeswitch-users] mod_amqp on RHEL Did you install the runtime package librabbitmq as well as the development header package librabbitmq-devel? You could also try installing librabbitmq from source. It's looking for the libraries/headers in the standard paths, not a formal package installed. It's also possible though that the files are there but the compiler isn't looking at the correct path on your system, perhaps because of minor differences in paths between linux distributions despite FHS. Steve On 29 June 2015 at 16:55, Hector Geraldino <Hector.Geraldino@ipsoft.com<mailto:Hector.Geraldino@ipsoft.com>> wrote: Greetings, I'm trying to build a new FreeSWITCH instance from master, and I have to include the mod_amqp as we'll be relying on RabbitMQ to deliver events. Anyway, this is not working for me on a RHEL 6.2 server due to this error: make[3]: Entering directory `/apps/src/freeswitch-1.4.19/src/mod' making all mod_amqp make[4]: Entering directory `/apps/src/freeswitch-1.4.19/src/mod/event_handlers/mod_amqp' Makefile:772: *** You must install librabbitmq1 and librabbitmq-dev to build this module. Stop. make[4]: Leaving directory `/apps/src/freeswitch-1.4.19/src/mod/event_handlers/mod_amqp' make[3]: *** [mod_amqp-all] Error 1 make[3]: Leaving directory `/apps/src/freeswitch-1.4.19/src/mod' make[2]: *** [all-recursive] Error 1 make[2]: Leaving directory `/apps/src/freeswitch-1.4.19/src' make[1]: *** [all-recursive] Error 1 make[1]: Leaving directory `/apps/src/freeswitch-1.4.19' make: *** [all] Error 2 The error is pretty obvious: it's missing these two libraries listed there, but thing is that I cannot find those libraries (or any replacement for them) for the Red Hat/Fedora distros. I installled rabbitmq-server, no luck. Tried to install these: http://rpm.pbone.net/index.php3/stat/4/idpl/26206777/dir/redhat_el_6/com/lib... http://www.rpmfind.net/linux/rpm2html/search.php?query=librabbitmq-devel(x86...) No luck either. It was either I was missing some other dependencies, and then some more, and more, until I couldn't find some of the rpms missing, or the RPMs, after installed, didn't contain the same libs the debian-based pkg seems to have, as the module still didn't compile. Has anyone been able to compile this on a redhat based distro? (fedora,rhel,centos) Thanks all for your time _________________________________________________________________________ Professional FreeSWITCH Consulting Services: consulting@freeswitch.org<mailto:consulting@freeswitch.org> http://www.freeswitchsolutions.com Official FreeSWITCH Sites http://www.freeswitch.org http://confluence.freeswitch.org http://www.cluecon.com FreeSWITCH-users mailing list FreeSWITCH-users@lists.freeswitch.org<mailto:FreeSWITCH-users@lists.freeswitch.org> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users http://www.freeswitch.org
The key here is the configure detection. it is using pkg-config to look for librabbitmq.pc you can try this by way of pkg-config librabbitmq --modversion If that command does not return anything, your not ready to re run configure yet.
On Jun 30, 2015, at 11:08 AM, Hector Geraldino <Hector.Geraldino@ipsoft.com> wrote:
I wish I could read/understand Makefiles, all I can see is just gibberish.
I installed the RPMs, and libraries were copied under /usr/lib/x86_64-linux-gnu, which might or might not be on the standard path. Nevertheless, I added the directory to the $PATH and $LD_LIBRARY_PATH environment variables, ran ./configure then make, and err was the same.
From: <freeswitch-users-bounces@lists.freeswitch.org <mailto:freeswitch-users-bounces@lists.freeswitch.org>> on behalf of Steven Ayre <steveayre@gmail.com <mailto:steveayre@gmail.com>> Reply-To: FreeSWITCH Users Help <freeswitch-users@lists.freeswitch.org <mailto:freeswitch-users@lists.freeswitch.org>> Date: Monday, June 29, 2015 at 4:54 PM To: FreeSWITCH Users Help <freeswitch-users@lists.freeswitch.org <mailto:freeswitch-users@lists.freeswitch.org>> Subject: Re: [Freeswitch-users] mod_amqp on RHEL
Did you install the runtime package librabbitmq as well as the development header package librabbitmq-devel?
You could also try installing librabbitmq from source. It's looking for the libraries/headers in the standard paths, not a formal package installed.
It's also possible though that the files are there but the compiler isn't looking at the correct path on your system, perhaps because of minor differences in paths between linux distributions despite FHS.
Steve
On 29 June 2015 at 16:55, Hector Geraldino <Hector.Geraldino@ipsoft.com <mailto:Hector.Geraldino@ipsoft.com>> wrote:
Greetings,
I’m trying to build a new FreeSWITCH instance from master, and I have to include the mod_amqp as we’ll be relying on RabbitMQ to deliver events. Anyway, this is not working for me on a RHEL 6.2 server due to this error:
make[3]: Entering directory `/apps/src/freeswitch-1.4.19/src/mod'
making all mod_amqp make[4]: Entering directory `/apps/src/freeswitch-1.4.19/src/mod/event_handlers/mod_amqp' Makefile:772: *** You must install librabbitmq1 and librabbitmq-dev to build this module. Stop. make[4]: Leaving directory `/apps/src/freeswitch-1.4.19/src/mod/event_handlers/mod_amqp' make[3]: *** [mod_amqp-all] Error 1 make[3]: Leaving directory `/apps/src/freeswitch-1.4.19/src/mod' make[2]: *** [all-recursive] Error 1 make[2]: Leaving directory `/apps/src/freeswitch-1.4.19/src' make[1]: *** [all-recursive] Error 1 make[1]: Leaving directory `/apps/src/freeswitch-1.4.19' make: *** [all] Error 2
The error is pretty obvious: it’s missing these two libraries listed there, but thing is that I cannot find those libraries (or any replacement for them) for the Red Hat/Fedora distros. I installled rabbitmq-server, no luck. Tried to install these:
http://rpm.pbone.net/index.php3/stat/4/idpl/26206777/dir/redhat_el_6/com/lib... <http://rpm.pbone.net/index.php3/stat/4/idpl/26206777/dir/redhat_el_6/com/librabbitmq-devel-0.5.0-2.el6.x86_64.rpm.html> http://www.rpmfind.net/linux/rpm2html/search.php?query=librabbitmq-devel(x86...) <http://www.rpmfind.net/linux/rpm2html/search.php?query=librabbitmq-devel(x86-64)>
No luck either. It was either I was missing some other dependencies, and then some more, and more, until I couldn’t find some of the rpms missing, or the RPMs, after installed, didn’t contain the same libs the debian-based pkg seems to have, as the module still didn’t compile.
Has anyone been able to compile this on a redhat based distro? (fedora,rhel,centos)
Thanks all for your time
_________________________________________________________________________ Professional FreeSWITCH Consulting Services: consulting@freeswitch.org <mailto:consulting@freeswitch.org> http://www.freeswitchsolutions.com <http://www.freeswitchsolutions.com/>
Official FreeSWITCH Sites http://www.freeswitch.org <http://www.freeswitch.org/> http://confluence.freeswitch.org <http://confluence.freeswitch.org/> http://www.cluecon.com <http://www.cluecon.com/>
FreeSWITCH-users mailing list FreeSWITCH-users@lists.freeswitch.org <mailto:FreeSWITCH-users@lists.freeswitch.org> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users <http://lists.freeswitch.org/mailman/listinfo/freeswitch-users> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users <http://lists.freeswitch.org/mailman/options/freeswitch-users> http://www.freeswitch.org <http://www.freeswitch.org/>
_________________________________________________________________________ Professional FreeSWITCH Consulting Services: consulting@freeswitch.org http://www.freeswitchsolutions.com
Official FreeSWITCH Sites http://www.freeswitch.org http://confluence.freeswitch.org http://www.cluecon.com
FreeSWITCH-users mailing list FreeSWITCH-users@lists.freeswitch.org http://lists.freeswitch.org/mailman/listinfo/freeswitch-users UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users http://www.freeswitch.org
Yes, that was the missing piece, I feel I’m almost there. This is a summary of the steps that have worked so far for me: 1) Get the deb packages from debian jessie. The version that worked for me is 0.5.2. Compiling he latest version from the github repository won’t work, as some methods have changed. When I did so I got: Making all in src make[2]: Entering directory `/apps/src/freeswitch-1.4.19/src' Making all in mod make[3]: Entering directory `/apps/src/freeswitch-1.4.19/src/mod' making all mod_amqp make[4]: Entering directory `/apps/src/freeswitch-1.4.19/src/mod/event_handlers/mod_amqp' CC mod_amqp_la-mod_amqp_utils.lo CC mod_amqp_la-mod_amqp_connection.lo CC mod_amqp_la-mod_amqp_producer.lo mod_amqp_producer.c: In function ‘mod_amqp_producer_create’: mod_amqp_producer.c:322: error: incompatible type for argument 7 of ‘amqp_exchange_declare’ /usr/local/include/amqp_framing.h:798: note: expected ‘amqp_boolean_t’ but argument is of type ‘amqp_table_t’ mod_amqp_producer.c:322: error: too few arguments to function ‘amqp_exchange_declare’ mod_amqp_producer.c: In function ‘mod_amqp_producer_thread’: mod_amqp_producer.c:442: error: incompatible type for argument 7 of ‘amqp_exchange_declare’ /usr/local/include/amqp_framing.h:798: note: expected ‘amqp_boolean_t’ but argument is of type ‘amqp_table_t’ mod_amqp_producer.c:442: error: too few arguments to function ‘amqp_exchange_declare’ make[4]: *** [mod_amqp_la-mod_amqp_producer.lo] Error 1 make[4]: Leaving directory `/apps/src/freeswitch-1.4.19/src/mod/event_handlers/mod_amqp' make[3]: *** [mod_amqp-all] Error 1 make[3]: Leaving directory `/apps/src/freeswitch-1.4.19/src/mod' make[2]: *** [all-recursive] Error 1 make[2]: Leaving directory `/apps/src/freeswitch-1.4.19/src' make[1]: *** [all-recursive] Error 1 make[1]: Leaving directory `/apps/src/freeswitch-1.4.19' make: *** [all] Error 2 2) Generate the RPM packages from deb (use the alien command) 3) Copy the RPMs over to the RHEL/Fedora server 4) Install the RPMs 5) Locate the librabbitmq.pc file and add it to the PKG_CONFIG_PATH environment variable. On my server I ran: export PKG_CONFIG_PATH=/usr/lib/x86_64-linux-gnu/pkgconfig/ 6) Check if the library can be found by the pkg-config tool. Run: # pkg-config librabbitmq --modversion 0.5.2 7) Go to the sources directory, run ./configure && make && make install. Everything should work Right now, the mod_amqp.so is missing some linked libs (libssql and libcrypto), I hope I can find RPMs for those libraries and have them linked with ldconfig. If not, I’ll send an update. Thanks Mike, William, Steve, Luis and all other whom take some time to help me figure this out. Cheers From: <freeswitch-users-bounces@lists.freeswitch.org<mailto:freeswitch-users-bounces@lists.freeswitch.org>> on behalf of Michael Jerris <mike@jerris.com<mailto:mike@jerris.com>> Reply-To: FreeSWITCH Users Help <freeswitch-users@lists.freeswitch.org<mailto:freeswitch-users@lists.freeswitch.org>> Date: Tuesday, June 30, 2015 at 11:59 AM To: FreeSWITCH Users Help <freeswitch-users@lists.freeswitch.org<mailto:freeswitch-users@lists.freeswitch.org>> Subject: Re: [Freeswitch-users] mod_amqp on RHEL The key here is the configure detection. it is using pkg-config to look for librabbitmq.pc you can try this by way of pkg-config librabbitmq --modversion If that command does not return anything, your not ready to re run configure yet. On Jun 30, 2015, at 11:08 AM, Hector Geraldino <Hector.Geraldino@ipsoft.com<mailto:Hector.Geraldino@ipsoft.com>> wrote: I wish I could read/understand Makefiles, all I can see is just gibberish. I installed the RPMs, and libraries were copied under /usr/lib/x86_64-linux-gnu, which might or might not be on the standard path. Nevertheless, I added the directory to the $PATH and $LD_LIBRARY_PATH environment variables, ran ./configure then make, and err was the same. From: <freeswitch-users-bounces@lists.freeswitch.org<mailto:freeswitch-users-bounces@lists.freeswitch.org>> on behalf of Steven Ayre <steveayre@gmail.com<mailto:steveayre@gmail.com>> Reply-To: FreeSWITCH Users Help <freeswitch-users@lists.freeswitch.org<mailto:freeswitch-users@lists.freeswitch.org>> Date: Monday, June 29, 2015 at 4:54 PM To: FreeSWITCH Users Help <freeswitch-users@lists.freeswitch.org<mailto:freeswitch-users@lists.freeswitch.org>> Subject: Re: [Freeswitch-users] mod_amqp on RHEL Did you install the runtime package librabbitmq as well as the development header package librabbitmq-devel? You could also try installing librabbitmq from source. It's looking for the libraries/headers in the standard paths, not a formal package installed. It's also possible though that the files are there but the compiler isn't looking at the correct path on your system, perhaps because of minor differences in paths between linux distributions despite FHS. Steve On 29 June 2015 at 16:55, Hector Geraldino <Hector.Geraldino@ipsoft.com<mailto:Hector.Geraldino@ipsoft.com>> wrote: Greetings, I’m trying to build a new FreeSWITCH instance from master, and I have to include the mod_amqp as we’ll be relying on RabbitMQ to deliver events. Anyway, this is not working for me on a RHEL 6.2 server due to this error: make[3]: Entering directory `/apps/src/freeswitch-1.4.19/src/mod' making all mod_amqp make[4]: Entering directory `/apps/src/freeswitch-1.4.19/src/mod/event_handlers/mod_amqp' Makefile:772: *** You must install librabbitmq1 and librabbitmq-dev to build this module. Stop. make[4]: Leaving directory `/apps/src/freeswitch-1.4.19/src/mod/event_handlers/mod_amqp' make[3]: *** [mod_amqp-all] Error 1 make[3]: Leaving directory `/apps/src/freeswitch-1.4.19/src/mod' make[2]: *** [all-recursive] Error 1 make[2]: Leaving directory `/apps/src/freeswitch-1.4.19/src' make[1]: *** [all-recursive] Error 1 make[1]: Leaving directory `/apps/src/freeswitch-1.4.19' make: *** [all] Error 2 The error is pretty obvious: it’s missing these two libraries listed there, but thing is that I cannot find those libraries (or any replacement for them) for the Red Hat/Fedora distros. I installled rabbitmq-server, no luck. Tried to install these: http://rpm.pbone.net/index.php3/stat/4/idpl/26206777/dir/redhat_el_6/com/lib... http://www.rpmfind.net/linux/rpm2html/search.php?query=librabbitmq-devel(x86...) No luck either. It was either I was missing some other dependencies, and then some more, and more, until I couldn’t find some of the rpms missing, or the RPMs, after installed, didn’t contain the same libs the debian-based pkg seems to have, as the module still didn’t compile. Has anyone been able to compile this on a redhat based distro? (fedora,rhel,centos) Thanks all for your time _________________________________________________________________________ Professional FreeSWITCH Consulting Services: consulting@freeswitch.org<mailto:consulting@freeswitch.org> http://www.freeswitchsolutions.com<http://www.freeswitchsolutions.com/> Official FreeSWITCH Sites http://www.freeswitch.org<http://www.freeswitch.org/> http://confluence.freeswitch.org<http://confluence.freeswitch.org/> http://www.cluecon.com<http://www.cluecon.com/> FreeSWITCH-users mailing list FreeSWITCH-users@lists.freeswitch.org<mailto:FreeSWITCH-users@lists.freeswitch.org> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users http://www.freeswitch.org<http://www.freeswitch.org/> _________________________________________________________________________ Professional FreeSWITCH Consulting Services: consulting@freeswitch.org<mailto:consulting@freeswitch.org> http://www.freeswitchsolutions.com Official FreeSWITCH Sites http://www.freeswitch.org http://confluence.freeswitch.org http://www.cluecon.com FreeSWITCH-users mailing list FreeSWITCH-users@lists.freeswitch.org<mailto:FreeSWITCH-users@lists.freeswitch.org> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users http://www.freeswitch.org
Final update: Converting deb packages to RPM didn’t work. The correct way of doing this is: 1) Download the sources from the v0.5.2 tag (https://github.com/alanxz/rabbitmq-c/releases/tag/v0.5.2), and follow the instructions on how to compile and install it 2) Find the librabbitmq.pc file (it’s installed by default under /usr/local/lib/pkgconfig), and add it to the PKG_CONFIG path 3) Follow steps 6 and 7 of the previous email on this thread, and everything should work just fine. Thanks again to everybody! From: <freeswitch-users-bounces@lists.freeswitch.org<mailto:freeswitch-users-bounces@lists.freeswitch.org>> on behalf of Hector Geraldino <Hector.Geraldino@ipsoft.com<mailto:Hector.Geraldino@ipsoft.com>> Reply-To: FreeSWITCH Users Help <freeswitch-users@lists.freeswitch.org<mailto:freeswitch-users@lists.freeswitch.org>> Date: Tuesday, June 30, 2015 at 1:23 PM To: FreeSWITCH Users Help <freeswitch-users@lists.freeswitch.org<mailto:freeswitch-users@lists.freeswitch.org>> Subject: Re: [Freeswitch-users] mod_amqp on RHEL Yes, that was the missing piece, I feel I’m almost there. This is a summary of the steps that have worked so far for me: 1) Get the deb packages from debian jessie. The version that worked for me is 0.5.2. Compiling he latest version from the github repository won’t work, as some methods have changed. When I did so I got: Making all in src make[2]: Entering directory `/apps/src/freeswitch-1.4.19/src' Making all in mod make[3]: Entering directory `/apps/src/freeswitch-1.4.19/src/mod' making all mod_amqp make[4]: Entering directory `/apps/src/freeswitch-1.4.19/src/mod/event_handlers/mod_amqp' CC mod_amqp_la-mod_amqp_utils.lo CC mod_amqp_la-mod_amqp_connection.lo CC mod_amqp_la-mod_amqp_producer.lo mod_amqp_producer.c: In function ‘mod_amqp_producer_create’: mod_amqp_producer.c:322: error: incompatible type for argument 7 of ‘amqp_exchange_declare’ /usr/local/include/amqp_framing.h:798: note: expected ‘amqp_boolean_t’ but argument is of type ‘amqp_table_t’ mod_amqp_producer.c:322: error: too few arguments to function ‘amqp_exchange_declare’ mod_amqp_producer.c: In function ‘mod_amqp_producer_thread’: mod_amqp_producer.c:442: error: incompatible type for argument 7 of ‘amqp_exchange_declare’ /usr/local/include/amqp_framing.h:798: note: expected ‘amqp_boolean_t’ but argument is of type ‘amqp_table_t’ mod_amqp_producer.c:442: error: too few arguments to function ‘amqp_exchange_declare’ make[4]: *** [mod_amqp_la-mod_amqp_producer.lo] Error 1 make[4]: Leaving directory `/apps/src/freeswitch-1.4.19/src/mod/event_handlers/mod_amqp' make[3]: *** [mod_amqp-all] Error 1 make[3]: Leaving directory `/apps/src/freeswitch-1.4.19/src/mod' make[2]: *** [all-recursive] Error 1 make[2]: Leaving directory `/apps/src/freeswitch-1.4.19/src' make[1]: *** [all-recursive] Error 1 make[1]: Leaving directory `/apps/src/freeswitch-1.4.19' make: *** [all] Error 2 2) Generate the RPM packages from deb (use the alien command) 3) Copy the RPMs over to the RHEL/Fedora server 4) Install the RPMs 5) Locate the librabbitmq.pc file and add it to the PKG_CONFIG_PATH environment variable. On my server I ran: export PKG_CONFIG_PATH=/usr/lib/x86_64-linux-gnu/pkgconfig/ 6) Check if the library can be found by the pkg-config tool. Run: # pkg-config librabbitmq --modversion 0.5.2 7) Go to the sources directory, run ./configure && make && make install. Everything should work Right now, the mod_amqp.so is missing some linked libs (libssql and libcrypto), I hope I can find RPMs for those libraries and have them linked with ldconfig. If not, I’ll send an update. Thanks Mike, William, Steve, Luis and all other whom take some time to help me figure this out. Cheers From: <freeswitch-users-bounces@lists.freeswitch.org<mailto:freeswitch-users-bounces@lists.freeswitch.org>> on behalf of Michael Jerris <mike@jerris.com<mailto:mike@jerris.com>> Reply-To: FreeSWITCH Users Help <freeswitch-users@lists.freeswitch.org<mailto:freeswitch-users@lists.freeswitch.org>> Date: Tuesday, June 30, 2015 at 11:59 AM To: FreeSWITCH Users Help <freeswitch-users@lists.freeswitch.org<mailto:freeswitch-users@lists.freeswitch.org>> Subject: Re: [Freeswitch-users] mod_amqp on RHEL The key here is the configure detection. it is using pkg-config to look for librabbitmq.pc you can try this by way of pkg-config librabbitmq --modversion If that command does not return anything, your not ready to re run configure yet. On Jun 30, 2015, at 11:08 AM, Hector Geraldino <Hector.Geraldino@ipsoft.com<mailto:Hector.Geraldino@ipsoft.com>> wrote: I wish I could read/understand Makefiles, all I can see is just gibberish. I installed the RPMs, and libraries were copied under /usr/lib/x86_64-linux-gnu, which might or might not be on the standard path. Nevertheless, I added the directory to the $PATH and $LD_LIBRARY_PATH environment variables, ran ./configure then make, and err was the same. From: <freeswitch-users-bounces@lists.freeswitch.org<mailto:freeswitch-users-bounces@lists.freeswitch.org>> on behalf of Steven Ayre <steveayre@gmail.com<mailto:steveayre@gmail.com>> Reply-To: FreeSWITCH Users Help <freeswitch-users@lists.freeswitch.org<mailto:freeswitch-users@lists.freeswitch.org>> Date: Monday, June 29, 2015 at 4:54 PM To: FreeSWITCH Users Help <freeswitch-users@lists.freeswitch.org<mailto:freeswitch-users@lists.freeswitch.org>> Subject: Re: [Freeswitch-users] mod_amqp on RHEL Did you install the runtime package librabbitmq as well as the development header package librabbitmq-devel? You could also try installing librabbitmq from source. It's looking for the libraries/headers in the standard paths, not a formal package installed. It's also possible though that the files are there but the compiler isn't looking at the correct path on your system, perhaps because of minor differences in paths between linux distributions despite FHS. Steve On 29 June 2015 at 16:55, Hector Geraldino <Hector.Geraldino@ipsoft.com<mailto:Hector.Geraldino@ipsoft.com>> wrote: Greetings, I’m trying to build a new FreeSWITCH instance from master, and I have to include the mod_amqp as we’ll be relying on RabbitMQ to deliver events. Anyway, this is not working for me on a RHEL 6.2 server due to this error: make[3]: Entering directory `/apps/src/freeswitch-1.4.19/src/mod' making all mod_amqp make[4]: Entering directory `/apps/src/freeswitch-1.4.19/src/mod/event_handlers/mod_amqp' Makefile:772: *** You must install librabbitmq1 and librabbitmq-dev to build this module. Stop. make[4]: Leaving directory `/apps/src/freeswitch-1.4.19/src/mod/event_handlers/mod_amqp' make[3]: *** [mod_amqp-all] Error 1 make[3]: Leaving directory `/apps/src/freeswitch-1.4.19/src/mod' make[2]: *** [all-recursive] Error 1 make[2]: Leaving directory `/apps/src/freeswitch-1.4.19/src' make[1]: *** [all-recursive] Error 1 make[1]: Leaving directory `/apps/src/freeswitch-1.4.19' make: *** [all] Error 2 The error is pretty obvious: it’s missing these two libraries listed there, but thing is that I cannot find those libraries (or any replacement for them) for the Red Hat/Fedora distros. I installled rabbitmq-server, no luck. Tried to install these: http://rpm.pbone.net/index.php3/stat/4/idpl/26206777/dir/redhat_el_6/com/lib... http://www.rpmfind.net/linux/rpm2html/search.php?query=librabbitmq-devel(x86...) No luck either. It was either I was missing some other dependencies, and then some more, and more, until I couldn’t find some of the rpms missing, or the RPMs, after installed, didn’t contain the same libs the debian-based pkg seems to have, as the module still didn’t compile. Has anyone been able to compile this on a redhat based distro? (fedora,rhel,centos) Thanks all for your time _________________________________________________________________________ Professional FreeSWITCH Consulting Services: consulting@freeswitch.org<mailto:consulting@freeswitch.org> http://www.freeswitchsolutions.com<http://www.freeswitchsolutions.com/> Official FreeSWITCH Sites http://www.freeswitch.org<http://www.freeswitch.org/> http://confluence.freeswitch.org<http://confluence.freeswitch.org/> http://www.cluecon.com<http://www.cluecon.com/> FreeSWITCH-users mailing list FreeSWITCH-users@lists.freeswitch.org<mailto:FreeSWITCH-users@lists.freeswitch.org> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users http://www.freeswitch.org<http://www.freeswitch.org/> _________________________________________________________________________ Professional FreeSWITCH Consulting Services: consulting@freeswitch.org<mailto:consulting@freeswitch.org> http://www.freeswitchsolutions.com Official FreeSWITCH Sites http://www.freeswitch.org http://confluence.freeswitch.org http://www.cluecon.com FreeSWITCH-users mailing list FreeSWITCH-users@lists.freeswitch.org<mailto:FreeSWITCH-users@lists.freeswitch.org> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users http://www.freeswitch.org
participants (5)
-
Hector Geraldino
-
Luis Daniel Lucio Quiroz
-
Michael Jerris
-
Steven Ayre
-
William King