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

troxlinux xserverlinux at gmail.com
Tue Jun 4 14:33:56 CDT 2013


thnk Russ , I have seen the Makefile, but I see many KSRC, where exactly would
put

KVERS:=$(shell uname -r)
endif
ifndef KSRC
  ifneq (,$(wildcard /lib/modules/$(KVERS)/build))
    KSRC:=/lib/modules/$(KVERS)/build
  else
    KSRC_SEARCH_PATH:=/usr/src/linux
    KSRC:=$(shell for dir in $(KSRC_SEARCH_PATH); do if [ -d $$dir ]; then
echo $$dir; break; fi; done)
  endif
endif



2013/6/4 Russ Meyerriecks <rmeyerriecks at digium.com>

> 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
>
> --
> _____________________________________________________________________
> -- Bandwidth and Colocation Provided by http://www.api-digital.com --
> New to Asterisk? Join us for a live introductory webinar every Thurs:
>                http://www.asterisk.org/hello
>
> asterisk-users mailing list
> To UNSUBSCRIBE or update options visit:
>    http://lists.digium.com/mailman/listinfo/asterisk-users
>



-- 
rickygm

http://gnuforever.homelinux.com
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.digium.com/pipermail/asterisk-users/attachments/20130604/f60dc1dd/attachment.htm>


More information about the asterisk-users mailing list