Thanks @xkaraman 
Targets `kamailio_docs_readme` and `man` works for me, `kamcmd` utility is also 
packaged. 

When I try compile `db_berkeley`, then I see this error in the log
```
-- Extra modules (if module already included already from group is ignored):
    
pvtpl;pua_rpc;siprepo;systemdops;log_systemd;db_text;acc_json;auth_ephemeral;jansson;db_berkeley
-- Excluded modules (exlcude even if in included modules):
    
-- Found PkgConfig: /usr/bin/pkg-config (found version "2.3.0")
-- Checking for module 'libsystemd'
--   Found libsystemd, version 256
-- Checking for module 'jansson'
--   Found jansson, version 2.13.1
CMake Error at /usr/share/cmake/Modules/FindPackageHandleStandardArgs.cmake:233 
(message):
  Could NOT find BerkeleyDB (missing: BerkeleyDB_LIBRARY
  BerkeleyDB_INCLUDE_DIR)
Call Stack (most recent call first):
  /usr/share/cmake/Modules/FindPackageHandleStandardArgs.cmake:603 
(_FPHSA_FAILURE_MESSAGE)
  cmake/modules/FindBerkeleyDB.cmake:147 (find_package_handle_standard_args)
  src/modules/db_berkeley/CMakeLists.txt:6 (find_package)
```
But  depend libs is present in the system
```
[root@nout SPECS]# rpm -qa | grep libdb
libdb-5.3.28-63.fc41.x86_64
libdb-devel-5.3.28-63.fc41.x86_64
```

Also I found need to package `/usr/sbin/kambdb_recover`.

For info, I still use
```
make cfg prefix=/usr \
    basedir=%{buildroot} \
    cfg_prefix=%{buildroot} \
    doc_prefix=%{buildroot} \
    doc_dir=%{_docdir}/kamailio/ \
    cfg_target=%{_sysconfdir}/kamailio/ modules_dirs="modules"
make -C src/modules/db_text install-scripts
make -C src/modules/tls install-cfg
```
You probably want to implement this using CMake commands.



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

Message ID: <kamailio/kamailio/pull/4085/c2579773...@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