Hello<br><br>What will be your exact kernel version. Give me output "uname -a" command.<br><br>-- <br>Regards,<br><br>Chandrakant Solanki<br><br><div class="gmail_quote">On Thu, Jul 15, 2010 at 6:58 AM, Thermal Wetland <span dir="ltr"><<a href="mailto:thermalwetland@gmail.com">thermalwetland@gmail.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin: 0pt 0pt 0pt 0.8ex; border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;"><div><div></div><div class="h5">On Wed, Jul 14, 2010 at 4:55 AM, bruce bruce <<a href="mailto:bruceb444@gmail.com">bruceb444@gmail.com</a>> wrote:<br>
><br>
> I am stuck with the same problem but I have used asterisk yum repository and it worked by itself without me worrying for kernel stuff.<br>
> However, I need to install speex codec and now I am stuck as it doesn't get picked up by the yum asterisk install somehow. I have lib speex and speex already installed and when doing "yum install asterisk16" I don't see speex in "core show translation" Is there anything specific I have to do?<br>
> Do I have to build from source as well?<br>
> -Sorry, didn't mean to hijack the thread.<br>
> Thanks,<br>
> Bruce<br>
> On Wed, Jul 14, 2010 at 5:08 AM, Chandrakant Solanki <<a href="mailto:solanki.chandrakant@gmail.com">solanki.chandrakant@gmail.com</a>> wrote:<br>
>><br>
>> Hi<br>
>><br>
>> If you install rpm from any location it goes to its default location.<br>
>><br>
>> You just go for above steps. For kernel you can go for <a href="http://kernel.org" target="_blank">http://kernel.org</a><br>
>><br>
>> --<br>
>> Regards,<br>
>><br>
>> Chandrakant Solanki<br>
>><br>
>> On Wed, Jul 14, 2010 at 2:06 PM, liuxin <<a href="mailto:nyliuxin518@gmail.com">nyliuxin518@gmail.com</a>> wrote:<br>
>>><br>
>>> Hi.<br>
>>> The best easy way is:<br>
>>> copy kernel-devel-2.6.18-028stab064.7.rpm to /usr/src<br>
>>> then run rpm -ivh kernel-devel-2.6.18-028stab064.7.rpm<br>
>>><br>
>>> 2010/7/14 Gareth Blades <<a href="mailto:list-asterisk@skycomuk.com">list-asterisk@skycomuk.com</a>><br>
>>>><br>
>>>> Thermal Wetland wrote:<br>
>>>> > I have a virtual server with godaddy but can not compile DAHDI as it<br>
>>>> > complains that I do not have the correct kernel source.<br>
>>>> ><br>
>>>> > The package installed is - kernel-devel-2.6.18-164.11.1.el5.i686:<br>
>>>> > Package kernel-devel-2.6.18-164.11.1.el5.i686 already installed and<br>
>>>> > latest version<br>
>>>> > Nothing to do<br>
>>>> ><br>
>>>> > uname -a returns:<br>
>>>> > Linux <a href="http://ip-XXX-XXX-XXX-XXX.ip.secureserver.net" target="_blank">ip-XXX-XXX-XXX-XXX.ip.secureserver.net</a><br>
>>>> > <<a href="http://ip-XXX-XXX-XXX-XXX.ip.secureserver.net" target="_blank">http://ip-XXX-XXX-XXX-XXX.ip.secureserver.net</a>> 2.6.18-028stab064.7 #1<br>
>>>> > SMP Wed Aug 26 13:11:07 MSD 2009 i686 i686 i386 GNU/Linux<br>
>>>> ><br>
>>>> > When I try to compile DAHDI it fails with:<br>
>>>> > make[2]: Leaving directory<br>
>>>> > `/usr/src/asterisk/dahdi-linux-complete-2.3.0.1+2.3.0/linux/drivers/dahdi/firmware'<br>
>>>> > You do not appear to have the sources for the 2.6.18-028stab064.7 kernel<br>
>>>> > installed.<br>
>>>> ><br>
>>>> > Is there a way to trick DAHDI to use the installed kernel?<br>
>>>> ><br>
>>>> > Thanks for the help!<br>
>>>> ><br>
>>>> > --<br>
>>>> > -Thermal<br>
>>>> ><br>
>>>><br>
>>>> What kernel versions do you have installed?<br>
>>>><br>
>>>> If you are currently running an older kernel but installed a newer<br>
>>>> kernel and sources but havent rebooted to activate the new one yet then<br>
>>>> it may still be trying to locate the source for the older running kernel.<br>
>>>><br>
>>>><br>
>>>><br>
<br>
<br>
</div></div>I was able to download the rpm's and install them:<br>
<br>
[root@ip-97-74-119-59 src]# rpm -ivh<br>
ovzkernel-2.6.18-128.2.1.el5.028stab064.7.i686.rpm<br>
warning: ovzkernel-2.6.18-128.2.1.el5.028stab064.7.i686.rpm: Header V3<br>
DSA signature: NOKEY, key ID a7a1d4b6<br>
Preparing... ########################################### [100%]<br>
package ovzkernel-2.6.18-128.2.1.el5.028stab064.7.i686 is<br>
already installed<br>
<br>
[root@ip-97-74-119-59 src]# rpm -ivh<br>
ovzkernel-devel-2.6.18-128.2.1.el5.028stab064.7.i686.rpm<br>
warning: ovzkernel-devel-2.6.18-128.2.1.el5.028stab064.7.i686.rpm:<br>
Header V3 DSA signature: NOKEY, key ID a7a1d4b6<br>
Preparing... ########################################### [100%]<br>
package ovzkernel-devel-2.6.18-128.2.1.el5.028stab064.7.i686<br>
is already installed<br>
<br>
[root@ip-97-74-119-59 src]# cd -<br>
<div class="im">/usr/src/asterisk/dahdi-linux-complete-2.3.0.1+2.3.0<br>
</div>[root@ip-97-74-119-59 dahdi-linux-complete-2.3.0.1+2.3.0]# make all<br>
make -C linux all<br>
make[1]: Entering directory<br>
`/usr/src/asterisk/dahdi-linux-complete-2.3.0.1+2.3.0/linux'<br>
make -C drivers/dahdi/firmware firmware-loaders<br>
make[2]: Entering directory<br>
<div class="im">`/usr/src/asterisk/dahdi-linux-complete-2.3.0.1+2.3.0/linux/drivers/dahdi/firmware'<br>
make[2]: Leaving directory<br>
`/usr/src/asterisk/dahdi-linux-complete-2.3.0.1+2.3.0/linux/drivers/dahdi/firmware'<br>
You do not appear to have the sources for the 2.6.18-028stab064.7<br>
kernel installed.<br>
</div>make[1]: *** [modules] Error 1<br>
make[1]: Leaving directory<br>
`/usr/src/asterisk/dahdi-linux-complete-2.3.0.1+2.3.0/linux'<br>
make: *** [all] Error 2<br>
<br>
The directories in /usr/src/kernels is:<br>
[root@ip-97-74-119-59 kernels]# ls -l<br>
total 51328<br>
drwxr-xr-x 20 root root 4096 Jul 14 18:04<br>
2.6.18-128.2.1.el5.028stab064.7-i686<br>
drwxr-xr-x 19 root root 4096 Jul 13 20:25 2.6.18-164.11.1.el5-i686<br>
drwxrwxr-x 19 root root 4096 Feb 23 2007 linux-2.6.18.8<br>
<br>
I tried to install the kernel from source but couldn't find the exact<br>
kernel, I installed linux-2.6.18.8 as I was the closest.<br>
<br>
Both of the directories in /usr/src/kernels/ have the -i686 suffix, is<br>
that the issue?<br>
<br>
--<br>
-Thermal<br>
<font color="#888888"><br>
--<br>
</font><div><div></div><div class="h5">_____________________________________________________________________<br>
-- Bandwidth and Colocation Provided by <a href="http://www.api-digital.com" target="_blank">http://www.api-digital.com</a> --<br>
New to Asterisk? Join us for a live introductory webinar every Thurs:<br>
<a href="http://www.asterisk.org/hello" target="_blank">http://www.asterisk.org/hello</a><br>
<br>
asterisk-users mailing list<br>
To UNSUBSCRIBE or update options visit:<br>
<a href="http://lists.digium.com/mailman/listinfo/asterisk-users" target="_blank">http://lists.digium.com/mailman/listinfo/asterisk-users</a><br>
</div></div></blockquote></div><br><br clear="all"><br>