SqueezeCenter stopped working after Arch Linux upgraded to Perl 5.10.
My startup script:
Code:
--------------------
#!/bin/bash
SQUEEZEPATH=/home/boru/bin/squeezecenter-7.0.1
HOSTIP=10.20.30.40
VARDIR=/var/boru/slimserver
cd $SQUEEZEPATH
./slimserver.pl $1 \
--daemon \
--httpaddr $HOSTIP \
--cliaddr $HOSTIP \
--cliport 0 \
--playeraddr $HOSTIP \
--streamaddr $HOSTIP \
--logfile $VARDIR/slimserver.log \
--cachedir $VARDIR/cache
--------------------
IP address is defined explicitly because I used to run more than one
SlimServer on the same server. I get the same errors without those
options.
These are the error messages:
Code:
--------------------
Use of uninitialized value $_[0] in join or string at
/usr/share/perl5/core_perl/File/Spec/Unix.pm line 81.
Useless use of a constant in void context at
/home/boru/bin/squeezecenter-7.0.1/Slim/Networking/Slimproto.pm line 104.
Use of uninitialized value $old in pattern match (m//) at
/home/boru/bin/squeezecenter-7.0.1/Slim/Utils/Prefs.pm line 269.
--------------------
This is what I get with perl -d:
Code:
--------------------
Use of uninitialized value $_[0] in join or string at
/usr/share/perl5/core_perl/File/Spec/Unix.pm line 81.
at /usr/share/perl5/core_perl/File/Spec/Unix.pm line 81
File::Spec::Unix::catdir('File::Spec', undef, 'cookies.dat') called at
/usr/share/perl5/core_perl/File/Spec/Functions.pm line 42
File::Spec::Functions::__ANON__[/usr/share/perl5/core_perl/File/Spec/Functions.pm:42](undef,
'cookies.dat') called at
/home/boru/bin/squeezecenter-7.0.1/Slim/Networking/Async/HTTP.pm line 54
require Slim/Networking/Async/HTTP.pm called at
/home/boru/bin/squeezecenter-7.0.1/Slim/Utils/Scanner.pm line 45
Slim::Utils::Scanner::BEGIN() called at
/home/boru/bin/squeezecenter-7.0.1/Slim/Networking/Async/HTTP.pm line 0
eval {...} called at
/home/boru/bin/squeezecenter-7.0.1/Slim/Networking/Async/HTTP.pm line 0
require Slim/Utils/Scanner.pm called at
/home/boru/bin/squeezecenter-7.0.1/Slim/Control/Commands.pm line 42
Slim::Control::Commands::BEGIN() called at
/home/boru/bin/squeezecenter-7.0.1/Slim/Networking/Async/HTTP.pm line 0
eval {...} called at
/home/boru/bin/squeezecenter-7.0.1/Slim/Networking/Async/HTTP.pm line 0
require Slim/Control/Commands.pm called at
/home/boru/bin/squeezecenter-7.0.1/Slim/Control/Request.pm line 420
Slim::Control::Request::BEGIN() called at
/home/boru/bin/squeezecenter-7.0.1/Slim/Networking/Async/HTTP.pm line 0
eval {...} called at
/home/boru/bin/squeezecenter-7.0.1/Slim/Networking/Async/HTTP.pm line 0
require Slim/Control/Request.pm called at
/home/boru/bin/squeezecenter-7.0.1/Slim/Buttons/SqueezeNetwork.pm line 24
Slim::Buttons::SqueezeNetwork::BEGIN() called at
/home/boru/bin/squeezecenter-7.0.1/Slim/Networking/Async/HTTP.pm line 0
eval {...} called at
/home/boru/bin/squeezecenter-7.0.1/Slim/Networking/Async/HTTP.pm line 0
require Slim/Buttons/SqueezeNetwork.pm called at
/home/boru/bin/squeezecenter-7.0.1/Slim/Buttons/Common.pm line 42
Slim::Buttons::Common::BEGIN() called at
/home/boru/bin/squeezecenter-7.0.1/Slim/Networking/Async/HTTP.pm line 0
eval {...} called at
/home/boru/bin/squeezecenter-7.0.1/Slim/Networking/Async/HTTP.pm line 0
require Slim/Buttons/Common.pm called at ./slimserver.pl line 147
main::BEGIN() called at
/home/boru/bin/squeezecenter-7.0.1/Slim/Networking/Async/HTTP.pm line 0
eval {...} called at
/home/boru/bin/squeezecenter-7.0.1/Slim/Networking/Async/HTTP.pm line 0
Useless use of a constant in void context at
/home/boru/bin/squeezecenter-7.0.1/Slim/Networking/Slimproto.pm line 104.
at /home/boru/bin/squeezecenter-7.0.1/Slim/Networking/Slimproto.pm line 104
require Slim/Networking/Slimproto.pm called at ./slimserver.pl line 185
main::BEGIN() called at
/home/boru/bin/squeezecenter-7.0.1/Slim/Networking/Slimproto.pm line 129
eval {...} called at
/home/boru/bin/squeezecenter-7.0.1/Slim/Networking/Slimproto.pm line 129
main::(./slimserver.pl:14): require 5.008_001;
--------------------
I have run the build-perl-modules.pl script and that was sufficient
before.
Is it obvious what's wrong? If not, where should I start looking?
--
jared1999
------------------------------------------------------------------------
jared1999's Profile: http://forums.slimdevices.com/member.php?userid=5336
View this thread: http://forums.slimdevices.com/showthread.php?t=48327
_______________________________________________
unix mailing list
[email protected]
http://lists.slimdevices.com/lists/listinfo/unix