Running Logitech Media Server (LMS SqueezeServer) in a closed Environment (Perl 5.14) – Fedora 18 x86_64 Tested
Having updated my Mythtv Box to Fedora 18 it came bundled with Perl 5.16. Having never had an issue with LMS I never thought twice. Alas it would not run.
No problem.. there will soon be an update….WHAT? Logitech have discontinued the Squeezebox lineup… now that had me ranting, a product that would be a good market to a small company not fitting in with the huge volumes someone like Logitech needs.
Ok… so how on earth to get it running.
Firstly we need to create a version of Perl 5.14 on the system we can use (no package in Fedora below 5.16)
yum install expat-devel cd /opt mkdir Perl5.14 cd Perl5.14 wget http://www.cpan.org/src/5.0/perl-5.14.3.tar.gz gunzip *.gz tar -xvf *.tar cd perl-5.14.3 ./Configure -des -Dprefix=/opt/Perl5.14 make make install cd /opt/Perl5.14/bin ./perl -v
Note the /opt/Perl5.14 is important as it fits in with my mod to buildme.sh, so if you change, edit buildme.sh
So now we need to grab the CPAN files needed from Logitech. This is in their SVN, but I have replicated here to include the edits to buildme.sh.
cd /opt git clone https://github.com/jamesarbrown/slimserver-vendor.git cd slimserver-vendor/CPAN ./buildme.sh
Now we need the slimserver itself
cd /opt git clone https://github.com/jamesarbrown/slimserver.git
Finally running Slimserver is done by
chown -R myuser.myuser slimserver su myuser /opt/Perl5.14/bin/perl -I /opt/slimserver-vendor/CPAN/build/arch/5.14 /opt/slimserver/slimserver.pl
For BBC Iplayer plugin on x86_64 it needed the 32 bit libraries for faad
yum install glibc.i686