[asterisk-users] problem to install asterisk on vps digitalocean

Russ Meyerriecks rmeyerriecks at digium.com
Tue Jun 4 14:23:11 CDT 2013


On Tue, Jun 04, 2013 at 12:50:41PM -0600, troxlinux wrote:
>  ls -lat /lib/modules/`uname -r`/build
> lrwxrwxrwx 1 root root 50 May 23 13:06
> /lib/modules/2.6.32-358.6.2.el6.x86_64/build ->
> ../../../usr/src/kernels/2.6.32-358.6.2.el6.x86_64
This looks good.

> ls -lat /lib/modules/`uname -r`/build/
> total 8
> drwxr-xr-x 3 root root 4096 May 24 22:02 ..
> drwxr-xr-x 2 root root 4096 May 23 19:50 .
> lrwxrwxrwx 1 root root   48 May 23 19:50
> linux-headers-2.6.32-358.6.2.el6.x86_64 ->
> /usr/src/linux-headers-2.6.32-358.6.2.el6.x86_64
> lrwxrwxrwx 1 root root   34 May 23 19:34 2.6.32-358.6.2.el6.x86_64 ->
> kernels/2.6.32-358.6.2.el6.x86_64/
Oops. It looks like your build directory didn't get setup
correctly. I'd take a look at your -devel and -headers rpms to
see what's up.

As a workaround, you may be able to specify your headers directly
with:
KSRC=/usr/src/linux-headers-2.6.32-358.6.2.el6.x86_64 make

Also, thanks for using -rc! It really helps us out.
-- 
Russ Meyerriecks
Digium, Inc. | Linux Kernel Developer
445 Jan Davis Drive NW - Huntsville, AL 35806 - USA
direct: +1 256-428-6025
Check us out at: www.digium.com & www.asterisk.org



More information about the asterisk-users mailing list