<html>
<head>
<base href="https://wiki.asterisk.org/wiki">
<link rel="stylesheet" href="/wiki/s/en/2171/18/9/_/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+on+Linux">Building on Linux</a></h2>
<h4>Page <b>edited</b> by <a href="https://wiki.asterisk.org/wiki/display/~dlee">David M. Lee</a>
</h4>
<div id="versionComment">
<b>Comment:</b>
Added instructions for Ubuntu Precise<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" >{noformat} <br>{expand} <br></td></tr>
<tr><td class="diff-added-lines" style="background-color: #dfd;"> <br>{expand: Ubuntu 12.04 LTS (Precise)} <br>{noformat} <br># h6.Install required libraries and applications <br>{noformat} <br>apt-get install build-essential libboost-all-dev liblua5.1-0-dev cmake libmcpp-dev libbz2-dev libdb++-dev libexpat1-dev libssl-dev git <br>{noformat} <br># h6.Java Support (Optional) <br>{noformat} <br>apt-get install openjdk-7-jdk libdb-java-dev ant libjgoodies-forms-java libjgoodies-looks-java <br>export CLASSPATH=/usr/share/java/db.jar:/usr/share/java/forms.jar:/usr/share/java/looks.jar <br>{noformat} <br># h6.Mono Support (Optional) <br>{noformat} <br>apt-get install mono-gmcs monodevelop mono-xbuild <br>{noformat} <br># h6.Ruby Support (Optional) <br>{noformat} <br>apt-get install ruby ruby-dev <br>{noformat} <br># h6.PHP Support (Optional) <br>{noformat} <br>apt-get install php5-dev <br>{noformat} <br>{expand} <br></td></tr>
<tr><td class="diff-unchanged" >{br} <br>{panel} <br></td></tr>
<tr><td class="diff-snipped" >...<br></td></tr>
</table>
</div> <h4>Full Content</h4>
<div class="notificationGreySide">
<br>
<div class="panel" style="background-color: #CCCCCC;border-color: #ccc;border-style: solid;border-width: 1px;"><div class="panelHeader" style="border-bottom-width: 1px;border-bottom-style: solid;border-bottom-color: #ccc;background-color: #003366;color: white;"><b>#1 - Distribution Specific Instructions</b></div><div class="panelContent" style="background-color: #CCCCCC;">
<br>
<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-1732094202" 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"> CentOS 6.0 (RHEL)</span></div>
<div class="expand-content"><ol>
        <li><h6><a name="BuildingonLinux-Addadditionalrequiredrepositories"></a>Add additional required repositories</h6>
<div class="preformatted panel" style="border-width: 1px;"><div class="preformattedContent panelContent">
<pre>curl -o /etc/yum.repos.d/zeroc-ice.repo http://download.zeroc.com/Ice/3.4/rhel6/zeroc-ice-rhel6.repo
</pre>
</div></div>
<br></li>
        <li><h6><a name="BuildingonLinux-Installrequiredlibrariesandapplications"></a>Install required libraries and applications</h6>
<div class="preformatted panel" style="border-width: 1px;"><div class="preformattedContent panelContent">
<pre>yum groupinstall "Development Tools"
yum remove byacc
ln -s /usr/bin/bison /usr/bin/yacc
yum install wget mcpp-devel db48-devel bzip2-devel expat-devel openssl-devel python python-devel boost-devel lua-devel
curl -O ftp://ftp.pbone.net/mirror/download.fedora.redhat.com/pub/fedora/linux/updates/13/x86_64/cmake-2.8.0-3.fc13.x86_64.rpm
rpm -ivh cmake-2.8.0-3.fc13.x86_64.rpm
</pre>
</div></div>
<br></li>
        <li><h6><a name="BuildingonLinux-JavaSupport%28Optional%29"></a>Java Support (Optional)</h6>
<div class="preformatted panel" style="border-width: 1px;"><div class="preformattedContent panelContent">
<pre>wget -O jdk-6u29-linux-x64-rpm.bin http://download.oracle.com/otn-pub/java/jdk/6u29-b11/jdk-6u29-linux-x64-rpm.bin
sh ./jdk-6u29-linux-x64-rpm.bin
wget http://www.jgoodies.com/download/libraries/forms/forms-1_3_0.zip
wget http://www.jgoodies.com/download/libraries/looks/looks-2_3_1.zip
unzip forms-1_3_0.zip
unzip looks-2_3_1.zip
mv forms-1.3.0/forms-1.3.0.jar /usr/share/java/forms.jar
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
wget http://apache.mirrors.pair.com/ant/binaries/apache-ant-1.8.2-bin.zip
unzip apache-ant-1.8.2-bin.zip -d /opt
yum install db48-java
</pre>
</div></div>
<p>Edit /etc/profile and at the very bottom of the file add the following line:</p>
<div class="preformatted panel" style="border-width: 1px;"><div class="preformattedContent panelContent">
<pre>export PATH=$PATH:/opt/apache-ant-1.8.2/bin
</pre>
</div></div>
<br></li>
        <li><h6><a name="BuildingonLinux-MonoSupport%28Optional%29"></a>Mono Support (Optional)</h6>
<p>Create the file /etc/yum.repos.d/mono.repo</p>
<div class="preformatted panel" style="border-width: 1px;"><div class="preformattedContent panelContent">
<pre>[mono]
name = novell-mono
baseurl=http://ftp.novell.com/pub/mono/download-stable/RHEL_5/
enabled=1
gpgcheck=0
</pre>
</div></div>
<div class="preformatted panel" style="border-width: 1px;"><div class="preformattedContent panelContent">
<pre>yum install mono-addon-devel
</pre>
</div></div>
<p>Edit /etc/profile and at the very bottom of the file add the following line:</p>
<div class="preformatted panel" style="border-width: 1px;"><div class="preformattedContent panelContent">
<pre>export PATH=$PATH:/opt/novell/mono/bin
</pre>
</div></div>
<br></li>
        <li><h6><a name="BuildingonLinux-RubySupport%28Optional%29"></a>Ruby Support (Optional)</h6>
<div class="preformatted panel" style="border-width: 1px;"><div class="preformattedContent panelContent">
<pre>yum install ruby ruby-devel
</pre>
</div></div>
<br></li>
        <li><h6><a name="BuildingonLinux-PHPSupport%28Optional%29"></a>PHP Support (Optional)</h6>
<div class="preformatted panel" style="border-width: 1px;"><div class="preformattedContent panelContent">
<pre>yum install php php-devel
</pre>
</div></div>
<br></li>
</ol>
</div>
<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-1336841977" 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"> Fedora 14</span></div>
<div class="expand-content"><ol>
        <li><h6><a name="BuildingonLinux-Installrequiredlibrariesandapplications"></a>Install required libraries and applications</h6>
<div class="preformatted panel" style="border-width: 1px;"><div class="preformattedContent panelContent">
<pre>yum groupinstall "Development Tools"
yum install yum-utils jgoodies-forms jgoodies-looks boost-devel lua-devel git-all
echo '#!/bin/sh' > /usr/local/bin/yacc; echo 'bison -y "$@"' >> /usr/local/bin/yacc
</pre>
</div></div></li>
        <li><h6><a name="BuildingonLinux-InstallALLsupportedlanguages%28C%2CPython%2CJava%2CMono%2CRuby%2CPHP%29."></a>Install <b>ALL</b> supported languages (C++, Python, Java, Mono, Ruby, PHP).</h6>
<div class="preformatted panel" style="border-width: 1px;"><div class="preformattedContent panelContent">
<pre>yum-builddep ice
</pre>
</div></div></li>
</ol>
</div>
<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-1611472803" 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"> Debian 5.0 (Lenny)</span></div>
<div class="expand-content"><ol>
        <li><h6><a name="BuildingonLinux-Addadditionalrequiredrepositories"></a>Add additional required repositories</h6>
<p>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.</p>
<div class="preformatted panel" style="border-width: 1px;"><div class="preformattedContent panelContent">
<pre>echo "deb http://backports.debian.org/debian-backports lenny-backports main contrib non-free" >> /etc/apt/sources.list
echo "deb http://ftp.us.debian.org/debian/ lenny main non-free" >> /etc/apt/sources.list
echo "deb http://download.opensuse.org/repositories/home:/pgquiles:/Wt/Debian_5.0 ./" >> /etc/apt/sources.list
echo "deb-src http://ftp.us.debian.org/debian/ lenny main non-free" >> /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></li>
        <li><h6><a name="BuildingonLinux-Installrequiredlibrariesandapplications"></a>Install required libraries and applications</h6>
<div class="preformatted panel" style="border-width: 1px;"><div class="preformattedContent panelContent">
<pre>apt-get install build-essential python python-dev flex libdb4.8++-dev libmcpp-dev liblua5.1-0-dev libbz2-dev libssl-dev libexpat1-dev
apt-get install -t lenny-backports git
apt-get install libboost1.42-all-dev
wget http://backports.debian.org/debian-backports/pool/main/c/cmake/cmake_2.8.5.orig.tar.gz
tar -xvf cmake_2.8.5.orig.tar.gz
cd cmake-2.8.5
./bootstrap
make
make install
</pre>
</div></div></li>
        <li><h6><a name="BuildingonLinux-JavaSupport%28Optional%29"></a>Java Support (Optional)</h6>
<div class="preformatted panel" style="border-width: 1px;"><div class="preformattedContent panelContent">
<pre>apt-get install sun-java6-jdk libdb4.8-java ant libjgoodies-forms-java libjgoodies-looks-java
update-alternatives --config java
export CLASSPATH=/usr/share/java/libdb4.8-java.jar:/usr/share/java/forms.jar:/usr/share/java/looks.jar
</pre>
</div></div></li>
        <li><h6><a name="BuildingonLinux-MonoSupport%28Optional%29"></a>Mono Support (Optional)</h6>
<div class="preformatted panel" style="border-width: 1px;"><div class="preformattedContent panelContent">
<pre>apt-get install -t lenny-backports mono-complete
</pre>
</div></div></li>
        <li><h6><a name="BuildingonLinux-RubySupport%28Optional%29"></a>Ruby Support (Optional)</h6>
<div class="preformatted panel" style="border-width: 1px;"><div class="preformattedContent panelContent">
<pre>apt-get install ruby ruby1.8-dev
</pre>
</div></div></li>
        <li><h6><a name="BuildingonLinux-PHPSupport%28Optional%29"></a>PHP Support (Optional)</h6>
<div class="preformatted panel" style="border-width: 1px;"><div class="preformattedContent panelContent">
<pre>apt-get install php5-dev
</pre>
</div></div></li>
</ol>
</div>
<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-1906615261" 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"> openSUSE 11.4</span></div>
<div class="expand-content"><ol>
        <li><h6><a name="BuildingonLinux-Installrequiredlibrariesandapplications"></a>Install required libraries and applications</h6>
<div class="preformatted panel" style="border-width: 1px;"><div class="preformattedContent panelContent">
<pre>zypper update
zypper install devel_rpm_build gcc-c++ cmake git-core libopenssl-devel libbz2-devel python-devel libexpat-devel lua-devel patch libtool flex
mkdir zeroc
cd zeroc
wget http://www.zeroc.com/download/Ice/3.4/ThirdParty-Sources-3.4.2.tar.gz
tar -xvf ThirdParty-Sources-3.4.2.tar.gz
cd ThirdParty-Sources-3.4.2
for x in *.tar.gz; do tar -xvf $x; done
cd db-4.8.30.NC/build_unix
../dist/configure --enable-cxx
make
make install
cd ../../mcpp-2.7.2
patch -p0 < ../mcpp/patch.mcpp.2.7.2
./configure CFLAGS=-fPIC --enable-mcpplib --disable-shared
make
make install
cd /usr/local/BerkeleyDB.4.8/
mv lib lib64
export DB_HOME=/usr/local/BerkeleyDB.4.8
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></li>
        <li><h6><a name="BuildingonLinux-JavaSupport%28Optional%29"></a>Java Support (Optional)</h6>
<div class="preformatted panel" style="border-width: 1px;"><div class="preformattedContent panelContent">
<pre>cd ~
cd ThirdParty-Sources-3.4.2/db-4.8.30.NC/build_unix
../dist/configure --enable-cxx --enable-java
make clean
make
make install
cd ~
zypper install java-1_6_0-sun java-1_6_0-sun-devel ant ant-nodeps
wget http://www.jgoodies.com/download/libraries/forms/forms-1_3_0.zip
wget http://www.jgoodies.com/download/libraries/looks/looks-2_3_1.zip
unzip forms-1_3_0.zip
unzip looks-2_3_1.zip
mv forms-1.3.0/forms-1.3.0.jar /usr/share/java/forms.jar
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></li>
        <li><h6><a name="BuildingonLinux-RubySupport%28Optional%29"></a>Ruby Support (Optional)</h6>
<div class="preformatted panel" style="border-width: 1px;"><div class="preformattedContent panelContent">
<pre>zypper install ruby ruby-devel
</pre>
</div></div></li>
        <li><h6><a name="BuildingonLinux-PHPSupport%28Optional%29"></a>PHP Support (Optional)</h6>
<div class="preformatted panel" style="border-width: 1px;"><div class="preformattedContent panelContent">
<pre>zypper install php5-devel
</pre>
</div></div></li>
</ol>
</div>
<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-2057099433" 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"> Ubuntu 10.04 LTS (Lucid)</span></div>
<div class="expand-content"><ol>
        <li><h6><a name="BuildingonLinux-Addadditionalrequiredrepositories"></a>Add additional required repositories</h6>
<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"
add-apt-repository ppa:boost-latest/ppa
apt-get update
</pre>
</div></div></li>
        <li><h6><a name="BuildingonLinux-Installrequiredlibrariesandapplications"></a>Install required libraries and applications</h6>
<div class="preformatted panel" style="border-width: 1px;"><div class="preformattedContent panelContent">
<pre>apt-get install build-essential libboost1.42-dev liblua5.1-0-dev cmake libmcpp-dev libbz2-dev libdb4.8++-dev libexpat1-dev libssl-dev git-core flex
</pre>
</div></div></li>
        <li><h6><a name="BuildingonLinux-JavaSupport%28Optional%29"></a>Java Support (Optional)</h6>
<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
export CLASSPATH=/usr/share/java/libdb4.8-java.jar:/usr/share/java/forms.jar:/usr/share/java/looks.jar
</pre>
</div></div></li>
        <li><h6><a name="BuildingonLinux-MonoSupport%28Optional%29"></a>Mono Support (Optional)</h6>
<div class="preformatted panel" style="border-width: 1px;"><div class="preformattedContent panelContent">
<pre>apt-get install mono-gmcs monodevelop mono-xbuild
</pre>
</div></div></li>
        <li><h6><a name="BuildingonLinux-RubySupport%28Optional%29"></a>Ruby Support (Optional)</h6>
<div class="preformatted panel" style="border-width: 1px;"><div class="preformattedContent panelContent">
<pre>apt-get install ruby ruby1.8-dev
</pre>
</div></div></li>
        <li><h6><a name="BuildingonLinux-PHPSupport%28Optional%29"></a>PHP Support (Optional)</h6>
<div class="preformatted panel" style="border-width: 1px;"><div class="preformattedContent panelContent">
<pre>apt-get install php5-dev
</pre>
</div></div></li>
</ol>
</div>
<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-1511859196" 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"> Ubuntu 12.04 LTS (Precise)</span></div>
<div class="expand-content"><div class="preformatted panel" style="border-width: 1px;"><div class="preformattedContent panelContent">
<pre># h6.Install required libraries and applications
</pre>
</div></div>
<p>apt-get install build-essential libboost-all-dev liblua5.1-0-dev cmake libmcpp-dev libbz2-dev libdb++-dev libexpat1-dev libssl-dev git</p>
<div class="preformatted panel" style="border-width: 1px;"><div class="preformattedContent panelContent">
<pre># h6.Java Support (Optional)
</pre>
</div></div>
<p>apt-get install openjdk-7-jdk libdb-java-dev ant libjgoodies-forms-java libjgoodies-looks-java<br/>
export CLASSPATH=/usr/share/java/db.jar:/usr/share/java/forms.jar:/usr/share/java/looks.jar</p>
<div class="preformatted panel" style="border-width: 1px;"><div class="preformattedContent panelContent">
<pre># h6.Mono Support (Optional)
</pre>
</div></div>
<p>apt-get install mono-gmcs monodevelop mono-xbuild</p>
<div class="preformatted panel" style="border-width: 1px;"><div class="preformattedContent panelContent">
<pre># h6.Ruby Support (Optional)
</pre>
</div></div>
<p>apt-get install ruby ruby-dev</p>
<div class="preformatted panel" style="border-width: 1px;"><div class="preformattedContent panelContent">
<pre># h6.PHP Support (Optional)
</pre>
</div></div>
<p>apt-get install php5-dev</p>
<div class="preformatted panel" style="border-width: 1px;"><div class="preformattedContent panelContent">
<pre></pre>
</div></div></div>
<br>
</div></div>
<br>
<div class="panel" style="background-color: #CCCCCC;border-color: #ccc;border-style: solid;border-width: 1px;"><div class="panelHeader" style="border-bottom-width: 1px;border-bottom-style: solid;border-bottom-color: #ccc;background-color: #003366;color: white;"><b>#2 - Ice (Digium's Branch)</b></div><div class="panelContent" style="background-color: #CCCCCC;">
<br>
<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>
<h6><a name="BuildingonLinux-BaseInstallationoptions"></a>Base Installation options</h6>
<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-521754009" 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"> Install minimum requirements (C++, Python) (Recommended)</span></div>
<div class="expand-content"><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>If you receive errors while the build system is in the test directory, it's safe to skip to the next instruction.</td></tr></table></div>
<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></div>
<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-841819942" 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"> Install minimum requirements and *all* optional languages (Alternative).</span></div>
<div class="expand-content"><div class="preformatted panel" style="border-width: 1px;"><div class="preformattedContent panelContent">
<pre>make install
</pre>
</div></div></div>
<h6><a name="BuildingonLinux-Optionallanguages"></a>Optional languages</h6>
<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-1941657668" 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"> Java</span></div>
<div class="expand-content"><div class="preformatted panel" style="border-width: 1px;"><div class="preformattedContent panelContent">
<pre>cd java
make install
cd ..
</pre>
</div></div></div>
<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-315400125" 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"> Mono</span></div>
<div class="expand-content"><div class="preformatted panel" style="border-width: 1px;"><div class="preformattedContent panelContent">
<pre>cd cs
make install
cd ..
</pre>
</div></div></div>
<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-1868640301" 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"> Ruby</span></div>
<div class="expand-content"><div class="preformatted panel" style="border-width: 1px;"><div class="preformattedContent panelContent">
<pre>cd rb
make install
cd ..
</pre>
</div></div></div>
<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-1820106904" 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"> PHP</span></div>
<div class="expand-content"><div class="preformatted panel" style="border-width: 1px;"><div class="preformattedContent panelContent">
<pre>cd php
make install
cd ..
</pre>
</div></div></div>
<br>
</div></div>
<br>
<div class="panel" style="background-color: #CCCCCC;border-color: #ccc;border-style: solid;border-width: 1px;"><div class="panelHeader" style="border-bottom-width: 1px;border-bottom-style: solid;border-bottom-color: #ccc;background-color: #003366;color: white;"><b>#3 - Slice Translator Plugins</b></div><div class="panelContent" style="background-color: #CCCCCC;">
<br>
<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>
<br>
</div></div>
<br>
<div class="panel" style="background-color: #CCCCCC;border-color: #ccc;border-style: solid;border-width: 1px;"><div class="panelHeader" style="border-bottom-width: 1px;border-bottom-style: solid;border-bottom-color: #ccc;background-color: #003366;color: white;"><b>#4 - Asterisk SCF</b></div><div class="panelContent" style="background-color: #CCCCCC;">
<br>
<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
./cmake/init-cmake.sh
cmake --build ./build
cmake --build ./build --target install
</pre>
</div></div>
<br>
</div></div>
</div>
<div id="commentsSection" class="wiki-content pageSection">
<div style="float: right;" class="grey">
<a href="https://wiki.asterisk.org/wiki/users/removespacenotification.action?spaceKey=TOP">Stop watching space</a>
<span style="padding: 0px 5px;">|</span>
<a href="https://wiki.asterisk.org/wiki/users/editmyemailsettings.action">Change email notification preferences</a>
</div>
<a href="https://wiki.asterisk.org/wiki/display/TOP/Building+on+Linux">View Online</a>
|
<a href="https://wiki.asterisk.org/wiki/pages/diffpagesbyversion.action?pageId=19006350&revisedVersion=61&originalVersion=60">View Changes</a>
|
<a href="https://wiki.asterisk.org/wiki/display/TOP/Building+on+Linux?showComments=true&showCommentArea=true#addcomment">Add Comment</a>
</div>
</div>
</div>
</div>
</div>
</body>
</html>