<html>
<head>
<base href="https://wiki.asterisk.org/wiki">
<link rel="stylesheet" href="/wiki/s/2042/1/7/_/styles/combined.css?spaceKey=AST&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/AST/Asterisk+Packages?focusedCommentId=13076119#comment-13076119">Asterisk Packages</a></h2>
<h4>Comment edited by <a href="https://wiki.asterisk.org/wiki/display/~wilson">Wilson Chu</a>
:</h4>
<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" >sudo apt-get install asterisk-dahdi <br> <br></td></tr>
<tr><td class="diff-changed-lines" >It took a while to build the <span class="diff-changed-words">module<span class="diff-added-chars"style="background-color: #dfd;">s</span>.</span> <br></td></tr>
</table>
</div> <h4>Full Content</h4>
<div class="notificationGreySide">
<p>I installed it to Amazon EC2 with Ubuntu 10.04 LTS server AMI. Asterisk-1.8 was installed fine, but asterisk-dahdi failed with:</p>
<p>Setting up dahdi-dkms (1:2.2.1+dfsg-1ubuntu2) ...<br/>
Loading new dahdi-2.2.1+dfsg-1ubuntu2 DKMS files...<br/>
First Installation: checking all kernels...<br/>
Building only for 2.6.32-312-ec2<br/>
Building for architecture i686<br/>
Module build for the currently running kernel was skipped since the<br/>
kernel source for this kernel does not seem to be installed.</p>
<p>The fix was to get the correct linux-headers for the current kernel first:</p>
<p>sudo apt-get remove asterisk-dahdi<br/>
sudo apt-get remove dahdi-dkms<br/>
sudo apt-get install linux-headers-`uname -r`<br/>
sudo apt-get install dahdi-dkms<br/>
sudo apt-get install asterisk-dahdi</p>
<p>It took a while to build the modules.</p>
</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/AST/Asterisk+Packages?focusedCommentId=13076119#comment-13076119">View Online</a>
|
<a id="reply-13076119" href="https://wiki.asterisk.org/wiki/display/AST/Asterisk+Packages?replyToComment=13076119#comment-13076119">Reply To This</a>
</div>
</div>
</div>
</div>
</div>
</body>
</html>