<html><head><meta http-equiv="Content-Type" content="text/html charset=us-ascii"></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; "><br><div><div>7 feb 2013 kl. 10:50 skrev Peter Dunkley &lt;<a href="mailto:peter.dunkley@crocodile-rcs.com">peter.dunkley@crocodile-rcs.com</a>&gt;:</div><br class="Apple-interchange-newline"><blockquote type="cite">


  <meta http-equiv="Content-Type" content="text/html; CHARSET=UTF-8">
  <meta name="GENERATOR" content="GtkHTML/4.6.2">

<div>
I usually do:<br>
<br>
<blockquote>
<pre>make cfg
make
make modules
<b>make utils</b>
make install
</pre>
</blockquote>
<br>
The "make utils" takes care of kamcmd...<br></div></blockquote>Ok, so I was confused again.</div><div><br></div><div>Life :-)</div><div><br></div><div>/O</div><div><br><blockquote type="cite"><div>
<br>
Peter<br>
<br>
On Thu, 2013-02-07 at 10:44 +0100, Daniel-Constantin Mierla wrote:
<blockquote type="CITE">
<pre>Hello,

the modules are updated for the symbols and library installation paths.

kamcmd is a dependency of ctl module and compiled if not compiled 
before. You can go in its folder and compile it with make if you want to 
use it from there.

Cheers,
Daniel

On 2/7/13 10:11 AM, Olle E. Johansson wrote:
<font color="#737373">&gt; Hi!</font>
<font color="#737373">&gt;</font>
<font color="#737373">&gt; Got a bit surprised again - but I've always been confused by the build system... ;-)</font>
<font color="#737373">&gt;</font>
<font color="#737373">&gt; I ran</font>
<font color="#737373">&gt;</font>
<font color="#737373">&gt; make</font>
<font color="#737373">&gt; make modules</font>
<font color="#737373">&gt;</font>
<font color="#737373">&gt; and then</font>
<font color="#737373">&gt;</font>
<font color="#737373">&gt; make install</font>
<font color="#737373">&gt;</font>
<font color="#737373">&gt; At "make install" Kamailio builds the .so modules again but even more importantly - it seems to build kamcmd from scratch by compiling the source code. I think this should be done at "make".</font>
<font color="#737373">&gt;</font>
<font color="#737373">&gt; I haven't gone through all the output to check for other utilities, but if some Makefile guru can look at this and there's no opinion about why it should be this way, I suggest we fix it so that we build everything at "make", all modules are built and linked at "make modules" and let "make install" just install and not build.</font>
<font color="#737373">&gt;</font>
<font color="#737373">&gt; /O</font>
<font color="#737373">&gt;</font>
<font color="#737373">&gt; CC (gcc) [U kamcmd]                parse_listen_id.o</font>
<font color="#737373">&gt; CC (gcc) [U kamcmd]                sercmd.o</font>
<font color="#737373">&gt; LD (gcc) [U kamcmd]                kamcmd</font>
<font color="#737373">&gt; sed -e "s#sercmd#kamcmd#g" \</font>
<font color="#737373">&gt;                         -e "s#sip-router#kamailio#g" \</font>
<font color="#737373">&gt;                         &lt; sercmd.8 &gt; /usr/local/share/man//man8/kamcmd.8</font>
<font color="#737373">&gt; chmod 644  /usr/local/share/man//man8/kamcmd.8</font>
<font color="#737373">&gt; touch           /usr/local/sbin//kamcmd</font>
<font color="#737373">&gt;</font>
<font color="#737373">&gt;</font>
<font color="#737373">&gt; _______________________________________________</font>
<font color="#737373">&gt; sr-dev mailing list</font>
<font color="#737373">&gt; <a href="mailto:sr-dev@lists.sip-router.org">sr-dev@lists.sip-router.org</a></font>
<font color="#737373">&gt; <a href="http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-dev">http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-dev</a></font>

</pre>
</blockquote>
<br>
<table cellspacing="0" cellpadding="0" width="100%">
<tbody><tr>
<td>
<pre>-- 
Peter Dunkley
Technical Director
Crocodile RCS Ltd
</pre>
</td>
</tr>
</tbody></table>
</div>

_______________________________________________<br>sr-dev mailing list<br><a href="mailto:sr-dev@lists.sip-router.org">sr-dev@lists.sip-router.org</a><br>http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-dev<br></blockquote></div><br></body></html>