Am 18.10.2011 um 00:14 schrieb Peter Schrock:
> I will give it a go a see what happens. It's just weird because I am
> using the latest mysql install and used the generic package (OS
> Independent). You'd think it would install and allow kamailio to find
> everything it needs. We'll see what happens.

Usually what happens when you do "make install" on source package is that the 
software is installed somewhere below /opt or /usr/local. To my knowledge, 
neither of the two locations are part of the standard path which are looked up 
for include headers. (The standard path is subject to distribution packages.)


Cheers,

--Timo


> On Oct 17, 2011, at 2:16 PM, Timo Reimann <timo.reim...@1und1.de> wrote:
> 
>> 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




_______________________________________________
SIP Express Router (SER) and Kamailio (OpenSER) - sr-users mailing list
sr-users@lists.sip-router.org
http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users

Reply via email to