Solved

Error compiling Zaptel for Asterisk PBX

Posted on 2008-10-22
6
1,066 Views
Last Modified: 2013-12-21
Hello Experts -

I am in desparate need of some help.  I am trying to setup an Asterisk 1.6 box on CentOS 5.2 text mode.  I got it to work with the GUI; however, from what I've read online, text mode is definitely the way to go.  Anyhow, when trying to install the packages needed to run Asterisk, I get a No Package Available for the kernel-smp-devel package.  I didn't know how big of a problem this was goingt to cause until I tried to install the Zaptel package.  Here is what I do...

make clean [works great]
./configure [works great]
make menuselect [works great]
make [returns error]

You do not appear to have the sources for the 2.6.18-92.e15 kernel installed...
exit 1
make[1]: *** [modules] Error 1
make[1]: Leaving directory '/usr/src/zaptel-1.4.12.1'
make: *** [all] Error 2

The kernel-devel package installs fine.  What can I do?  I need immediate help!

Thanks in advance.
0
Comment
Question by:chezbrgrs
  • 3
  • 3
6 Comments
 
LVL 36

Expert Comment

by:grblades
ID: 22784166
Try installing the kernel source code. You can get the RPM from :-
http://mirror.centos.org/centos/5.2/os/SRPMS/kernel-2.6.18-92.el5.src.rpm
0
 

Author Comment

by:chezbrgrs
ID: 22785045
Isn't that what 'yum install -y kernel-devel' does?  If I use 'uname -r', it outputs that I have 2.16.18-92.e15.
0
 
LVL 36

Expert Comment

by:grblades
ID: 22785648
Possibly. Whats in each package varies by distribution.

Can you run "rpm -qa | grep kernel" so I can see what you have installed. Normally I would expect you to need :-

kernel (oviously)
kernel-devel
kernel-headers
0
DevOps Toolchain Recommendations

Read this Gartner Research Note and discover how your IT organization can automate and optimize DevOps processes using a toolchain architecture.

 

Author Comment

by:chezbrgrs
ID: 22785745
Here is the output:

kernel-headers-2.6.18-92.e15
kernel-2.6.18-92.e15
kernel-devel-2.6.18-92.e15

If I do a 'uname -a', I get:

Linux localhost.localdomain 2.6.18-92.e15 #1 SMP ...

Isn't that what the kernel-SMP-devel package is for (SMP)?

Thanks!
0
 
LVL 36

Accepted Solution

by:
grblades earned 500 total points
ID: 22785885
SMP is the multiprocessor kernel. For a single processor machine it was the case that a single processor optimised kernel was a few percent faster than a multiprocessor based one but nowerdays with multiprocessor being the standard for new machines (core2 due etc...) I suspect that all the kernels are multi processor enabled.

What you have looks fine.

I have found http://www.asteriskguru.com/tutorials/asterisk_installation_compilation_centos.html
Have a look through that and in particular the following paragraph which I think is your problem:-

"CentOS doesn't install the kernel sources into the /usr/src/linux directory as is written in Zaptel's and Asterisk's Makefile. Go to `/usr/src` and create a link named 'linux' to your kernel sources directory (the default place for your kernel's sources is /usr/src/kernels/...). The result should look like this:"
0
 

Author Closing Comment

by:chezbrgrs
ID: 31509071
It worked!!!  I just had to create that symbolic link which I didn't have to do in the GUI installation.

Thank you so much!!!
0

Featured Post

DevOps Toolchain Recommendations

Read this Gartner Research Note and discover how your IT organization can automate and optimize DevOps processes using a toolchain architecture.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Title # Comments Views Activity
Implementing Cisco Jabber 1 91
Shoretel Edge Gateway 5 81
change extension to new user 5 49
POE switch 8 31
The Zaptel people (www.zaptel.com) got kind of annoyed with the fact that they were getting bombarded with searches for the zaptel driver system for Asterisk (not to mention they own the trademark on zaptel). So, they kindly requested that Digium ch…
So you think no one can listen in on your VOIP conversations, eh? Well... if you haven't setup Secure Real Time Transport (SRTP), your voice communications can be hacked into by just about anyone! First, let's talk about the intended audience for…

791 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question