Koozali.org: home of the SME Server

[SOLVED] Problem installing SAIL 2.5

Offline chris burnat

  • *****
  • 1,135
  • +2/-0
    • http://www.burnat.com
[SOLVED] Problem installing SAIL 2.5
« 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:
Code: [Select]
[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:
Code: [Select]
[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:
Code: [Select]
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:
Code: [Select]
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?
- chris
If it does not work out of the box, please fill in a Bug Report @ Bugzilla (http://bugs.contribs.org)  - check: http://wiki.contribs.org/Bugzilla_Help .  Thanks.

Offline SARK devs

  • *****
  • 2,806
  • +1/-0
    • http://sarkpbx.com
Re: Problem installing SAIL 2.5
« Reply #1 on: June 12, 2010, 11:53:16 PM »
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"

:)




Offline chris burnat

  • *****
  • 1,135
  • +2/-0
    • http://www.burnat.com
Re: Problem installing SAIL 2.5
« Reply #2 on: June 13, 2010, 01:27:33 AM »
Hello Jeff,
OK, I cannot do a yum install with nodeps:

Code: [Select]
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....
Code: [Select]
[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
- chris
If it does not work out of the box, please fill in a Bug Report @ Bugzilla (http://bugs.contribs.org)  - check: http://wiki.contribs.org/Bugzilla_Help .  Thanks.

Offline SARK devs

  • *****
  • 2,806
  • +1/-0
    • http://sarkpbx.com
Re: Problem installing SAIL 2.5
« Reply #3 on: June 13, 2010, 01:09:52 PM »
No you can't, but you can use rpm -Uvh --nodeps

Best

Jeff

Offline chris burnat

  • *****
  • 1,135
  • +2/-0
    • http://www.burnat.com
Re: Problem installing SAIL 2.5
« Reply #4 on: June 14, 2010, 01:54:24 AM »
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
- chris
If it does not work out of the box, please fill in a Bug Report @ Bugzilla (http://bugs.contribs.org)  - check: http://wiki.contribs.org/Bugzilla_Help .  Thanks.

Offline SARK devs

  • *****
  • 2,806
  • +1/-0
    • http://sarkpbx.com
Re: Problem installing SAIL 2.5
« Reply #5 on: June 15, 2010, 12:10:00 PM »
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

Offline chris burnat

  • *****
  • 1,135
  • +2/-0
    • http://www.burnat.com
Re: Problem installing SAIL 2.5
« Reply #6 on: June 15, 2010, 01:12:28 PM »
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
- chris
If it does not work out of the box, please fill in a Bug Report @ Bugzilla (http://bugs.contribs.org)  - check: http://wiki.contribs.org/Bugzilla_Help .  Thanks.

Offline SARK devs

  • *****
  • 2,806
  • +1/-0
    • http://sarkpbx.com
Re: Problem installing SAIL 2.5
« Reply #7 on: June 15, 2010, 07:57:41 PM »
Thanks Chris

All good things to you and yours

Jeff