I’m running Cent 6.8 and Asterisk 11.21. I would like to upgrade to at least 11.25 but I noticed that Asterisk no longer has an official cent repo. That’s fine but I also noticed that they no longer have SRPMs (for certain versions) or the necessary build tools to build them from SPEC. Are others basically just building from source? What I would really like to do is be able to grab the SRPM build the SPEC file to create my RPM. I just wanted to see what others may be doing who are using Centos?
Edit-
So I decided to try going to 13.3-1 simply because this SRPM exists in Asterik’s repo. So far I was able to get all the pre-reqs installed. However I’m running across the following.
The kernel source is required in order to install DAHDI. Note It is important that the kernel version being used match exactly that of the kernel source being installed. You can use uname -a to verify the currently running kernel version:
CentOS: sudo yum install kernel-devel-uname -r
If you are having a hard time installing the correct kernel source a work around could be install an older version of DAHDI who match your system kernel source
=========================================================================================================================================================================
Package Arch Version Repository Size
Installing:
kernel-devel x86_64 2.6.32-642.1.1.el6 updates 11 M
Transaction Summary
Install 1 Package(s)
Total download size: 11 M
Installed size: 26 M
Is this ok [y/N]: y
Downloading Packages:
kernel-devel-2.6.32-642.1.1.el6.x86_64.rpm | 11 MB 00:05
Running rpm_check_debug
Running Transaction Test
Transaction Test Succeeded
Running Transaction
Installing : kernel-devel-2.6.32-642.1.1.el6.x86_64 1/1
Verifying : kernel-devel-2.6.32-642.1.1.el6.x86_64 1/1
updates: mirror.us.oneandone.net
Resolving Dependencies
–> Running transaction check
—> Package dahdi-linux-devel.x86_64 0:2.9.0-1_centos6 will be installed
–> Processing Dependency: dahdi-linux = 2.9.0-1_centos6 for package: dahdi-linux-devel-2.9.0-1_centos6.x86_64
–> Running transaction check
—> Package dahdi-linux.x86_64 0:2.9.0-1_centos6 will be installed
–> Processing Dependency: kmod-dahdi-linux for package: dahdi-linux-2.9.0-1_centos6.x86_64
–> Processing Dependency: dahdi-firmware for package: dahdi-linux-2.9.0-1_centos6.x86_64
–> Running transaction check
—> Package dahdi-linux.x86_64 0:2.9.0-1_centos6 will be installed
–> Processing Dependency: dahdi-firmware for package: dahdi-linux-2.9.0-1_centos6.x86_64
—> Package kmod-dahdi-linux.x86_64 0:2.9.0-1_centos6.2.6.32_279.14.1.el6.x86_64 will be installed
–> Finished Dependency Resolution
Error: Package: dahdi-linux-2.9.0-1_centos6.x86_64 (asterisk-current)
Requires: dahdi-firmware
You could try using --skip-broken to work around the problem
You could try running: rpm -Va --nofiles --nodigest
Am I missing something. Still can’t install dahdi-firmware.
I’m not sure how the package repositories are set up for your OS, but if this were Debian, the firmware would be considered nonfree and would have to be in a different part of the repository from the, GPLed, dahdi executables. On a standard Debian install, nonfree packages are disabled.
If you are not actually using real hardware, you will not really need the firmware, although I can’t guarantee that you won’t get a fatal load time error without it.
The other thing about the firmware is that, if packaged properly, it should be in a noarch package. Again, I don’t know how the packaging has actually been done.