[SR-Users] Make all error

Timo Reimann timo.reimann at 1und1.de
Mon Oct 17 23:16:20 CEST 2011


Am 17.10.2011 um 20:23 schrieb Peter Schrock:
> I am doing a "make all" and am getting this error:
> 
> error: mysql/mysql.h: No such file or directory
> 
> I have mysql installed and know that kamailio is having trouble finding mysql header files. Is there a configuration I can set up to help kamailio find it? Is there a resource I can be directed to find the info?

You probably need to pass the right parameter to "make cfg". I'd try something like this:

make cfg C_INCLUDES=<path to your MySQL header files directory>

followed by another "make all" run. If that doesn't work you may want to look at the config.mak file (created by "make cfg") and see which other option fits.

Note once more that installing dependent libraries from your (POSIX) OS'es repository (IIRC you're using a Mac, so MacPorts) will allow SIP Router to find everything by default, i.e., without having to specify path names.


HTH,

--Timo


More information about the sr-users mailing list