<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 (7)</h4>
<div id="page-diffs">
<table class="diff" cellpadding="0" cellspacing="0">
<tr><td class="diff-unchanged" >I installed it to Amazon EC2 with Ubuntu 10.04 LTS server AMI. Asterisk-1.8 was installed fine, but asterisk-dahdi failed with: <br></td></tr>
<tr><td class="diff-added-lines" style="background-color: #dfd;"> <br></td></tr>
<tr><td class="diff-changed-lines" ><span class="diff-changed-words"><span class="diff-deleted-chars"style="color:#999;background-color:#fdd;text-decoration:line-through;">{{</span>Setting</span> up dahdi-dkms (1:2.2.1+dfsg-1ubuntu2) ... <br></td></tr>
<tr><td class="diff-unchanged" >Loading new dahdi-2.2.1+dfsg-1ubuntu2 DKMS files... <br>First Installation: checking all kernels... <br></td></tr>
<tr><td class="diff-snipped" >...<br></td></tr>
<tr><td class="diff-unchanged" >Building for architecture i686 <br>Module build for the currently running kernel was skipped since the <br></td></tr>
<tr><td class="diff-changed-lines" >kernel source for this kernel does not seem to be <span class="diff-changed-words">installed.<span class="diff-deleted-chars"style="color:#999;background-color:#fdd;text-decoration:line-through;">}}</span></span> <br></td></tr>
<tr><td class="diff-unchanged" > <br>The fix was to get the correct linux-headers for the current kernel first: <br></td></tr>
<tr><td class="diff-added-lines" style="background-color: #dfd;"> <br></td></tr>
<tr><td class="diff-changed-lines" ><span class="diff-changed-words"><span class="diff-deleted-chars"style="color:#999;background-color:#fdd;text-decoration:line-through;">{{</span>sudo</span> apt-get remove asterisk-dahdi <br></td></tr>
<tr><td class="diff-unchanged" >sudo apt-get remove dahdi-dkms <br>sudo apt-get install linux-headers-`uname -r` <br>sudo apt-get install dahdi-dkms <br></td></tr>
<tr><td class="diff-changed-lines" >sudo apt-get install <span class="diff-changed-words">asterisk-dahdi<span class="diff-deleted-chars"style="color:#999;background-color:#fdd;text-decoration:line-through;">}}</span></span> <br></td></tr>
<tr><td class="diff-added-lines" style="background-color: #dfd;"> <br></td></tr>
<tr><td class="diff-unchanged" >It took a while to build the module. <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 module.</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>