[SR-Users] Error: make modules include_modules ="db_mysql" cfg
Daniel-Constantin Mierla
miconda at gmail.com
Thu Jul 16 11:27:38 CEST 2015
Hello,
you need to install mysql client devel packet -- iirc, it should be
something named like mysql-devel
Cheers,
Daniel
On 14/07/15 22:18, kumar m wrote:
> 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
>
>
> _______________________________________________
> SIP Express Router (SER) and Kamailio (OpenSER) - sr-users mailing list
> sr-users at lists.sip-router.org
> http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users
--
Daniel-Constantin Mierla
http://twitter.com/#!/miconda - http://www.linkedin.com/in/miconda
Book: SIP Routing With Kamailio - http://www.asipto.com
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.sip-router.org/pipermail/sr-users/attachments/20150716/560bfe12/attachment.html>
More information about the sr-users
mailing list