[asterisk-users] Step-by-Step Asterisk and MeetMe Help

Tzafrir Cohen tzafrir.cohen at xorcom.com
Tue May 19 17:20:39 CDT 2009


On Tue, May 19, 2009 at 01:12:02PM -0700, Jimmy Ezell wrote:
> 
> >-----Original Message-----
> >From: asterisk-users-bounces at lists.digium.com
> >[mailto:asterisk-users-bounces at lists.digium.com]On Behalf Of Tzafrir
> >Cohen
> >Sent: Tuesday, May 19, 2009 12:21 PM
> >To: asterisk-users at lists.digium.com
> >Subject: Re: [asterisk-users] Step-by-Step Asterisk and MeetMe Help
> >
> >
> >On Tue, May 19, 2009 at 11:11:40AM -0700, Jimmy Ezell wrote:
> >> 
> >> 
> >> >-----Original Message-----
> >> >From: asterisk-users-bounces at lists.digium.com
> >> >[mailto:asterisk-users-bounces at lists.digium.com]On Behalf Of Tzafrir
> >> >Cohen
> >> >Sent: Tuesday, May 19, 2009 11:03 AM
> >> >To: Asterisk Users Mailing List - Non-Commercial Discussion
> >> >Subject: Re: [asterisk-users] Step-by-Step Asterisk and MeetMe Help
> >> >
> >> >
> >> >On Mon, May 18, 2009 at 05:26:21PM -0700, Jimmy Ezell wrote:
> >> >
> >> >> make[2]: Entering directory 
> >> >`/usr/src/kernels/2.6.9-78.0.13.EL-smp-i686'
> >> >
> >> >You seem to be using RHEL4.7 or Centos 4.7 . 
> >> >
> >> >Is this a new installation?
> >> >
> >> >-- 
> >> >               Tzafrir Cohen
> >> 
> >> Centos 4.7 and yes I installed this new for this Asterisk project.
> >> 
> >> Jimmy
> >> http://qvlweb.blogspot.com/2009/04/asterisk-pbx-install-index.html
> >
> >This is the latest version of Centos4. However, why would you use
> >Centos4 on a new installation?
> >
> >If you want Centos, go with Centos 5 (now at 5.3).
> >
> >You install bison, which is no longer required to build Asterisk.
> >
> >You install Zaptel, but DAHDI is now the "latest version of Zaptel".
> >Zaptel is now frozen and has not been updated for quite some time.
> >
> >You set the /usr/src/linux-2.4 symlink , which is a pointless old piece
> >of woodoo. Can you point me to the place in the documentation that
> >pointed you to it?
> >
> >(Not to mention that the whole messing with kernels is so bad 
> >in Centos.
> >It is not better in SUSE, where you have to install the full kernel
> >source to build Zaptel / DAHDI)
> >
> >
> >Next: no need to run 'make clean' before running ./configure. It is
> >mearly pointless.
> >
> >'make menuselelct' is something you normally don't need to run, unless
> >you know you want to remove things. In other words: don't let it
> >needlessly complicate your installation instructions.
> >
> >-- 
> >               Tzafrir Cohen
> 
> 
> 
> 
> 
> I am using the Asterisk book, as it is the closest thing I have found to a detailed step-by-step howto for Asterisk. http://cdn.oreilly.com/books/9780596510480.pdf.  This is the version (CentOS 4.7) of the software they use in the book. (see page 41)

Obleisk footnote on page 37 On page 37:

  We will be using CentOS Server 4.4 in this book, which we usually 
  install with nothing except the Editorspackage selected. If you are 
  not sure what distribution to choose,CentOS is an excellent choice. 
  CentOS can be obtained from http://www.centos.org.



> 
> >You set the /usr/src/linux-2.4 symlink , which is a pointless old piece
> >of woodoo. Can you point me to the place in the documentation that
> >pointed you to it?
> 
> Page 45 of the book says you can use this link to point to a kernel 
> that is in a non-standard place.  While I was sure I did not do anything 
> non-standard (after all I was just following the book), 

Quoting that comment:

| Before compiling the Zaptel drivers on a system running a Linux 2.4
| kernel, you should verify that /usr/src/ contains a symbolic link named
| linux-2.4 pointing to your kernel source.

No. Your kernel is 2.6. . You should not have needed that symlink.

> I was having problems with the make commands not being able to find 
> the kernel files, so I used this command to point to where I thought 
> it should go for kernel files.

Sadly the centos packages do not automatically provide a "build" symlink
from /lib/modules/<KVERS> as the Debian kernels do and as self-built
kernels do. One method is to add this symlink yourself.

-- 
               Tzafrir Cohen
icq#16849755              jabber:tzafrir.cohen at xorcom.com
+972-50-7952406           mailto:tzafrir.cohen at xorcom.com
http://www.xorcom.com  iax:guest at local.xorcom.com/tzafrir



More information about the asterisk-users mailing list