Koozali.org: home of the SME Server
Obsolete Releases => SME VoIP (Asterisk, SAIL etc) => Topic started by: chris burnat on June 12, 2010, 11:19:50 AM
-
Hello Sark (J &S)
My understanding is that 2.5 is for use with asterisk 1.4.29 or higher.
OK, so I install Asterisk 1.4.32 from sources:
[root@sail25 files]# asterisk -rvvv
Asterisk 1.4.32, Copyright (C) 1999 - 2010 Digium, Inc. and others.
Then download rpms from Sark repos and install perl-File-Readbackwards:
[root@sail25 files]# wget http://sarkpbx.com/sail/sail-2.5.1/sail-2.5.1-10.noarch.rpm
wget http://sarkpbx.com/sail/sail-2.4.1/perl-File-ReadBackwards-1.04-1.2.el4.rf.noarch.rpm
[root@sail25 files]# rpm -Uvh perl-File-ReadBackwards-1.04-1.2.el4.rf.noarch.rpm
Then attempt install of sail:
yum localinstall sail-2.5.1-10.noarch.rpm --enablerepo=base
Error: Missing Dependency: asterisk14 >= 1.4.29 is needed by package sail
#Lets try older version:
wget http://sarkpbx.com/sail/sail-2.4.1/sail-2.4.1-23.noarch.rpm
yum localinstall sail-2.4.1-23.noarch.rpm --enablerepo=base
Dependencies Resolved
=============================================================================
Package Arch Version Repository Size
=============================================================================
Installing:
sail noarch 2.4.1-23 sail-2.4.1-23.noarch.rpm 5.0 M
Installing for dependencies:
libogg i386 2:1.1.2-1 base 16 k
libvorbis i386 1:1.1.0-3.el4_8.3 updates 187 k
nmap i386 2:3.70-1 base 486 k
perl-Bit-Vector i386 6.3-3 base 130 k
perl-Date-Calc i386 5.3-9 base 209 k
sox i386 12.17.5-3 base 253 k
tftp-server i386 0.39-3.el4 base 26 k
xinetd i386 2:2.3.13-4.5.el4 base 128 k
No deps issue. It will install OK.
Did I miss something?
-
HI Chris
Hope you are well.
2.5 won't work with older Asterisk versions so there is a dependency in our rpm for asterisk14 >= 1.4.29. However, you've compiled from source so you would need to install sail with --nodeps. Not great but I'm not sure what the alternative would be. Also, your esarlier sail version will install (because it has no asterisk dependencies in the rpm) but it won't run properly because Digium changed the directory structure in 1.4.29, which is why we put the dependency into 2.5.
Kind Regards
Jeff
p.s. Sam says "hello down under"
:)
-
Hello Jeff,
OK, I cannot do a yum install with nodeps:
yum localinstall --nodeps sail-2.5.1-10.noarch.rpm --enablerepo=base
Command line error: no such option: --nodeps
I can do an rpm install, but then do not pick up all of the other packages from the repos....
[root@sail25 files]# rpm -Uvh sail-2.5.1-10.noarch.rpm --nodeps
Preparing... ########################################### [100%]
1:sail ########################################### [100%]
What do you reckon, stick with previous packages, i.e. asterisk asterisk-1.4.28 and sail-2.4.1-23 to get my 3 or 4 systems back on the road? I got that working OK from source.
I am well, thanks.
Hello to Sam!
Kind regards.
chris
-
No you can't, but you can use rpm -Uvh --nodeps
Best
Jeff
-
Thanks Jeff,
No you can't, but you can use rpm -Uvh --nodeps
Sure, however if you do this, you need to install all other deps separately, I am not even sure which one are applicable to 2.5....
For 2.4. they were:
=============================================================================
Package Arch Version Repository Size
=============================================================================
Installing:
sail noarch 2.4.1-23 sail-2.4.1-23.noarch.rpm 5.0 M
Installing for dependencies:
libogg i386 2:1.1.2-1 base 16 k
libvorbis i386 1:1.1.0-3.el4_8.3 updates 187 k
nmap i386 2:3.70-1 base 486 k
perl-Bit-Vector i386 6.3-3 base 130 k
perl-Date-Calc i386 5.3-9 base 209 k
sox i386 12.17.5-3 base 253 k
tftp-server i386 0.39-3.el4 base 26 k
xinetd i386 2:2.3.13-4.5.el4 base 128 k
There has to be an easier way....
Best regards
chris
-
Hi Chris
You're right, once you compile code, it doesn't sit well with yum/rpm stuff.
Also, because Digium changed all of the directory structures (for no good reason that I can see) in mid 1.4 we've had to make changes which are one-way.
I can't really remove the dependency because if I do, it will only be a very short time before someone installs 2.5 on a lower release of Asterisk and finds that it doesn't work.
If its any consolation you can YUM install all of the dependencies youe've identified in one go so it shouldn't be too onerous.
Sorry mate
Best
Jeff
-
Nothing to be sorry about, its the way it pans out - good exercise for me, I am a wee bit rusty... I have reverted to using rpms to install the latest asterisk, works like a charm for latest 7.5RC2 CD + latest yum update, no issues with kernel for a change. Here is the list of deps for 2.5, note that a couple are not required compared to the deps required for 2.4:
Installing:
perl-File-ReadBackwards.noarch 0:1.04-1.2.el4.rf
sail noarch 2.5.1-10 sail-2.5.1-10.noarch.rpm 5.0 M
Installing for dependencies:
nmap i386 2:3.70-1 base 486 k
perl-Bit-Vector i386 6.3-3 base 130 k
perl-Date-Calc i386 5.3-9 base 209 k
sox i386 12.17.5-3 base 253 k
tftp-server i386 0.39-3.el4 base 26 k
xinetd i386 2:2.3.13-4.5.el4 base 128 k
Thanks mate.
Warm regards
chris
-
Thanks Chris
All good things to you and yours
Jeff