<html>
<head>
<base href="https://wiki.asterisk.org/wiki">
<link rel="stylesheet" href="/wiki/s/2036/1/7/_/styles/combined.css?spaceKey=TOP&forWysiwyg=true" type="text/css">
</head>
<body style="background: white;" bgcolor="white" class="email-body">
<div id="pageContent">
<div id="notificationFormat">
<div class="wiki-content">
<div class="email">
<h2><a href="https://wiki.asterisk.org/wiki/display/TOP/Building+-+Linux">Building - Linux</a></h2>
<h4>Page <b>edited</b> by <a href="https://wiki.asterisk.org/wiki/display/~kpfleming">Kevin P. Fleming</a>
</h4>
<div id="versionComment">
<b>Comment:</b>
Added instructions for installing slice-plugins<br />
</div>
<br/>
<h4>Changes (1)</h4>
<div id="page-diffs">
<table class="diff" cellpadding="0" cellspacing="0">
<tr><td class="diff-snipped" >...<br></td></tr>
<tr><td class="diff-unchanged" >cd ../.. <br>{noformat} <br></td></tr>
<tr><td class="diff-added-lines" style="background-color: #dfd;"># h6.Build / Install Slice Translator Plugins <br>To build Asterisk SCF, you will need Digium's Slice Translator Plugins. <br>{noformat} <br>git clone git://git.asterisk.org/asterisk-scf/release/slice-plugins <br>cd slice-plugins <br>cmake . <br>make <br>make install <br>cd .. <br>{noformat} <br></td></tr>
<tr><td class="diff-unchanged" ># h6.Obtain the Asterisk SCF source <br>We need to clone the Asterisk SCF build environment <br></td></tr>
<tr><td class="diff-snipped" >...<br></td></tr>
</table>
</div> <h4>Full Content</h4>
<div class="notificationGreySide">
<h2><a name="Building-Linux-Preface"></a>Preface</h2>
<p>These instructions explain how to build Asterisk SCF on a clean, basic Linux operating system installation.</p>
<h2><a name="Building-Linux-OperatingSystems"></a>Operating Systems</h2>
<p>Asterisk SCF is supported on a wide range of platforms and architectures. This documentation covers installing Asterisk SCF using the following operating systems.</p>
<ul>
        <li>CentOS / Red Hat Enterprise Linux (RHEL) 5.5</li>
        <li>Fedora 14</li>
        <li>Debian 5.0</li>
        <li>Ubuntu 10.04</li>
        <li>openSUSE 11.3</li>
</ul>
<div class='panelMacro'><table class='noteMacro'><colgroup><col width='24'><col></colgroup><tr><td valign='top'><img src="/wiki/images/icons/emoticons/warning.gif" width="16" height="16" align="absmiddle" alt="" border="0"></td><td>Oracle/Sun Java is required for Java support in Ice and is not available for all platforms and architectures (OpenJDK is not supported).<br/>
Additional details can be found on the Oracle website at <a href="http://www.oracle.com/technetwork/java/javase/system-configurations-135212.html" class="external-link" rel="nofollow">http://www.oracle.com/technetwork/java/javase/system-configurations-135212.html</a></td></tr></table></div>
<h2><a name="Building-Linux-Installation"></a>Installation</h2>
<ol>
        <li><h6><a name="Building-Linux-Addadditionalrequiredrepositories"></a>Add additional required repositories</h6>
        <ul>
                <li>Debian 5.0<br/>
We'll need the cmake package from the testing repo, however, we'll not want to use the testing repo for much else so we'll need to create an apt preferences file that gives the main repo a higher priority.
<style type="text/css">
@media all {
.expand-content { margin-left: 20px; }
.expand-control-icon { display: inline-block; width: 20px; }
.expand-control-text { vertical-align: top; text-decoration:none; }
.expand-control-image { vertical-align: middle; text-decoration:none; }
}
@media screen {
.expand-hidden { display: none; }
.expand-control { cursor: pointer; text-decoration: none; }
}
@media print {
/* show expander text in print */
.expand-content { display: block !important; }
}
</style>
<div id="expander-255278328" class="expand-control" tabindex="0"><span class="expand-control-icon"><img class="expand-control-image" src="/wiki/images/icons/arrow_down.png"></span><span class="expand-control-text">Click here to expand...</span></div>
<div class="expand-content"><div class="preformatted panel" style="border-width: 1px;"><div class="preformattedContent panelContent">
<pre>echo "deb http://www.backports.org/debian lenny-backports main contrib non-free" >> /etc/apt/sources.list
echo "deb http://ftp.us.debian.org/debian/ testing main" >> /etc/apt/sources.list
echo -e "Package: *\r\nPin: release a=stable\r\nPin-Priority: 900" >> /etc/apt/preferences
apt-get update
</pre>
</div></div></div>
</li>
                <li>CentOS / RHEL 5.5
<style type="text/css">
@media all {
.expand-content { margin-left: 20px; }
.expand-control-icon { display: inline-block; width: 20px; }
.expand-control-text { vertical-align: top; text-decoration:none; }
.expand-control-image { vertical-align: middle; text-decoration:none; }
}
@media screen {
.expand-hidden { display: none; }
.expand-control { cursor: pointer; text-decoration: none; }
}
@media print {
/* show expander text in print */
.expand-content { display: block !important; }
}
</style>
<div id="expander-1903100043" class="expand-control" tabindex="0"><span class="expand-control-icon"><img class="expand-control-image" src="/wiki/images/icons/arrow_down.png"></span><span class="expand-control-text">Click here to expand...</span></div>
<div class="expand-content"><div class="preformatted panel" style="border-width: 1px;"><div class="preformattedContent panelContent">
<pre>rpm -Uvh http://download.fedora.redhat.com/pub/epel/5/`uname \-i`/epel-release-5-4.noarch.rpm
rpm -Uvh http://blackopsoft.com/el5/RPMS/noarch/blackop-el5-repo-1.0-2.noarch.rpm
rpm -Uvh http://rpmforge.sw.be/redhat/el5/en/`uname \-i`/rpmforge/RPMS/rpmforge-release-0.5.1-1.el5.rf.`uname \-i`.rpm
wget -O /etc/yum.repos.d/zeroc-ice.repo http://www.zeroc.com/download/Ice/3.4/rhel5/zeroc-ice.repo
wget -O /etc/yum.repos.d/jpackage50.repo http://www.jpackage.org/jpackage50.repo
</pre>
</div></div></div>
</li>
                <li>Ubuntu 10.04
<style type="text/css">
@media all {
.expand-content { margin-left: 20px; }
.expand-control-icon { display: inline-block; width: 20px; }
.expand-control-text { vertical-align: top; text-decoration:none; }
.expand-control-image { vertical-align: middle; text-decoration:none; }
}
@media screen {
.expand-hidden { display: none; }
.expand-control { cursor: pointer; text-decoration: none; }
}
@media print {
/* show expander text in print */
.expand-content { display: block !important; }
}
</style>
<div id="expander-1326977240" class="expand-control" tabindex="0"><span class="expand-control-icon"><img class="expand-control-image" src="/wiki/images/icons/arrow_down.png"></span><span class="expand-control-text">Click here to expand...</span></div>
<div class="expand-content"><div class="preformatted panel" style="border-width: 1px;"><div class="preformattedContent panelContent">
<pre>apt-get install python-software-properties
add-apt-repository "deb http://archive.canonical.com/ lucid partner"
apt-get update
</pre>
</div></div></div>
</li>
        </ul>
        </li>
        <li><h6><a name="Building-Linux-Installrequiredlibrariesandapplications"></a>Install required libraries and applications</h6>
        <ul>
                <li>Debian 5.0
<style type="text/css">
@media all {
.expand-content { margin-left: 20px; }
.expand-control-icon { display: inline-block; width: 20px; }
.expand-control-text { vertical-align: top; text-decoration:none; }
.expand-control-image { vertical-align: middle; text-decoration:none; }
}
@media screen {
.expand-hidden { display: none; }
.expand-control { cursor: pointer; text-decoration: none; }
}
@media print {
/* show expander text in print */
.expand-content { display: block !important; }
}
</style>
<div id="expander-1069486821" class="expand-control" tabindex="0"><span class="expand-control-icon"><img class="expand-control-image" src="/wiki/images/icons/arrow_down.png"></span><span class="expand-control-text">Click here to expand...</span></div>
<div class="expand-content"><div class="preformatted panel" style="border-width: 1px;"><div class="preformattedContent panelContent">
<pre>apt-get install build-essential python python-dev
apt-get install -t testing cmake liblua5.1-0-dev libbz2-dev libssl-dev libexpat1-dev mono-gmcs monodevelop mono-xbuild
apt-get install libdb4.8++-dev ruby ruby1.8-dev php5-dev libmcpp-dev
apt-get install -t lenny-backports libboost1.40-all-dev git
</pre>
</div></div></div>
</li>
                <li>CentOS / RHEL 5.5
<style type="text/css">
@media all {
.expand-content { margin-left: 20px; }
.expand-control-icon { display: inline-block; width: 20px; }
.expand-control-text { vertical-align: top; text-decoration:none; }
.expand-control-image { vertical-align: middle; text-decoration:none; }
}
@media screen {
.expand-hidden { display: none; }
.expand-control { cursor: pointer; text-decoration: none; }
}
@media print {
/* show expander text in print */
.expand-content { display: block !important; }
}
</style>
<div id="expander-599842067" class="expand-control" tabindex="0"><span class="expand-control-icon"><img class="expand-control-image" src="/wiki/images/icons/arrow_down.png"></span><span class="expand-control-text">Click here to expand...</span></div>
<div class="expand-content"><div class="preformatted panel" style="border-width: 1px;"><div class="preformattedContent panelContent">
<pre>yum groupinstall "Development Tools"
yum install --enablerepo=blackop tcl cmake boost-devel-1.40.0-10.x86_64 lua-devel db4-devel jpackage-utils
yum install openssl-devel expat-devel bzip2-devel ruby ruby-devel php-devel python python-devel mcpp-devel
yum install --enablerepo=rpmforge git-all
rpm -Uvh http://s3.amazonaws.com/mindtouch/mono-2.4.3-1.noarch.rpm
</pre>
</div></div></div>
<p>You'll need to edit your PATH environment variable either in your '~/.bashrc' file or '/etc/profile' to include '/opt/mono-2.4.3/bin/'.</p></li>
                <li>Ubuntu 10.04
<style type="text/css">
@media all {
.expand-content { margin-left: 20px; }
.expand-control-icon { display: inline-block; width: 20px; }
.expand-control-text { vertical-align: top; text-decoration:none; }
.expand-control-image { vertical-align: middle; text-decoration:none; }
}
@media screen {
.expand-hidden { display: none; }
.expand-control { cursor: pointer; text-decoration: none; }
}
@media print {
/* show expander text in print */
.expand-content { display: block !important; }
}
</style>
<div id="expander-1555565960" class="expand-control" tabindex="0"><span class="expand-control-icon"><img class="expand-control-image" src="/wiki/images/icons/arrow_down.png"></span><span class="expand-control-text">Click here to expand...</span></div>
<div class="expand-content"><div class="preformatted panel" style="border-width: 1px;"><div class="preformattedContent panelContent">
<pre>apt-get install build-essential libboost1.40-all-dev liblua5.1-0-dev cmake libmcpp-dev libbz2-dev libdb4.8++-dev mono-gmcs monodevelop mono-xbuild ruby ruby1.8-dev php5-dev libexpat1-dev libssl-dev git-core
</pre>
</div></div></div>
</li>
                <li>Fedora 14
<style type="text/css">
@media all {
.expand-content { margin-left: 20px; }
.expand-control-icon { display: inline-block; width: 20px; }
.expand-control-text { vertical-align: top; text-decoration:none; }
.expand-control-image { vertical-align: middle; text-decoration:none; }
}
@media screen {
.expand-hidden { display: none; }
.expand-control { cursor: pointer; text-decoration: none; }
}
@media print {
/* show expander text in print */
.expand-content { display: block !important; }
}
</style>
<div id="expander-1631659408" class="expand-control" tabindex="0"><span class="expand-control-icon"><img class="expand-control-image" src="/wiki/images/icons/arrow_down.png"></span><span class="expand-control-text">Click here to expand...</span></div>
<div class="expand-content"><div class="preformatted panel" style="border-width: 1px;"><div class="preformattedContent panelContent">
<pre>yum groupinstall "Development Tools"
yum-builddep ice
yum install jgoodies-forms jgoodies-looks boost-devel lua-devel git-all
</pre>
</div></div></div>
</li>
                <li>openSUSE 11.3
<style type="text/css">
@media all {
.expand-content { margin-left: 20px; }
.expand-control-icon { display: inline-block; width: 20px; }
.expand-control-text { vertical-align: top; text-decoration:none; }
.expand-control-image { vertical-align: middle; text-decoration:none; }
}
@media screen {
.expand-hidden { display: none; }
.expand-control { cursor: pointer; text-decoration: none; }
}
@media print {
/* show expander text in print */
.expand-content { display: block !important; }
}
</style>
<div id="expander-1908440670" class="expand-control" tabindex="0"><span class="expand-control-icon"><img class="expand-control-image" src="/wiki/images/icons/arrow_down.png"></span><span class="expand-control-text">Click here to expand...</span></div>
<div class="expand-content"><div class="preformatted panel" style="border-width: 1px;"><div class="preformattedContent panelContent">
<pre>sudo zypper install devel_rpm_build gcc-c++ cmake git-core libopenssl-devel libbz2-devel python-devel libexpat-devel php5-devel lua-devel ruby ruby-devel patch libtool
mkdir zeroc
cd zeroc
wget http://www.zeroc.com/download/Ice/3.4/Ice-3.4.1-sles11-x86_64-rpm.tar.gz
tar -xvf Ice-3.4.1-sles11-x86_64-rpm.tar.gz
sudo rpm -i db48-4.8.30-1ice.sles11.x86_64.rpm
sudo rpm -i db48-devel-4.8.30-1ice.sles11.x86_64.rpm
sudo rpm -i db48-java-4.8.30-1ice.sles11.x86_64.rpm
sudo rpm -i db48-utils-4.8.30-1ice.sles11.x86_64.rpm
sudo rpm -i mcpp-devel-2.7.2-2ice.sles11.x86_64.rpm
cd ~
wget http://cdnetworks-us-2.dl.sourceforge.net/project/boost/boost/1.44.0/boost_1_44_0.tar.gz
tar -xvf boost_1_44_0.tar.gz
cd boost_1_44_0
./bootstrap.sh
./bjam
sudo ./bjam install
cd ~
</pre>
</div></div></div>
</li>
        </ul>
        </li>
        <li><h6><a name="Building-Linux-JavaSupport%28optional%29"></a>Java Support (optional)</h6>
        <ul>
                <li>Debian 5.0<br/>
Append "non-free" to the "lenny main" entries in /etc/apt/sources.list file so they look similar to the ones below.
<style type="text/css">
@media all {
.expand-content { margin-left: 20px; }
.expand-control-icon { display: inline-block; width: 20px; }
.expand-control-text { vertical-align: top; text-decoration:none; }
.expand-control-image { vertical-align: middle; text-decoration:none; }
}
@media screen {
.expand-hidden { display: none; }
.expand-control { cursor: pointer; text-decoration: none; }
}
@media print {
/* show expander text in print */
.expand-content { display: block !important; }
}
</style>
<div id="expander-1752832014" class="expand-control" tabindex="0"><span class="expand-control-icon"><img class="expand-control-image" src="/wiki/images/icons/arrow_down.png"></span><span class="expand-control-text">Click here to expand...</span></div>
<div class="expand-content"><div class="preformatted panel" style="border-width: 1px;"><div class="preformattedContent panelContent">
<pre>deb http://ftp.us.debian.org/debian/ lenny main non-free
deb-src http://ftp.us.debian.org/debian/ lenny main non-free
</pre>
</div></div>
<p>Finish installing</p>
<div class="preformatted panel" style="border-width: 1px;"><div class="preformattedContent panelContent">
<pre>apt-get update
apt-get install sun-java6-jdk libdb4.8-java ant libjgoodies-forms-java libjgoodies-looks-java
update-alternatives --config java
</pre>
</div></div></div>
</li>
                <li>CentOS / RHEL 5.5
<style type="text/css">
@media all {
.expand-content { margin-left: 20px; }
.expand-control-icon { display: inline-block; width: 20px; }
.expand-control-text { vertical-align: top; text-decoration:none; }
.expand-control-image { vertical-align: middle; text-decoration:none; }
}
@media screen {
.expand-hidden { display: none; }
.expand-control { cursor: pointer; text-decoration: none; }
}
@media print {
/* show expander text in print */
.expand-content { display: block !important; }
}
</style>
<div id="expander-1628920750" class="expand-control" tabindex="0"><span class="expand-control-icon"><img class="expand-control-image" src="/wiki/images/icons/arrow_down.png"></span><span class="expand-control-text">Click here to expand...</span></div>
<div class="expand-content"><div class="preformatted panel" style="border-width: 1px;"><div class="preformattedContent panelContent">
<pre>mkdir -p ~/rpmbuild/{SOURCES,SRPMS,SPECS,RPMS,tmp,BUILD}
touch ~/.rpmmacros
echo "%_topdir /root/rpmbuild" >> ~/.rpmmacros
echo "%_tmppath %{_topdir}/tmp" >> ~/.rpmmacros
yum install -y rpm-build redhat-rpm-config libXp-devel
</pre>
</div></div>
<p>As there is no official CentOS / Redhat Java repository, you'll need to download the JDK (non-rpm bin format) from <a href="https://cds.sun.com/is-bin/INTERSHOP.enfinity/WFS/CDS-CDS_Developer-Site/en_US/-/USD/ViewProductDetail-Start?ProductRef=jdk-6u11-oth-JPR@CDS-CDS_Developer" class="external-link" rel="nofollow">here</a> and move it into the ~/rpmbuild/SOURCES/ directory. Care must be taken in making sure the jpackage source rpm sun version and the JDK version are identical.</p>
<div class="preformatted panel" style="border-width: 1px;"><div class="preformattedContent panelContent">
<pre>cd ~/rpmbuild
wget http://mirrors.dotsrc.org/jpackage/1.7/generic/SRPMS.non-free/java-1.6.0-sun-1.6.0.11-1jpp.nosrc.rpm
rpmbuild --rebuild java-1.6.0-sun-1.6.0.11-1jpp.nosrc.rpm
rpm -Uvh ~/rpmbuild/RPMS/`uname \-i`/java-1.6.0-sun-1.6.0.11-1jpp.`uname \-i`.rpm
alternatives --config java
yum install --enablerepo=blackop db4-java
yum install --disablerepo=blackop ant ant-nodeps
</pre>
</div></div></div>
</li>
                <li>Ubuntu 10.04
<style type="text/css">
@media all {
.expand-content { margin-left: 20px; }
.expand-control-icon { display: inline-block; width: 20px; }
.expand-control-text { vertical-align: top; text-decoration:none; }
.expand-control-image { vertical-align: middle; text-decoration:none; }
}
@media screen {
.expand-hidden { display: none; }
.expand-control { cursor: pointer; text-decoration: none; }
}
@media print {
/* show expander text in print */
.expand-content { display: block !important; }
}
</style>
<div id="expander-96532757" class="expand-control" tabindex="0"><span class="expand-control-icon"><img class="expand-control-image" src="/wiki/images/icons/arrow_down.png"></span><span class="expand-control-text">Click here to expand...</span></div>
<div class="expand-content"><div class="preformatted panel" style="border-width: 1px;"><div class="preformattedContent panelContent">
<pre>add-apt-repository "deb http://archive.canonical.com/ lucid partner"
apt-get update
apt-get install sun-java6-jdk libdb4.8-java ant libjgoodies-forms-java libjgoodies-looks-java
update-alternatives --config java
</pre>
</div></div></div>
</li>
                <li>openSUSE 11.3
<style type="text/css">
@media all {
.expand-content { margin-left: 20px; }
.expand-control-icon { display: inline-block; width: 20px; }
.expand-control-text { vertical-align: top; text-decoration:none; }
.expand-control-image { vertical-align: middle; text-decoration:none; }
}
@media screen {
.expand-hidden { display: none; }
.expand-control { cursor: pointer; text-decoration: none; }
}
@media print {
/* show expander text in print */
.expand-content { display: block !important; }
}
</style>
<div id="expander-377201473" class="expand-control" tabindex="0"><span class="expand-control-icon"><img class="expand-control-image" src="/wiki/images/icons/arrow_down.png"></span><span class="expand-control-text">Click here to expand...</span></div>
<div class="expand-content"><div class="preformatted panel" style="border-width: 1px;"><div class="preformattedContent panelContent">
<pre>sudo zypper install java-1_6_0-sun ant ant-nodeps libdb_java-4_5-devel jpackage-utils
</pre>
</div></div></div>
</li>
        </ul>
        </li>
        <li><h6><a name="Building-Linux-Build%2FInstallIce"></a>Build / Install Ice</h6>
<p>We need to clone Digium's branch of Ice</p>
<div class="preformatted panel" style="border-width: 1px;"><div class="preformattedContent panelContent">
<pre>git clone git://git.asterisk.org/asterisk-scf/release/ice
cd ice
</pre>
</div></div>
        <ul>
                <li>With Java support
                <ul>
                        <li>Set class path
                        <ul>
                                <li>Debian 5.0 and Ubuntu 10.04
<style type="text/css">
@media all {
.expand-content { margin-left: 20px; }
.expand-control-icon { display: inline-block; width: 20px; }
.expand-control-text { vertical-align: top; text-decoration:none; }
.expand-control-image { vertical-align: middle; text-decoration:none; }
}
@media screen {
.expand-hidden { display: none; }
.expand-control { cursor: pointer; text-decoration: none; }
}
@media print {
/* show expander text in print */
.expand-content { display: block !important; }
}
</style>
<div id="expander-1603437224" class="expand-control" tabindex="0"><span class="expand-control-icon"><img class="expand-control-image" src="/wiki/images/icons/arrow_down.png"></span><span class="expand-control-text">Click here to expand...</span></div>
<div class="expand-content"><div class="preformatted panel" style="border-width: 1px;"><div class="preformattedContent panelContent">
<pre>export CLASSPATH=/usr/share/java/libdb4.8-java.jar:/usr/share/java/forms.jar:/usr/share/java/looks.jar
</pre>
</div></div></div>
</li>
                                <li>CentOS / RHEL 5.5
<style type="text/css">
@media all {
.expand-content { margin-left: 20px; }
.expand-control-icon { display: inline-block; width: 20px; }
.expand-control-text { vertical-align: top; text-decoration:none; }
.expand-control-image { vertical-align: middle; text-decoration:none; }
}
@media screen {
.expand-hidden { display: none; }
.expand-control { cursor: pointer; text-decoration: none; }
}
@media print {
/* show expander text in print */
.expand-content { display: block !important; }
}
</style>
<div id="expander-1412229728" class="expand-control" tabindex="0"><span class="expand-control-icon"><img class="expand-control-image" src="/wiki/images/icons/arrow_down.png"></span><span class="expand-control-text">Click here to expand...</span></div>
<div class="expand-content"><div class="preformatted panel" style="border-width: 1px;"><div class="preformattedContent panelContent">
<pre>wget http://www.jgoodies.com/download/libraries/forms/forms-1_3_0.zip
unzip forms-1_3_0.zip
mv forms-1.3.0/forms-1.3.0.jar /usr/share/java/forms.jar
wget http://www.jgoodies.com/download/libraries/looks/looks-2_3_1.zip
unzip looks-2_3_1.zip
mv looks-2.3.1/looks-2.3.1.jar /usr/share/java/looks.jar
export CLASSPATH=/usr/share/java/db.jar:/usr/share/java/forms.jar:/usr/share/java/looks.jar
</pre>
</div></div></div>
</li>
                                <li>Fedora 14
<style type="text/css">
@media all {
.expand-content { margin-left: 20px; }
.expand-control-icon { display: inline-block; width: 20px; }
.expand-control-text { vertical-align: top; text-decoration:none; }
.expand-control-image { vertical-align: middle; text-decoration:none; }
}
@media screen {
.expand-hidden { display: none; }
.expand-control { cursor: pointer; text-decoration: none; }
}
@media print {
/* show expander text in print */
.expand-content { display: block !important; }
}
</style>
<div id="expander-2066849005" class="expand-control" tabindex="0"><span class="expand-control-icon"><img class="expand-control-image" src="/wiki/images/icons/arrow_down.png"></span><span class="expand-control-text">Click here to expand...</span></div>
<div class="expand-content"><div class="preformatted panel" style="border-width: 1px;"><div class="preformattedContent panelContent">
<pre>export CLASSPATH=/usr/share/java/db.jar:/usr/share/java/jgoodies-forms.jar:/usr/share/java/jgoodies-looks.jar
</pre>
</div></div></div>
</li>
                        </ul>
                        </li>
                        <li>Make
<div class="preformatted panel" style="border-width: 1px;"><div class="preformattedContent panelContent">
<pre>make install
cd ..
</pre>
</div></div></li>
                </ul>
                </li>
                <li>With C++ and Python support ONLY
<div class="preformatted panel" style="border-width: 1px;"><div class="preformattedContent panelContent">
<pre>cd cpp
make install
cd ../py
make install
cd ../..
</pre>
</div></div></li>
        </ul>
        </li>
        <li><h6><a name="Building-Linux-Build%2FInstallSliceTranslatorPlugins"></a>Build / Install Slice Translator Plugins</h6>
<p>To build Asterisk SCF, you will need Digium's Slice Translator Plugins.</p>
<div class="preformatted panel" style="border-width: 1px;"><div class="preformattedContent panelContent">
<pre>git clone git://git.asterisk.org/asterisk-scf/release/slice-plugins
cd slice-plugins
cmake .
make
make install
cd ..
</pre>
</div></div></li>
        <li><h6><a name="Building-Linux-ObtaintheAsteriskSCFsource"></a>Obtain the Asterisk SCF source</h6>
<p>We need to clone the Asterisk SCF build environment</p>
<div class="preformatted panel" style="border-width: 1px;"><div class="preformattedContent panelContent">
<pre>git clone git://git.asterisk.org/asterisk-scf/integration/gitall
cd gitall
./gitall-asterisk-scf.sh
</pre>
</div></div></li>
        <li><h6><a name="Building-Linux-BuildAsteriskSCF"></a>Build Asterisk SCF</h6>
<div class="preformatted panel" style="border-width: 1px;"><div class="preformattedContent panelContent">
<pre>./cmake/init-cmake.sh
cmake --build ./build
</pre>
</div></div></li>
</ol>
</div>
<div id="commentsSection" class="wiki-content pageSection">
<div style="float: right;">
<a href="https://wiki.asterisk.org/wiki/users/viewnotifications.action" class="grey">Change Notification Preferences</a>
</div>
<a href="https://wiki.asterisk.org/wiki/display/TOP/Building+-+Linux">View Online</a>
|
<a href="https://wiki.asterisk.org/wiki/pages/diffpagesbyversion.action?pageId=5243911&revisedVersion=48&originalVersion=47">View Changes</a>
|
<a href="https://wiki.asterisk.org/wiki/display/TOP/Building+-+Linux?showComments=true&showCommentArea=true#addcomment">Add Comment</a>
</div>
</div>
</div>
</div>
</div>
</body>
</html>