Koozali.org: home of the SME Server

perl upgrade possible? SME7.4

Offline yank

  • 8
  • +0/-0
perl upgrade possible? SME7.4
« on: October 09, 2009, 04:47:29 PM »
Perhaps a newbie question in the wrong forum, but I'll take the risc;;
Is it possible to upgrade perl from v.5.8.5 to newer version without breaking the whole server?
And if so; which version is recommended?

Reason for upgrading perl is "new SqueezeCenter software, now renamed Squeezebox Server 7.4"
Error message on starting up the app;
[root@hell libexec]# ./squeezeboxserver
generates
The following modules failed to load: EV JSON::XS YAML::Syck GD Sub::Name
To download and compile them, please run: /usr/libexec/Bin/build-perl-modules.pl EV JSON::XS YAML::Syck GD Sub::Name
Exiting..

Perhaps one could issue the command suggested, but I really don't know.
At this moment the server is running smoothly, so the expression
"If it isn't broke, don't fix it... " comes to mind.
Anybody wish to give me a word of advice?
Call me chicken...
--
yank

Offline Stefano

  • *
  • 10,839
  • +2/-0
Re: perl upgrade possible? SME7.4
« Reply #1 on: October 09, 2009, 04:52:43 PM »
how did you install the application?

Offline yank

  • 8
  • +0/-0
Re: perl upgrade possible? SME7.4
« Reply #2 on: October 09, 2009, 05:56:02 PM »
rpm -Uvh squeezeboxserver-7.4.0-1.noarch.rpm

oops! I should have used yum, shouldn't I.....
(to get the dependencies?)
« Last Edit: October 09, 2009, 06:23:29 PM by yank »

Offline CharlieBrady

  • *
  • 6,918
  • +3/-0
Re: perl upgrade possible? SME7.4
« Reply #3 on: October 09, 2009, 05:56:20 PM »
Is it possible to upgrade perl from v.5.8.5 to newer version without breaking the whole server?

Probably not.


Quote
The following modules failed to load: EV JSON::XS YAML::Syck GD Sub::Name
To download and compile them, please run: /usr/libexec/Bin/build-perl-modules.pl EV JSON::XS YAML::Syck GD Sub::Name
Exiting..

This indicates that you are expected to install some additional modules, not that you need a different version of perl.

Offline Stefano

  • *
  • 10,839
  • +2/-0
Re: perl upgrade possible? SME7.4
« Reply #4 on: October 09, 2009, 05:58:49 PM »
This indicates that you are expected to install some additional modules, not that you need a different version of perl.

tha's why I've asked how did he install it.. :)

btw, some of the modules are available on Dag repo

Offline yank

  • 8
  • +0/-0
Re: perl upgrade possible? SME7.4
« Reply #5 on: October 09, 2009, 06:14:09 PM »
hmm, thanks for the replies!
So I just need something extra, the question is what do I need? The 'additional modules', are these seperate or "all in one package". I'm sorry but I'm still learning..
--
yank

Offline Stefano

  • *
  • 10,839
  • +2/-0
Re: perl upgrade possible? SME7.4
« Reply #6 on: October 09, 2009, 09:13:39 PM »
I'm sorry but I'm still learning..

well, first of all, then, start to learn to answer the questions? :-)

how did you install that application?

Offline yank

  • 8
  • +0/-0
Re: perl upgrade possible? SME7.4
« Reply #7 on: October 09, 2009, 09:25:41 PM »
sorry, but I thought I did answered about four posts earlier:
rpm -Uvh squeezeboxserver-7.4.0-1.noarch.rpm

That's how I installed the application..
Or am I missing your point?
« Last Edit: October 09, 2009, 09:28:12 PM by yank »

Offline Stefano

  • *
  • 10,839
  • +2/-0
Re: perl upgrade possible? SME7.4
« Reply #8 on: October 09, 2009, 09:39:58 PM »
sorry, but I thought I did answered about four posts earlier:
rpm -Uvh squeezeboxserver-7.4.0-1.noarch.rpm

That's how I installed the application..
Or am I missing your point?

no, no.. you are not missing anything..

please:
- setup Dag repo as per wiki instructions
- remove squeezeboxserver with
Code: [Select]
rpm -e squeezeboxserver
- reinstall it with
Code: [Select]
yum --enablerepo=dag localinstall squeezeboxserver-7.4.0-1.noarch.rpm

it should install the application AND all the dependencies.. if not, there's something wrong with that rpm

hth

Offline byte

  • *
  • 2,183
  • +2/-0
Re: perl upgrade possible? SME7.4
« Reply #9 on: October 09, 2009, 09:47:00 PM »
Moving this topic to the SME 7.x contribs forum, it is more appropriate there. Thanks!
--[byte]--

Have you filled in a Bug Report over @ http://bugs.contribs.org ? Please don't wait to be told this way you help us to help you/others - Thanks!

Offline CharlieBrady

  • *
  • 6,918
  • +3/-0
Re: perl upgrade possible? SME7.4
« Reply #10 on: October 10, 2009, 12:43:14 AM »
it should install the application AND all the dependencies.. if not, there's something wrong with that rpm

I suspect that the rpm doesn't have appropriate dependency information encoded in it, which is why 'yank' was able to install it.

He could try:

yum install --enablerepo=dag 'perl(EV)' 'perl(JSON::XS)' 'perl(YAML::Syck)' \
  'perl(GD)' 'perl(Sub::Name)'

but there's a good chance that Dag hasn't build all those.

This is what is known as 'dependency hell'. Not suitable for beginners...

Offline Stefano

  • *
  • 10,839
  • +2/-0
Re: perl upgrade possible? SME7.4
« Reply #11 on: October 10, 2009, 12:47:43 AM »
I suspect that the rpm doesn't have appropriate dependency information encoded in it, which is why 'yank' was able to install it.

me too..