chezbrgrs
asked on
Error compiling Zaptel for Asterisk PBX
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.
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.
ASKER
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.
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
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
ASKER
Here is the output:
kernel-headers-2.6.18-92.e 15
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!
kernel-headers-2.6.18-92.e
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!
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER
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!!!
Thank you so much!!!
http://mirror.centos.org/centos/5.2/os/SRPMS/kernel-2.6.18-92.el5.src.rpm