<html>
<head>
<meta content="text/html; charset=utf-8" http-equiv="Content-Type">
</head>
<body bgcolor="#FFFFFF" text="#000000">
<p>I mostly develop kamailio on MacOS (since several years ago). I
install MySQL from macports an everything works fine. You would
need also the pkgconfig package, which allows kamailio build
system (makefile) to discover the location of devel headers for
mysql client library.</p>
<p>Macports are available at:</p>
<p> - <a class="moz-txt-link-freetext" href="https://www.macports.org/">https://www.macports.org/</a></p>
<p>There are other package managers for MacOS like homebrew or
flint.</p>
<p>Given Diego's details that devel headers are also deployed by
mysql dmg, the steps to compile with them should be:</p>
<p>- edit src/modules/mysql/Makefile</p>
<p>- update the values for CDEFS and LIBS to point to the
directories holding the include .h files and the shared libraries</p>
<p>- save and then try to compile kamailio with db_mysql module
enabled</p>
<p>Cheers,<br>
Daniel<br>
</p>
<br>
<div class="moz-cite-prefix">On 09/01/2017 13:35, Diego Nadares
wrote:<br>
</div>
<blockquote
cite="mid:CAP-r+ep4FOGv1VMBLzMu7=9GqdUf31cYiphrPo9cZBOL-T9+Aw@mail.gmail.com"
type="cite">
<div dir="ltr">In my mac:
<div><br>
</div>
<div>I think that mysql dmg installed comes with dev headers
too.<br>
<div><br>
</div>
<div>
<div>dnadaress-MacBook-Air:~ dnadares$ locate mysql.h</div>
<div>/usr/local/mysql-5.6.19-osx10.7-x86_64/include/mysql.h</div>
</div>
<div><br>
</div>
<div>cheers.</div>
<div><br>
</div>
<div>Diego.</div>
<div><br>
</div>
</div>
</div>
<div class="gmail_extra"><br>
<div class="gmail_quote">2017-01-09 9:27 GMT-03:00 Diego Nadares
<span dir="ltr"><<a moz-do-not-send="true"
href="mailto:dnadares@gmail.com" target="_blank">dnadares@gmail.com</a>></span>:<br>
<blockquote class="gmail_quote" style="margin:0 0 0
.8ex;border-left:1px #ccc solid;padding-left:1ex">
<div>Hi Luis, </div>
<div><br>
</div>
<div>Do you have mysql installed? Because it's not finding
those headers. </div>
<div><br>
<div class="gmail_quote">
<div>
<div class="h5">
<div>El El lun, 9 de ene. de 2017 a las 05:21, Luis
De Marchi <<a moz-do-not-send="true"
href="mailto:luis@snowmanlabs.com"
target="_blank">luis@snowmanlabs.com</a>>
escribió:<br>
</div>
</div>
</div>
<blockquote class="gmail_quote" style="margin:0 0 0
.8ex;border-left:1px #ccc solid;padding-left:1ex">
<div>
<div class="h5">
<div style="word-wrap:break-word"
class="m_-1866087195179139664gmail_msg">Hi,
<div class="m_-1866087195179139664gmail_msg"><br
class="m_-1866087195179139664gmail_msg">
</div>
<div class="m_-1866087195179139664gmail_msg"><span
style="font-family:Consolas,'Lucida
Console',monospace;font-size:12.8px;font-variant-ligatures:normal;background-color:rgb(240,247,255)"
class="m_-1866087195179139664gmail_msg">Sorry,
my english, I'm using the translator.</span></div>
<div class="m_-1866087195179139664gmail_msg">
<div class="m_-1866087195179139664gmail_msg"><span
style="font-family:Consolas,'Lucida
Console',monospace;font-size:12.8px;font-variant-ligatures:normal;background-color:rgb(240,247,255)"
class="m_-1866087195179139664gmail_msg">I'm
having trouble installing Kamailio for Mac
10.12</span></div>
<div class="m_-1866087195179139664gmail_msg"><span
style="font-family:Consolas,'Lucida
Console',monospace;font-size:12.8px;font-variant-ligatures:normal;background-color:rgb(240,247,255)"
class="m_-1866087195179139664gmail_msg"><br
class="m_-1866087195179139664gmail_msg">
</span></div>
<div class="m_-1866087195179139664gmail_msg"><span
style="font-family:Consolas,'Lucida
Console',monospace;font-size:12.8px;font-variant-ligatures:normal;background-color:rgb(240,247,255)"
class="m_-1866087195179139664gmail_msg">Terminal:</span></div>
<div class="m_-1866087195179139664gmail_msg"><span
style="font-family:Consolas,'Lucida
Console',monospace;font-size:12.8px;font-variant-ligatures:normal;background-color:rgb(240,247,255)"
class="m_-1866087195179139664gmail_msg">
<div
style="margin:0px;font-size:11px;line-height:normal;font-family:Menlo;background-color:rgb(255,255,255)"
class="m_-1866087195179139664gmail_msg"><span
style="font-variant-ligatures:no-common-ligatures"
class="m_-1866087195179139664gmail_msg">Luis:kamailio
luisdemarchi$ sudo make all</span></div>
<div
style="margin:0px;font-size:11px;line-height:normal;font-family:Menlo;background-color:rgb(255,255,255)"
class="m_-1866087195179139664gmail_msg"><span
style="font-variant-ligatures:no-common-ligatures"
class="m_-1866087195179139664gmail_msg"><br
class="m_-1866087195179139664gmail_msg">
</span></div>
<div
style="margin:0px;font-size:11px;line-height:normal;font-family:Menlo;background-color:rgb(255,255,255)"
class="m_-1866087195179139664gmail_msg"><span
style="font-variant-ligatures:no-common-ligatures"
class="m_-1866087195179139664gmail_msg">CC
(gcc) [M db_mysql.so]<span class="m_-1866087195179139664m_1605490272268712492Apple-tab-span m_-1866087195179139664gmail_msg" style="white-space:pre-wrap"> </span>km_db_mysql.o</span></div>
<div
style="margin:0px;font-size:11px;line-height:normal;font-family:Menlo;background-color:rgb(255,255,255)"
class="m_-1866087195179139664gmail_msg"><span
style="font-variant-ligatures:no-common-ligatures"
class="m_-1866087195179139664gmail_msg"><b
class="m_-1866087195179139664gmail_msg">km_db_mysql.c:41:10: </b></span><span
style="font-variant-ligatures:no-common-ligatures;color:#c33720"
class="m_-1866087195179139664gmail_msg"><b
class="m_-1866087195179139664gmail_msg">fatal error: </b></span><span
style="font-variant-ligatures:no-common-ligatures"
class="m_-1866087195179139664gmail_msg"><b
class="m_-1866087195179139664gmail_msg">'mysql.h'
file not found</b></span></div>
<div
style="margin:0px;font-size:11px;line-height:normal;font-family:Menlo;background-color:rgb(255,255,255)"
class="m_-1866087195179139664gmail_msg"><span
style="font-variant-ligatures:no-common-ligatures"
class="m_-1866087195179139664gmail_msg">#include
<mysql.h></span></div>
<div
style="margin:0px;font-size:11px;line-height:normal;font-family:Menlo;color:rgb(52,188,38);background-color:rgb(255,255,255)"
class="m_-1866087195179139664gmail_msg"><span
style="font-variant-ligatures:no-common-ligatures"
class="m_-1866087195179139664gmail_msg"><b
class="m_-1866087195179139664gmail_msg"> ^</b></span></div>
<div
style="margin:0px;font-size:11px;line-height:normal;font-family:Menlo;background-color:rgb(255,255,255)"
class="m_-1866087195179139664gmail_msg"><span
style="font-variant-ligatures:no-common-ligatures"
class="m_-1866087195179139664gmail_msg">1
error generated.</span></div>
<div
style="margin:0px;font-size:11px;line-height:normal;font-family:Menlo;background-color:rgb(255,255,255)"
class="m_-1866087195179139664gmail_msg"><span
style="font-variant-ligatures:no-common-ligatures"
class="m_-1866087195179139664gmail_msg">make[1]:
*** [km_db_mysql.o] Error 1</span></div>
<div
style="margin:0px;font-size:11px;line-height:normal;font-family:Menlo;background-color:rgb(255,255,255)"
class="m_-1866087195179139664gmail_msg"><span
style="font-variant-ligatures:no-common-ligatures"
class="m_-1866087195179139664gmail_msg">make:
*** [modules] Error 1</span></div>
</span></div>
<div class="m_-1866087195179139664gmail_msg"><br>
<br>
<div
style="color:rgb(0,0,0);letter-spacing:normal;text-align:start;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px;word-wrap:break-word"
class="m_-1866087195179139664gmail_msg">
<div
style="color:rgb(0,0,0);letter-spacing:normal;text-align:start;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px;word-wrap:break-word"
class="m_-1866087195179139664gmail_msg">
<div
style="color:rgb(0,0,0);letter-spacing:normal;text-align:start;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px;word-wrap:break-word"
class="m_-1866087195179139664gmail_msg">
<table valign="center"
style="font-family:Times"
class="m_-1866087195179139664gmail_msg"
border="0" width="320">
<tbody
class="m_-1866087195179139664gmail_msg">
<tr
class="m_-1866087195179139664gmail_msg"
align="center" height="150">
<td
class="m_-1866087195179139664gmail_msg"
width="50%"><img
moz-do-not-send="true"
src="http://image.snowmanlabs.com/snowman-image-assinatura.png"
class="m_-1866087195179139664gmail_msg" height="auto" width="165"></td>
<td
class="m_-1866087195179139664gmail_msg"
align="left" height="100"
width="50%"><font
class="m_-1866087195179139664gmail_msg"
color="#425c70"
face="sans-serif" size="3"><strong
class="m_-1866087195179139664gmail_msg">Luís De Marchi</strong></font> <br
style="font-size:12px"
class="m_-1866087195179139664gmail_msg">
<font
class="m_-1866087195179139664gmail_msg"
color="#3494b3"
face="sans-serif" size="2">Diretor
Administrativo</font> <br
style="font-size:12px"
class="m_-1866087195179139664gmail_msg">
<br style="font-size:12px"
class="m_-1866087195179139664gmail_msg">
<font
class="m_-1866087195179139664gmail_msg"
color="#a2a2a2"
face="sans-serif" size="2"><a
moz-do-not-send="true"
href="tel:+55%2041%2099815-6800"
value="+5541998156800"
target="_blank">+55 (41)
99815-6800</a> <br
class="m_-1866087195179139664gmail_msg">
<a moz-do-not-send="true"
href="tel:+55%2041%203027-7669"
value="+554130277669"
target="_blank">+55 (41)
3027-7669</a> <br
class="m_-1866087195179139664gmail_msg">
<a moz-do-not-send="true"
href="http://www.snowmanlabs.com/"
color="#a2a2a2"
class="m_-1866087195179139664gmail_msg"
target="_blank">www.snowmanlabs.com</a></font></td>
</tr>
</tbody>
</table>
</div>
</div>
</div>
<br>
<br>
</div>
<br>
<br>
<br class="m_-1866087195179139664gmail_msg">
</div>
</div>
</div>
</div>
______________________________<wbr>_________________<br
class="m_-1866087195179139664gmail_msg">
<br>
SIP Express Router (SER) and Kamailio (OpenSER) -
sr-users mailing list<br
class="m_-1866087195179139664gmail_msg">
<br>
<a moz-do-not-send="true"
href="mailto:sr-users@lists.sip-router.org"
class="m_-1866087195179139664gmail_msg"
target="_blank">sr-users@lists.sip-router.org</a><br
class="m_-1866087195179139664gmail_msg">
<br>
<a moz-do-not-send="true"
href="http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users"
rel="noreferrer"
class="m_-1866087195179139664gmail_msg"
target="_blank">http://lists.sip-router.org/<wbr>cgi-bin/mailman/listinfo/sr-<wbr>users</a><br
class="m_-1866087195179139664gmail_msg">
<br>
</blockquote>
</div>
</div>
</blockquote>
</div>
<br>
</div>
<br>
<fieldset class="mimeAttachmentHeader"></fieldset>
<br>
<pre wrap="">_______________________________________________
SIP Express Router (SER) and Kamailio (OpenSER) - sr-users mailing list
<a class="moz-txt-link-abbreviated" href="mailto:sr-users@lists.sip-router.org">sr-users@lists.sip-router.org</a>
<a class="moz-txt-link-freetext" href="http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users">http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users</a>
</pre>
</blockquote>
<br>
<pre class="moz-signature" cols="72">--
Daniel-Constantin Mierla
<a class="moz-txt-link-abbreviated" href="http://www.twitter.com/miconda">www.twitter.com/miconda</a> -- <a class="moz-txt-link-abbreviated" href="http://www.linkedin.com/in/miconda">www.linkedin.com/in/miconda</a>
Kamailio World Conference - May 8-10, 2017 - <a class="moz-txt-link-abbreviated" href="http://www.kamailioworld.com">www.kamailioworld.com</a></pre>
</body>
</html>