SqueezeCenter 7.1 under Solaris
The idea was to use "bare" SqueezeCenter without bundled CPAN (the CPAN directory was moved away) modules, Solaris 11 (or Nevada build 88) and supplied with Solaris PERL and MySQL.
Then if you start slimserver.pl the errors will let you know which CPAN modules to install. For example:
. . .
Can't locate JSON::XS.pm in @INC (@INC contains: squeezecenter-7.1-19407-noCPAN/CPAN/arch/5.8/i86pc-solaris-64int
…
Or For Nevada b95:
File::Temp (loaded 0.14, need 0.17)
I18N::LangTags (loaded 0.29, need 0.35)
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.
Usually, the bundled CPAN is not up to date. So, let's install it first:
cpan[1]> install Bundle::CPAN
. . .
cpan[2]> quit
To install (or upgrade) a module run the following:
cpan[1]> install JSON::XS
The only exception is Encode/Detect/Detector.pm or Encode::Detect::Detector. It's has not being touched by the developer for many years and is not recommended for use. The module can be compiled with c++ or g++ (instead of used by default cc or gcc), but with a lot of pain and manual intervention. The easiest way is to get rid of it completely:
- Remove Encode::Detect::Detector from modules.conf (in the root directory of SqueezeCenter)
- Remove or comment the following line in Slim/Utils/Unicode.pm:
use Encode::Detect::Detector;
Related posts:
- Upgrade x (Solaris + SqueezeCenter) Here's a quick way to upgrade one or both Solaris...
- SqueezeCenter again. Testing v7.3 SqueezeCenter 7.2 is officially out and not interesting anymore ;-)...
- SqueezeCenter and Compress::Zlib After upgrading to Nevada b92 SqueezeCenter refused to start with...
- SqueezeCenter and Scalar::Util After upgrading to snv_93 SqueezeCenter (quite predictably) refused to start...
- Unlocking pkgadd ## Waiting for up to <300> seconds for package administration...


Squeezecenter on OpenSolaris 2008.05 - Slim Devices : Community : Forums:
July 25th, 2008 at 21:46
[...] to allow images). Modify any paths accordingly. As for disabling Encode-Detect, check this out: http://www.alekz.net/archives/75 You might also want to read http://www.alekz.net/archives/tag/solaris A nice little tip if you [...]
AlekZ:
August 14th, 2008 at 00:11
SlimDevices forum thread:
http://forums.slimdevices.com/showthread.php?p=329122
AlekZ’ Scratchpad » SqueezeCenter again. Testing v7.3:
August 31st, 2008 at 01:18
[...] error looks familiar. And after commenting line 40 in /opt/csw/SqueezeCenter-7.3-22975/Slim/Utils/Unicode.pm (#use [...]