Seems I got it running by adding the following to
the /etc/default/logitechmediaserver:


# Ensure after an LMS update that we switch to our own Perl and not Debian's.
for NAME in squeezeboxserver squeezeboxserver-cleanup squeezeboxserver-scanner; 
do
    sed -i -e 's+/usr/bin/perl+/opt/perl-5.24.3-LMS/bin/perl+g' /usr/sbin/$NAME
done

# Ensure we find the LMS Perl modules from the .deb
export PERL5LIB=/usr/share/perl5


I used the following options to build Perl (mostly
stolen from "perl -V" of the Debian version):


./Configure -Dprefix=/opt/perl-5.24.3-LMS -Dusethreads -Duselargefiles
-Dcc=x86_64-linux-gnu-gcc -Dcpp=x86_64-linux-gnu-cpp
-Dld=x86_64-linux-gnu-gcc -Dccflags="-DDEBIAN -Wdate-time
-D_FORTIFY_SOURCE=2 -g -O2 -fstack-protector-strong -Wformat
-Werror=format-security" -Dldflags="-Wl,-z,relro" -Dlddlflags="-shared
-Wl,-z,relro" -Dcccdlflags="-fPIC" -Darchname=x86_64-linux-gnu
-Duse64bitint -Uafs -Ud_csh -Ud_ualarm -Uusesfio -Uusenm -Ui_libutil
-Uversiononly -DDEBUGGING=-g -Doptimize=-O2 -des -Duseshrplib


LMS plays and the scanner works, my library is the same as before.

I'll test this a few days and then try to upgrade Debian.
_______________________________________________
Squeezecenter mailing list
[email protected]
http://lists.slimdevices.com/mailman/listinfo/squeezecenter

Reply via email to