Hi,

I think upgrading the slimserver to Perl 5.16 is going to be a bit of a
time consuming job.... some libraries are old and won't even build with
perl 5.16, new libraries, deprecated functions... yes a task.

I approached it by installing a closed environment of Perl 5.14 and
leaving the system Perl5.16 alone.

Approach can be found 
www jamesarbrown com / ?p=186

As for starting and stopping as a service have not gotten that far, as I
tend to use Monit to just ensure its always up. monit.rc entries are
like


Code:
--------------------
    
  check process squeezeboxserver with pidfile /opt/slimserver/slimserver.pid
  start program = "/opt/Perl5.14/bin/perl -I 
/opt/slimserver-vendor/CPAN/build/arch/5.14 /opt/slimserver/slimserver.pl 
--pidfile /opt/slimserver/sli
  mserver.pid &"
  as uid mythtv and gid mythtv it
  stop program  = "kill -INT `cat /opt/slimserver/slimserver.pid`"
  if failed port 9000 protocol http then restart
  
--------------------


Hope it helps someone for now.... seems to me Slimserver needs bringing
upto Perl5.16 and Perl5.16/CPAN embedding with during install/build, so
infuture Perl upgrades do not break. Wonder how many Linux users there
are using slimserver. Needs forking and simplifying (get rid of
mysqueezebox etc).. wish I had more time.

James


------------------------------------------------------------------------
jamesarbrown's Profile: http://forums.slimdevices.com/member.php?userid=58558
View this thread: http://forums.slimdevices.com/showthread.php?t=96492

_______________________________________________
unix mailing list
[email protected]
http://lists.slimdevices.com/mailman/listinfo/unix

Reply via email to