Olivier
2013-Feb-12 12:02 UTC
[asterisk-users] How to install in /usr/local/sbin instead of /usr/sbin ?
Hi, Reading comment in the bottom of https://wiki.asterisk.org/wiki/display/AST/Building+and+Installing+Asterisk, I thought I could install asterisk 11 in non-standard locations such as /usr/local/sbin simply typing (from source directory): make install DESTDIR=/usr/local/sbin Doing so seems to install elsewhere For instance, make install DESTDIR=/usr/sbin installs runtime asterisk in /usr/sbin/usr/sbin directory. Am I correctly understanding the wiki page ? What is the appropriate command ? Regards -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.digium.com/pipermail/asterisk-users/attachments/20130212/c697628f/attachment.htm>
Jacob.E.Miles at L-3Com.com
2013-Feb-12 12:44 UTC
[asterisk-users] How to install in /usr/local/sbin instead of/usr/sbin ?
If this is the case then doing "make install DESTDIR=../local/sbin" should install in the /usr/local/sbin directory. It looks to be using a relative path starting in /usr/sbin/ Jacob From: asterisk-users-bounces at lists.digium.com [mailto:asterisk-users-bounces at lists.digium.com] On Behalf Of Olivier Sent: Tuesday, February 12, 2013 6:03 AM To: Asterisk Users Mailing List - Non-Commercial Discussion Subject: [asterisk-users] How to install in /usr/local/sbin instead of/usr/sbin ? Hi, Reading comment in the bottom of https://wiki.asterisk.org/wiki/display/AST/Building+and+Installing+Aster isk, I thought I could install asterisk 11 in non-standard locations such as /usr/local/sbin simply typing (from source directory): make install DESTDIR=/usr/local/sbin Doing so seems to install elsewhere For instance, make install DESTDIR=/usr/sbin installs runtime asterisk in /usr/sbin/usr/sbin directory. Am I correctly understanding the wiki page ? What is the appropriate command ? Regards -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.digium.com/pipermail/asterisk-users/attachments/20130212/a8b31695/attachment-0001.htm>
Doug Lytle
2013-Feb-12 13:16 UTC
[asterisk-users] How to install in /usr/local/sbin instead of /usr/sbin ?
>> non-standard locations such as /usr/local/sbinIf compiling from source, it'd normally be specified by the --prefix option: ./configure --prefix=/usr/local Doug -- Ben Franklin quote: "Those who would give up Essential Liberty to purchase a little Temporary Safety, deserve neither Liberty nor Safety." -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.digium.com/pipermail/asterisk-users/attachments/20130212/b4802e04/attachment.htm>