We are having problems installing zaptel so our meetme conference rooms will work with Asterisk.
We have no troubles installing to CentOS 4, so it may be an issue with CentOS 5 keeping the kernel source in a different location.
We have tried a number of things:
yum install -y kernel kernel-devel
yum install -y newt-devel libusb-devel kernel-devel-2.6.18-53.el5
Normal install did not work also:
wget ftp.digium.com/pub/zaptel/releas … .11.tar.gz
tar -zxvf zaptel-1.4.11.tar.gz
cd zaptel-1.4.11
./configure
make
make install
modprobe zaptel
modprobe ztdummy
The error we get is as follows:
echo "You do not appear to have the sources for the 2.6.18-53.el5 kernel installed."
You do not appear to have the sources for the 2.6.18-53.el5 kernel installed.
I would like to have someone show me how to install zaptel on our server.
Can anyone please advise how quick they can do this and how much it will cost me.
If anyone has documentation on how to do this then can I buy it from them, as this is all I really need.
My servers are located with GoDaddy www.godaddy.com if this information helps.
If there is any information that would help please let me know what you would like.
You may also contact me on +61402992177 or +61884433155 (0402992177 or 0884433155).
folder with your current kernel (uname -r) must contain symlink ~build to your kernel source, because in Makefile:
# If you want to build for a kernel other than the current kernel, set KVERS
ifndef KVERS
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-2.4 /usr/src/linux
KSRC:=$(shell for dir in $(KSRC_SEARCH_PATH); do if [ -d $$dir ]; then echo $$dir; break; fi; done)
endif
endif
You shouldn’t need to manually change any symlinks… I actually just did a CentOS 5 install a few days ago…
Can you show us the output of:
$ rpm -qa |grep kernel
$ uname -r
You might also need the ‘kernel-headers’ package.
If you recently upgraded your kernel (which could have happened automatically without you realizing), you’ll need to reboot the system so everything is in the right place (at least, that’s the easiest way to make the compile work).
Ouch, good luck. On the new install you really shouldn’t have to play with symlinks or move important files… the rpm’s are enough.
Note, the very latest kernel stuff in updates (2.6.18-92.1.1.el5) does require you to comment out the bool typedef in xdefs.h like you did before (whereas the kernel you were running before, 2.6.18-53.1.21.el5, didn’t require this).
You can use any kernel version you like… as long as you have ‘kernel’, ‘kernel-devel’ and ‘kernel-headers’ (check with ‘rpm -qa | grep kernel’) installed for the same version as your running kernel (check with ‘uname -r’). If that’s the case you really shouldn’t have a problem to compile, install, and run zap, asterisk, etc.
Ok the end result was that GoDaddy must change something with Centos install, they must disable or do something to yum that stops all the suggestions that have been made from working.
The work around that has been found is as follows:
GoDaddy servers require the following before the below will work.
make install
modprobe zaptel
modprobe ztdummy
make config
Replace your own kernel version with the ones from what I had above and your a go.
Just look in the folders on your servers and its easy to work out what to change it to.