Good morning, I am a telecommunication engineer from the National Establishment of Aerial Navigation (Algeria). First of all i would like to thank you for making the SIP sever Kamailio available. But actually i have got issues during the installation process. I was using the steps described on the link below : https://www.kamailio.org/wiki/install/devel/git The issue was encountered at the step #make all, an error was found, and here is what was displayed on the terminal:
*linux-vd3w:/usr/local/src/kamailio-devel/kamailio # make allmake -C src/ all make[1]: Entering directory '/usr/local/src/kamailio-devel/kamailio/src'generating core/autover.h ...CC (gcc) [kamailio] core/ver.oLD (gcc) [kamailio] kamailiowhich: no mysql_config in (/usr/local/sbin:/usr/local/bin:/sbin:/bin:/usr/sbin:/usr/bin)which: no mysql_config5 in (/usr/local/sbin:/usr/local/bin:/sbin:/bin:/usr/sbin:/usr/bin)which: no mariadb_config in (/usr/local/sbin:/usr/local/bin:/sbin:/bin:/usr/sbin:/usr/bin)which: no mysql_config in (/usr/local/sbin:/usr/local/bin:/sbin:/bin:/usr/sbin:/usr/bin)which: no mysql_config5 in (/usr/local/sbin:/usr/local/bin:/sbin:/bin:/usr/sbin:/usr/bin)which: no mariadb_config in (/usr/local/sbin:/usr/local/bin:/sbin:/bin:/usr/sbin:/usr/bin)CC (gcc) [M db_mysql.so] my_res.oIn file included from my_res.c:24:0:my_cmd.h:27:10: fatal error: mysql.h: No such file or directory #include <mysql.h> ^~~~~~~~~compilation terminated.make[2]: *** [../../Makefile.rules:100: my_res.o] Error 1make[1]: *** [Makefile:511: modules] Error 1make[1]: Leaving directory '/usr/local/src/kamailio-devel/kamailio/src'make: *** [Makefile:30: all] Error 2linux-vd3w:/usr/local/src/kamailio-devel/kamailio #*
Actually my knowledge on linux (opensuse leap) that i am using is very limited. Hopefully i will be able to use the server once installed and it will be used for ip recording tests purpose. Thank you for reading this email. Good bye.
Hi Hassen,
If you are just getting started try to avoid compiling Kamailio from source. Instead install it from packages e.g. http://kamailio.org/docs/tutorials/5.3.x/kamailio-install-guide-deb/
You may skip a lot of effort, which may not be required at initial learning stage. Best of luck.
Regards, Salman
On Mon, Jan 6, 2020 at 11:12 AM Hassen Bencheikh bencheikh.hass@gmail.com wrote:
you can install kamailio using this commands
yum -y install yum-utils yum-config-manager --add-repo http://rpm.kamailio.org/centos/kamailio.repo yum install kamailio-mysql
On Mon, Jan 6, 2020 at 2:12 PM Hassen Bencheikh bencheikh.hass@gmail.com wrote:
+1 install from repo!
On Mon, 6 Jan 2020 at 12:30, Sergey Safarov s.safarov@gmail.com wrote: