While I was trying to include the module "db_mysql", I get the
following error
[root@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