Hi!
Got a bit surprised again - but I've always been confused by the build system... ;-)
I ran
make make modules
and then
make install
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".
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.
/O
CC (gcc) [U kamcmd] parse_listen_id.o CC (gcc) [U kamcmd] sercmd.o LD (gcc) [U kamcmd] kamcmd sed -e "s#sercmd#kamcmd#g" \ -e "s#sip-router#kamailio#g" \ < sercmd.8 > /usr/local/share/man//man8/kamcmd.8 chmod 644 /usr/local/share/man//man8/kamcmd.8 touch /usr/local/sbin//kamcmd
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:
Hi!
Got a bit surprised again - but I've always been confused by the build system... ;-)
I ran
make make modules
and then
make install
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".
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.
/O
CC (gcc) [U kamcmd] parse_listen_id.o CC (gcc) [U kamcmd] sercmd.o LD (gcc) [U kamcmd] kamcmd sed -e "s#sercmd#kamcmd#g" \ -e "s#sip-router#kamailio#g" \ < sercmd.8 > /usr/local/share/man//man8/kamcmd.8 chmod 644 /usr/local/share/man//man8/kamcmd.8 touch /usr/local/sbin//kamcmd
sr-dev mailing list sr-dev@lists.sip-router.org http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-dev
I usually do:
make cfg make make modules make utils make install
The "make utils" takes care of kamcmd...
Peter
On Thu, 2013-02-07 at 10:44 +0100, Daniel-Constantin Mierla wrote:
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:
Hi!
Got a bit surprised again - but I've always been confused by the build system... ;-)
I ran
make make modules
and then
make install
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".
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.
/O
CC (gcc) [U kamcmd] parse_listen_id.o CC (gcc) [U kamcmd] sercmd.o LD (gcc) [U kamcmd] kamcmd sed -e "s#sercmd#kamcmd#g" \ -e "s#sip-router#kamailio#g" \ < sercmd.8 > /usr/local/share/man//man8/kamcmd.8 chmod 644 /usr/local/share/man//man8/kamcmd.8 touch /usr/local/sbin//kamcmd
sr-dev mailing list sr-dev@lists.sip-router.org http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-dev
7 feb 2013 kl. 10:50 skrev Peter Dunkley peter.dunkley@crocodile-rcs.com:
I usually do:
make cfg make make modules make utils make install
The "make utils" takes care of kamcmd...
Ok, so I was confused again.
Life :-)
/O
Peter
On Thu, 2013-02-07 at 10:44 +0100, Daniel-Constantin Mierla wrote:
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:
Hi!
Got a bit surprised again - but I've always been confused by the build system... ;-)
I ran
make make modules
and then
make install
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".
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.
/O
CC (gcc) [U kamcmd] parse_listen_id.o CC (gcc) [U kamcmd] sercmd.o LD (gcc) [U kamcmd] kamcmd sed -e "s#sercmd#kamcmd#g" \ -e "s#sip-router#kamailio#g" \ < sercmd.8 > /usr/local/share/man//man8/kamcmd.8 chmod 644 /usr/local/share/man//man8/kamcmd.8 touch /usr/local/sbin//kamcmd
sr-dev mailing list sr-dev@lists.sip-router.org http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-dev
-- Peter Dunkley Technical Director Crocodile RCS Ltd _______________________________________________ sr-dev mailing list sr-dev@lists.sip-router.org http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-dev
7 feb 2013 kl. 10:44 skrev Daniel-Constantin Mierla miconda@gmail.com:
Hello,
the modules are updated for the symbols and library installation paths.
Ok, that explains that. It makes sense :-) Thanks!
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.
Well, I'm just allergic to compilation at "make install". But I missed the "make utils" as Peter pointed out.
Cheers. /O
Cheers, Daniel
On 2/7/13 10:11 AM, Olle E. Johansson wrote:
Hi!
Got a bit surprised again - but I've always been confused by the build system... ;-)
I ran
make make modules
and then
make install
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".
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.
/O
CC (gcc) [U kamcmd] parse_listen_id.o CC (gcc) [U kamcmd] sercmd.o LD (gcc) [U kamcmd] kamcmd sed -e "s#sercmd#kamcmd#g" \ -e "s#sip-router#kamailio#g" \ < sercmd.8 > /usr/local/share/man//man8/kamcmd.8 chmod 644 /usr/local/share/man//man8/kamcmd.8 touch /usr/local/sbin//kamcmd
sr-dev mailing list sr-dev@lists.sip-router.org http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-dev
-- Daniel-Constantin Mierla - http://www.asipto.com http://twitter.com/#!/miconda - http://www.linkedin.com/in/miconda Kamailio World Conference, April 16-17, 2013, Berlin
sr-dev mailing list sr-dev@lists.sip-router.org http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-dev