Hey @linuxmaniac ,

Yeah there seems to be a misunderstanding how `MODULE_GROUP_NAME` works. 

So, what it currently does is that you provide the group names you want and 
then creates a list of all the modules that are part of those groups. Therefore 
it's a one big list of modules at the end. `CMake` then, builds ALL the modules 
on the list and therefore install targets are for all the modules that were 
configured. 

By doing 
`-DMODULE_GROUP_NAME="KSTANDARD KMYSQL KPOSTGRES KBERKELEY KUNIXODBC KRADIUS 
KPRESENCE KLDAP KXML KPERL KUTILS KLUA KMEMCACHED KSNMPSTATS KXMPP KCPL KREDIS 
KGEOIP2 KSQLITE KJSON KRUBY KIMS KSCTP KTLS KOUTBOUND KWEBSOCKET KAUTHEPH 
KKAZOO KCNXCC KSYSTEMD KPHONENUM KMONGODB KRABBITMQ KPYTHON3 KMQTT KSECSIPID 
KLWSC KNATS KTLS_WOLFSSL KMICROHTTPD KKAFKA KEV KGZCOMPRESS KJANSSON KUUID 
KHTTP_ASYNC"`, 
you might as well do `-DMODULE_GROUP_NAME=ALL`, (assuming you included all 
groups in the list).

So, if one wants to build one group and only those files installed, 
`MODULE_GROUP_NAME` should only contain ONE group name, ie 
`MODULE_GROUP_NAME=KSTANDARD` in the _configuration_ phase. Afterwards, build 
and installed will install only that group! 

Is this plausible to do with maybe a loop in your deb creation or I need to 
find another way for single configure command and separate install commands for 
groups?


> ```
> make[3]: *** No rule to make target 
> '/usr/lib/erlang/lib/erl_interface-5.5.2/lib/liberl_interface.a', needed by 
> 'src/modules/erlang/erlang.so'.  Stop.
> [...]
> make[2]: *** [CMakeFiles/Makefile2:45976: 
> src/modules/erlang/CMakeFiles/erlang.dir/all] Error 2    
> ```

I pushed some other fixes after trying to build `ALL` group in `sid`. 
Hopefully, you wont find other missing packages and are building correctly 
apart from these `EXCLUDE_MODULES="db_oracle dnssec nsq nghttp2 
rtp_media_server app_python app_java ims_icscf ims_dialog ruxc secsipid_proc 
stirshaken"`

-- 
Reply to this email directly or view it on GitHub:
https://github.com/kamailio/kamailio/issues/4053#issuecomment-2609421976
You are receiving this because you are subscribed to this thread.

Message ID: <kamailio/kamailio/issues/4053/2609421...@github.com>
_______________________________________________
Kamailio - Development Mailing List -- sr-dev@lists.kamailio.org
To unsubscribe send an email to sr-dev-le...@lists.kamailio.org
Important: keep the mailing list in the recipients, do not reply only to the 
sender!

Reply via email to