sergey-safarov created an issue (kamailio/kamailio#4528)
### Description
When the source is compiled with `-DCMAKE_INSTALL_PREFIX=/usr`, the required
adjustments to the kamctl db scripts are made, replacing `/usr/local` with the
path provided in `DCMAKE_INSTALL_PREFIX`.
For now, when the kamctl scripts are installed at `/usr/sbin/kamctl`, then the
script at `/usr/lib64/kamailio/kamctl` uses
`DATA_DIR=/usr/local/share/kamailio`, which does not exist, and the dbinit
scripts fail.
Orignaliy issue was reported at
https://gitlab.alpinelinux.org/alpine/aports/-/issues/17819
For Alpine packaging, created a patch at
https://gitlab.alpinelinux.org/alpine/aports/-/merge_requests/94747/diffs
But this is affecting other dist also. I see this affects RPM packaging and
probale this affecting deps packaging.
@xkaraman could you look
--
Reply to this email directly or view it on GitHub:
https://github.com/kamailio/kamailio/issues/4528
You are receiving this because you are subscribed to this thread.
Message ID: <kamailio/kamailio/issues/[email protected]>
_______________________________________________
Kamailio - Development Mailing List -- [email protected]
To unsubscribe send an email to [email protected]
Important: keep the mailing list in the recipients, do not reply only to the
sender!