Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

installation: configure script and target paths #37

Open
vieridipaola opened this issue May 24, 2023 · 1 comment
Open

installation: configure script and target paths #37

vieridipaola opened this issue May 24, 2023 · 1 comment

Comments

@vieridipaola
Copy link

Hi,

The configure script assumes that the Asterisk modules are located in PREFIX/lib. However, on some systems such as Gentoo Linux /lib, /lib64, /usr/lib and /usr/lib64 are all different directories with different content (no symlinks as in the olden days).
Also, the following assumes the PREFIX variable will be used for both the conf file and the modules which is usually not the case:

ASTERISK_MODDIR="${prefix}/lib/asterisk/modules"
ASTERISK_CONF_DIR="${prefix}/etc/asterisk"

To make a long story short I want to be able to install the Asterisk module in /usr/lib64/asterisk/modules and the conf file in /etc/asterisk.

@nshmyrev
Copy link
Contributor

You can redefine path while doing make install

make install ASTERISK_MODDIR=/usr/lib64/asterisk/modules

it should work

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

No branches or pull requests

2 participants