Hi, I am trying to install Asterisk 1.8.x on vps, but I recognize the header
my kernel on centos 6.4 : kernel-2.6.32-358.6.2.el6.x86_64 kernel-devel-2.6.32-358.6.2.el6.x86_64
error:
[root@shark dahdi-linux-2.6.2]# make
make -C drivers/dahdi/firmware firmware-loaders
make[1]: Entering directory /usr/src/dahdi-linux-2.6.2/drivers/dahdi/firmware' make[1]: Leaving directory /usr/src/dahdi-linux-2.6.2/drivers/dahdi/firmware’
You do not appear to have the sources for the 2.6.32-358.6.2.el6.x86_64 kernel installed.
make: *** [modules] Error 1
I have the same kernel in the droplet kernel-2.6.32-358.6.2.el6.x86_64
This textbox defaults to using Markdown to format your answer.
You can type !ref in this text area to quickly search our full set of tutorials, documentation & marketplace offerings and insert the link!
These answers are provided by our Community. If you find them useful, show some love by clicking the heart. If you run into issues leave a comment, or add your own answer to help others.
After much pain with this, I finally worked out a solution and now have a working PBX on DO. <br> <br>Simply take the kernel version from the error (You do not appear to have the sources for the 2.6.32-358.6.2.el6.x86_64 kernel installed.) and find an rpm for kernel-devel that matches this version (e.g. google kernel-devel 2.6.32-358.6.2.el6.x86_64). You’ll probably see one on rpm.pbone.net or something. <br> <br>Once you have the url for it, just run an rpm -ivh http://rpm.pbone.net/index.php3/stat/3/srodzaj/2/search/kernel-2.6.32-358.6.2.el6.src.rpm (where the url matches the kernel sources you require). <br> <br>Then run make again, and you should be golden! <br> <br>Ben
This comment has been deleted
Hi,
I had a solution setting a direct access to the new kernel-headers instaled in my VPS.
My kernel instaled after using yum update was 2.6.32-431.23.3.el6.x86_64 (but I’m using the 2.6.32-358.6.2.el6.x86_64, not match)
Goto the folder /lib/modules/2.6.32-358.6.2.el6.x86_64 (my actual kernel-modules used) #cd /lib/modules/2.6.32-358.6.2.el6.x86_64
Remove the direct access “build” using de command: #rm -f build
Set the new direct access using the command (in my case): #ln -s /usr/src/kernels/2.6.32-431.23.3.el6.x86_64
That all folks! You can compile and install DAHDI correctly.
Hope this helps.
Get paid to write technical tutorials and select a tech-focused charity to receive a matching donation.
Full documentation for every DigitalOcean product.
The Wave has everything you need to know about building a business, from raising funding to marketing your product.
Scale up as you grow — whether you're running one virtual machine or ten thousand.

From GPU-powered inference and Kubernetes to managed databases and storage, get everything you need to build, scale, and deploy intelligent applications.
