[asterisk-users] Installing on an OpenVZ instance

Johan Wilfer lists at jttech.se
Mon May 6 15:14:59 CDT 2013


2013-05-06 20:48, James Wystead skrev:
> Hello All;
> 
> I'm attempting to build the dahdi on an OpenVZ instance:
> 
> Linux serverx 2.6.18-274.7.1.el5.028stab095.1 #1 SMP Mon Oct 24 20:49:24
> MSD 2011 x86_64 x86_64 x86_64 GNU/Linux
> 
> Now, the kernel says that I have the proper one installed, as you can
> see from above.
> 
> However, when I run the make all, this is what I see:
> 
> 
> You do not appear to have the sources for the
> 2.6.18-274.7.1.el5.028stab095.1 kernel installed
> 
> So, my question is this - what is the best way to fix this? Feel free to
> ask anything you want as I really want to get this working.
> 

You probably need the header-files for the kernel.
in debian it is: apt-get install linux-headers-`uname -a`
in centos in general: yum install kernel-devel

I don't have very much experience with Centos but I thinks this page
have some suggestions worth trying out (ovzkernel-devel package):

http://stackoverflow.com/questions/11592010/compile-dahdi-on-openvz-vps-kernel-issue

Good luck!

-- 

Johan Wilfer



More information about the asterisk-users mailing list