### Description Hello. There is no app_ruby RPM package in https://build.opensuse.org/project/show/home:kamailio:v5.2.x-rpms. Based on my slack conversation with Victor Seva, new modules introduced in v5.2 seem to be missed and SPEC didn't get updated.
### Troubleshooting
#### Reproduction yum install kamailio have loadmodule "app_ruby.so" in kamailio.cfg try to start kamailio service, it doesn't start
#### Log Messages ``` ERROR: <core> [core/sr_module.c:487]: load_module(): could not find module <app_ruby> in </usr/lib64/kamailio/modules> ```
### Possible Solutions Update kamailio.spec file to compile and package app_ruby.so
### Additional Information ``` version: kamailio 5.2.0 (x86_64/linux) 535e13 flags: STATS: Off, USE_TCP, USE_TLS, USE_SCTP, TLS_HOOKS, USE_RAW_SOCKS, DISABLE_NAGLE, USE_MCAST, DNS_IP_HACK, SHM_MEM, SHM_MMAP, PKG_MALLOC, Q_MALLOC, F_MALLOC, TLSF_MALLOC, DBG_SR_MEMORY, USE_FUTEX, FAST_LOCK-ADAPTIVE_WAIT, USE_DNS_CACHE, USE_DNS_FAILOVER, USE_NAPTR, USE_DST_BLACKLIST, HAVE_RESOLV_RES ADAPTIVE_WAIT_LOOPS=1024, MAX_RECV_BUFFER_SIZE 262144 MAX_URI_SIZE 1024, BUF_SIZE 65535, DEFAULT PKG_SIZE 8MB poll method support: poll, epoll_lt, epoll_et, sigio_rt, select. id: 535e13 compiled on 10:26:34 Nov 28 2018 with gcc 4.8.5
```
* **Operating System**: ``` Linux servername 3.10.0-327.28.2.el7.x86_64 #1 SMP Wed Aug 3 11:11:39 UTC 2016 x86_64 x86_64 x86_64 GNU/Linux ```
kamailio-ruby-modules added https://github.com/kamailio/kamailio/commit/4698e97cd3985d3a7f51c709decb546e... for master. I will backport it to 5.2 branch afterwards
Thank you @linuxmaniac for your swift fix.
Pardon my ignorance but I only see DEB packages in your commit, will RPMs be built too? I'm waiting for packages in repository.
Thanks again.
@fatihorhan i now test RPM packages. Maybe for CentOS this not created.
From https://kamailio.sipwise.com/job/kamailiodev-nightly-binaries/architecture=i...
or https://kamailio.sipwise.com/job/kamailiodev-nightly-binaries/architecture=a...
``` gcc -fPIC -DPIC -funroll-loops -Wcast-align -m64 -minline-all-stringops -falign-loops -ftree-vectorize -fno-strict-overflow -mtune=generic -Wall -D_FORTIFY_SOURCE=2 -g -fstack-protector --param=ssp-buffer-size=4 -Wformat -Wformat-security -Werror=format-security -DVERSION_NODATE -DNAME='"kamailio"' -DVERSION='"5.3.0-dev1"' -DARCH='"x86_64"' -DOS='linux_' -DOS_QUOTED='"linux"' -DCOMPILER='"gcc 4.6.3"' -D__CPU_x86_64 -D__OS_linux -DVERSIONVAL=5003000 -DCFG_DIR='"/etc/kamailio/"' -DSHARE_DIR='"/usr/share/kamailio/"' -DRUN_DIR='"/var/run/kamailio/"' -DPKG_MALLOC -DSHM_MEM -DSHM_MMAP -DDNS_IP_HACK -DUSE_MCAST -DUSE_TCP -DDISABLE_NAGLE -DHAVE_RESOLV_RES -DUSE_DNS_CACHE -DUSE_DNS_FAILOVER -DUSE_DST_BLACKLIST -DUSE_NAPTR -DWITH_XAVP -DMEM_JOIN_FREE -DF_MALLOC -DQ_MALLOC -DTLSF_MALLOC -DDBG_SR_MEMORY -DUSE_TLS -DTLS_HOOKS -DUSE_CORE_STATS -DSTATISTICS -DMALLOC_STATS -DWITH_AS_SUPPORT -DUSE_SCTP -DFAST_LOCK -DADAPTIVE_WAIT -DADAPTIVE_WAIT_LOOPS=1024 -DCC_GCC_LIKE_ASM -DHAVE_GETHOSTBYNAME2 -DHAVE_UNION_SEMUN -DHAVE_SCHED_YIELD -DHAVE_MSG_NOSIGNAL -DHAVE_MSGHDR_MSG_CONTROL -DHAVE_ALLOCA_H -DHAVE_TIMEGM -DHAVE_SCHED_SETSCHEDULER -DHAVE_IP_MREQN -DUSE_RAW_SOCKS -DHAVE_EPOLL -DHAVE_SIGIO_RT -DSIGINFO64_WORKARROUND -DUSE_FUTEX -DHAVE_SELECT -I/usr/local/include -I/include -DMOD_NAME='"app_ruby"' -c app_ruby_api.c -o app_ruby_api.o -MMD -MP In file included from app_ruby_api.c:37:0: app_ruby_api.h:26:18: fatal error: ruby.h: No such file or directory compilation terminated. make[3]: *** [app_ruby_api.o] Error 1 ``` wheezy (ruby1.9.1-dev) and precise(ruby1.8-dev) versions have no pkg-config info
wheezy (ruby1.9.1-dev) and precise(ruby1.8-dev) versions have no pkg-config info
Same error on CentOS6 and RHEL6. I have now disabled this package on this dist.
Closing it -- the package was added for supported linux OSes.
Closed #1761.
I can confirm yum install method works on Centos 7. Thank you all!
I forget to add on Alpine. Will open until added to Alpine
Reopened #1761.
app_ruby added into Alpine packaging
Closed #1761.
how we can specify the parameters to not use pkg-config?