Hello,
I don't think rpm specs include these modules, although I am not the one
maintaining the specs.
Likely your option is to install from sources.
Cheers,
Daniel
On 04.09.24 10:04, Володимир Іванець wrote:
Hello Daniel!
Thank you for the response!
libsecsipid library files are installed:
# ll /usr/local/lib/
-rw-r--r--. 1 root root 18724882 Sep 4 10:34 libsecsipid.a
lrwxrwxrwx. 1 root root 20 Sep 4 10:34 libsecsipid.so ->
libsecsipid.so.1.3.2
lrwxrwxrwx. 1 root root 20 Sep 4 10:34 libsecsipid.so. ->
libsecsipid.so.1.3.2
-rw-r--r--. 1 root root 7723128 Sep 4 10:34 libsecsipid.so.1.3.2
I'm trying to build packages specifically for AlmaLinux 8. I removed
"ksecsipid" from group_include from kamailio.spec and run:
make include_modules="secsipid secsipid_proc" cfg
make rpm
secsipid package was not built. Looks like I am missing something.
Thanks!
вт, 3 вер. 2024 р. о 19:17 Daniel-Constantin Mierla
<miconda(a)gmail.com> пише:
Hello,
On 03.09.24 17:14, Володимир Іванець via sr-users wrote:
Hello!
I was wondering if someone was trying to build Kamailio RPM
packages containing modules secsipid and secsipid_proc and faced
the same problem.
I compiled secsipidx library and copied secsipid.h, libsecsipid.h
as well as libsecsipid.a files into the source directory of
secsipid_proc module. And when I'm trying to build RPM packages,
I get the following error:
CC (gcc) [M secsipid_proc.so] secsipid_proc_mod.o
secsipid_proc_mod.c:28:10: fatal error: secsipid.h: No such file
or directory
#include <secsipid.h>
^~~~~~~~~~~~
compilation terminated.
make[2]: *** [../../Makefile.rules:100: secsipid_proc_mod.o] Error 1
make[1]: *** [Makefile:508: modules] Error 1
make[1]: Leaving directory '/builddir/build/BUILD/kamailio-5.8.2/src'
make: *** [Makefile:34: every-module] Error 2
You have to install the libsecsipid library files, go to the
folder with secsipidx project and run:
make all
make install
I noticed that the secsipid module had old documentation
guidelines, no longer applicable, since the secsipidx project got
a proper makefile build system -- I just pushed an update for it.
For the records: iirc, libsecsipid should be also packaged on
deb.kamailio.org <http://deb.kamailio.org> (or maybe even on some
of the new Debian distros) -- Victor can correct me if I am wrong.
Cheers,
Daniel
--
Daniel-Constantin Mierla (@
asipto.com <http://asipto.com>)
twitter.com/miconda <http://twitter.com/miconda> --
linkedin.com/in/miconda
<http://linkedin.com/in/miconda>
Kamailio Consultancy, Training and Development Services --
asipto.com
<http://asipto.com>
Kamailio Advanced Training, October 8-10, 2024 --
asipto.com
<http://asipto.com>