[SR-Users] Error: make modules include_modules ="db_mysql" cfg

kumar m mmk.kumar02 at gmail.com
Tue Jul 14 22:18:49 CEST 2015


I am a newbie trying out kamailio

*kamailio version: *4.3.0
*Operating system:* CentOS 7

Following the instructions provided at
http://www.kamailio.org/wiki/install/4.3.x/git

While I was trying to include the module "db_mysql", I get the following
error

[root at localhost kamailio]# make modules include_modules="db_mysql dialplan
app_mono" cfg

Makefile:56: modules.lst: No such file or directory
target architecture <x86_64>, host architecture <x86_64>
saving modules list...
target architecture <x86_64>, host architecture <x86_64>
which: no mysql_config in
(/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/root/bin)
which: no mysql_config5 in
(/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/root/bin)
make --no-print-directory -wC ../.. cfg-defs
target architecture <x86_64>, host architecture <x86_64>
making config...
which: no mysql_config in
(/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/root/bin)
which: no mysql_config5 in
(/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/root/bin)
CC (gcc) [M db_mysql.so]        km_dbase.o
km_dbase.c:36:25: fatal error: mysql/mysql.h: No such file or directory
 #include <mysql/mysql.h>
                         ^
compilation terminated.
make[1]: *** [km_dbase.o] Error 1
make: *** [modules] Error 1


Please help me in fixing the error
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.sip-router.org/pipermail/sr-users/attachments/20150714/3c77cb24/attachment.html>


More information about the sr-users mailing list