Hello

There's the following issue with scanner.pl (and only scanner.pl, not
slimserver.pl) from SC 7.0-2007-10-30 (and probably previous) on
ppc/Linux 2.6 (SSODS), perl 5.8.8 etc.


Code:
--------------------
    
  [EMAIL PROTECTED] /volume1/SlimServer/Slim # perl 
/volume1/SlimServer/scanner.pl
  The following CPAN modules were found but cannot work with SqueezeCenter:
  Compress::Zlib (loaded 1.41, need 1.41)
  
  To fix this problem you have several options:
  1. Install the latest version of the module(s) using CPAN: sudo cpan 
Some::Module
  2. Update the module's package using apt-get, yum, etc.
  3. Run the .tar.gz version of SqueezeCenter which includes all required CPAN 
modules.
  
--------------------


Shouldn't 1.41 be enough? And I even have 1.42:


Code:
--------------------
    
  [EMAIL PROTECTED] /volume1/SlimServer # perl
  use Compress::Zlib;
  print Compress::Zlib->VERSION;
  1.42
  
--------------------


And it also works:


Code:
--------------------
    
  [EMAIL PROTECTED] /volume1/SlimServer/Slim # perl
  use Compress::Zlib;
  $a = compress("oinkzwurgl");
  $b = uncompress($a);
  printf "$b\n";
  oinkzwurgl
  
--------------------


I've been told that the problem occurs since a couple of days. I looked
at the last couple of changes in Slim/bootstrap.pm and didn't find
anything suspicious. And I don't completely grok the code in sub
check_valid_versions(), where I think the root of all evil lies (btw,
check my number of posts :-)

Not sure if the following is a good test (if I am right, this is what
check_valid_version() does):


Code:
--------------------
    
  [EMAIL PROTECTED] /volume1/SlimServer # perl -W
  eval "use Compress::Zlib";
  print "-->" . ([EMAIL PROTECTED]"true":"false") . "\n";
  eval { Compress::Zlib->VERSION(1.41||0); 1; };
  print "==>" . ([EMAIL PROTECTED]"true":"false") . "\n";
  
  -->false
  ==>false
  
--------------------


I don't understand how the routine returns a $failed array (or hash or
whatever this is called in Perl) which contains "Compress::Zlib" and
"1.41".

Any hint where I should look and how to debug is appreciated.

Regards,

flipflip


-- 
flipflip

Check out flipflip's 'SlimServer On DiskStation (SSODS)'
(http://oinkzwurgl.org/ssods/)!
------------------------------------------------------------------------
flipflip's Profile: http://forums.slimdevices.com/member.php?userid=5223
View this thread: http://forums.slimdevices.com/showthread.php?t=39802

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

Reply via email to