PDA

View Full Version : LMS on ARM Goflex Home with Debian 9 Start Error



droidbox
2017-08-03, 15:11
Hi.

I installed the LMS 7.90 on an ARM Device Goflex Home.

The LMS start show okay, but the Port 9000 isnt available.

When i start the LMS manuel it show:

root@audioserver:~# /usr/sbin/squeezeboxserver
The following modules failed to load: DBI EV XML::Parser::Expat HTML::Parser JSON::XS Digest::SHA1 YAML::XS Sub::Name

How can i fix it?

Regards Markus

mherger
2017-08-03, 15:16
> root@audioserver:~# /usr/sbin/squeezeboxserver
> The following modules failed to load: DBI EV XML::Parser::Expat HTML::Parser JSON::XS Digest::SHA1 YAML::XS Sub::Name

What does "perl -v" say?

--

Michael

droidbox
2017-08-03, 15:19
Some more infos about my system.

# cat /proc/cpuinfo
processor : 0
model name : Feroceon 88FR131 rev 1 (v5l)
BogoMIPS : 400.00
Features : swp half thumb fastmult edsp
CPU implementer : 0x56
CPU architecture: 5TE
CPU variant : 0x2
CPU part : 0x131
CPU revision : 1

Hardware : Marvell Kirkwood (Flattened Device Tree)
Revision : 0000
Serial : 0000000000000000

Download .deb from here

http://downloads.slimdevices.com/LogitechMediaServer_v7.9.0/logitechmediaserver_7.9.0_arm.deb

droidbox
2017-08-03, 15:28
> root@audioserver:~# /usr/sbin/squeezeboxserver
> The following modules failed to load: DBI EV XML::Parser::Expat HTML::Parser JSON::XS Digest::SHA1 YAML::XS Sub::Name

What does "perl -v" say?



# # perl -V
Summary of my perl5 (revision 5 version 24 subversion 1) configuration:

Platform:
osname=linux, osvers=3.16.0, archname=arm-linux-gnueabi-thread-multi-64int
uname='linux localhost 3.16.0 #1 smp debian 3.16.0 armv7l gnulinux '
config_args='-Dusethreads -Duselargefiles -Dcc=arm-linux-gnueabi-gcc -Dcpp=arm-linux-gnueabi-cpp -Dld=arm-linux-gnueabi-gcc -Dccflags=-DDEBIAN -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -fdebug-prefix-map=/build/perl-R5kvvJ/perl-5.24.1=. -fstack-protector-strong -Wformat -Werror=format-security -Dldflags= -Wl,-z,relro -Dlddlflags=-shared -Wl,-z,relro -Dcccdlflags=-fPIC -Darchname=arm-linux-gnueabi -Dprefix=/usr -Dprivlib=/usr/share/perl/5.24 -Darchlib=/usr/lib/arm-linux-gnueabi/perl/5.24 -Dvendorprefix=/usr -Dvendorlib=/usr/share/perl5 -Dvendorarch=/usr/lib/arm-linux-gnueabi/perl5/5.24 -Dsiteprefix=/usr/local -Dsitelib=/usr/local/share/perl/5.24.1 -Dsitearch=/usr/local/lib/arm-linux-gnueabi/perl/5.24.1 -Dman1dir=/usr/share/man/man1 -Dman3dir=/usr/share/man/man3 -Dsiteman1dir=/usr/local/man/man1 -Dsiteman3dir=/usr/local/man/man3 -Dusesitecustomize -Duse64bitint -Dman1ext=1 -Dman3ext=3perl -Dpager=/usr/bin/sensible-pager -Uafs -Ud_csh -Ud_ualarm -Uusesfio -Uusenm -Ui_libutil -Uversiononly -DDEBUGGING=-g -Doptimize=-O2 -dEs -Duseshrplib -Dlibperl=libperl.so.5.24.1'
hint=recommended, useposix=true, d_sigaction=define
useithreads=define, usemultiplicity=define
use64bitint=define, use64bitall=undef, uselongdouble=undef
usemymalloc=n, bincompat5005=undef
Compiler:
cc='arm-linux-gnueabi-gcc', ccflags ='-D_REENTRANT -D_GNU_SOURCE -DDEBIAN -fwrapv -fno-strict-aliasing -pipe -I/usr/local/include -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64',
optimize='-O2 -g',
cppflags='-D_REENTRANT -D_GNU_SOURCE -DDEBIAN -fwrapv -fno-strict-aliasing -pipe -I/usr/local/include'
ccversion='', gccversion='6.3.0 20170516', gccosandvers=''
intsize=4, longsize=4, ptrsize=4, doublesize=8, byteorder=12345678, doublekind=3
d_longlong=define, longlongsize=8, d_longdbl=define, longdblsize=8, longdblkind=0
ivtype='long long', ivsize=8, nvtype='double', nvsize=8, Off_t='off_t', lseeksize=8
alignbytes=8, prototype=define
Linker and Libraries:
ld='arm-linux-gnueabi-gcc', ldflags =' -fstack-protector-strong -L/usr/local/lib'
libpth=/usr/local/lib /usr/lib/gcc/arm-linux-gnueabi/6/include-fixed /usr/include/arm-linux-gnueabi /usr/lib /lib/arm-linux-gnueabi /lib /usr/lib/arm-linux-gnueabi
libs=-lgdbm -lgdbm_compat -ldb -ldl -lm -lpthread -lc -lcrypt
perllibs=-ldl -lm -lpthread -lc -lcrypt
libc=libc-2.24.so, so=so, useshrplib=true, libperl=libperl.so.5.24
gnulibc_version='2.24'
Dynamic Linking:
dlsrc=dl_dlopen.xs, dlext=so, d_dlsymun=undef, ccdlflags='-Wl,-E'
cccdlflags='-fPIC', lddlflags='-shared -L/usr/local/lib -fstack-protector-strong'


Characteristics of this binary (from libperl):
Compile-time options: HAS_TIMES MULTIPLICITY PERLIO_LAYERS
PERL_COPY_ON_WRITE PERL_DONT_CREATE_GVSV
PERL_HASH_FUNC_ONE_AT_A_TIME_HARD
PERL_IMPLICIT_CONTEXT PERL_MALLOC_WRAP
PERL_PRESERVE_IVUV USE_64_BIT_INT USE_ITHREADS
USE_LARGE_FILES USE_LOCALE USE_LOCALE_COLLATE
USE_LOCALE_CTYPE USE_LOCALE_NUMERIC USE_LOCALE_TIME
USE_PERLIO USE_PERL_ATOF USE_REENTRANT_API
USE_SITECUSTOMIZE
Locally applied patches:
.........
Built under linux
Compiled at Jul 11 2017 15:27:24
@INC:
/etc/perl
/usr/local/lib/arm-linux-gnueabi/perl/5.24.1
/usr/local/share/perl/5.24.1
/usr/lib/arm-linux-gnueabi/perl5/5.24
/usr/share/perl5
/usr/lib/arm-linux-gnueabi/perl/5.24
/usr/share/perl/5.24
/usr/local/lib/site_perl
/usr/lib/arm-linux-gnueabi/perl-base

paul-
2017-08-03, 17:32
That processor is an armv5 processor. The current perl binaries supplied with LMS are compiled for armv6. I'm not an arm expert, but I would suspect there is no way for the code to be backwards compatable.

You will probably need to compile the perl binaries for LMS

https://github.com/Logitech/slimserver-vendor

drmatt
2017-08-03, 23:58
It's also gonna be pretty slow I would say. But agree with the above guys, you need to build the full perl blob for your architecture. I've done it on x86 and it took half an hour or so; on there it might take days.


Transcoded from Matt's brain by Tapatalk

droidbox
2017-08-04, 02:55
Okay. Time is not the problem.

Is this the right way to new compile?


wget --no-check-certificate https://github.com/Logitech/slimserver-vendor/archive/public/7.9.zip
unzip 7.9.zip
cd slimserver-vendor-public-7.9/CPAN/
./buildme.sh
After the build:

cd build/arch/5.24
sudo cp -Rf * /usr/share/squeezeboxserver/CPAN/arch/5.24
chown -R root:root /usr/share/squeezeboxserver/CPAN/arch/5.24
Is the right?

paul-
2017-08-04, 03:41
Been awhile since I've built, but it Sounds about right.

droidbox
2017-08-04, 05:29
Oh, it runs in an error
rm -f \
Parser.bso Parser.def \
Parser.exp Parser.x \
blib/arch/auto/XML/Parser/extralibs.all \
blib/arch/auto/XML/Parser/extralibs.ld Makefile.aperl \
*.a *.o \
*perl.core MYMETA.json \
MYMETA.yml blibdirs.ts \
core core.*perl.*.? \
core.[0-9] core.[0-9][0-9] \
core.[0-9][0-9][0-9] core.[0-9][0-9][0-9][0-9] \
core.[0-9][0-9][0-9][0-9][0-9] libParser.def \
mon.out perl \
perl perl.exe \
perlmain.c pm_to_blib \
pm_to_blib.ts so_locations \
tmon.out
rm -rf \
blib
mv Makefile Makefile.old > /dev/null 2>&1
build_module run tests:0 clean:1 hints 1 YAML-LibYAML-0.35
tar zxvf YAML-LibYAML-0.35.tar.gz
tar done
'../hints' -> './hints'
'../hints/darwin.pl' -> './hints/darwin.pl'
Can't locate inc/Module/Install.pm in @INC (you may need to install the inc::Module::Install module) (@INC contains: /root/slimserver-vendor-public-7.9/CPAN/build/5.24/lib/perl5/arm-linux-gnueabi-thread-multi-64int /root/slimserver-vendor-public-7.9/CPAN/build/5.24/lib/perl5 /etc/perl /usr/local/lib/arm-linux-gnueabi/perl/5.24.1 /usr/local/share/perl/5.24.1 /usr/lib/arm-linux-gnueabi/perl5/5.24 /usr/share/perl5 /usr/lib/arm-linux-gnueabi/perl/5.24 /usr/share/perl/5.24 /usr/local/lib/site_perl /usr/lib/arm-linux-gnueabi/perl-base) at Makefile.PL line 1.
BEGIN failed--compilation aborted at Makefile.PL line 1.
make: *** No targets specified and no makefile found. Stop.
make failed, aborting

mherger
2017-08-04, 06:11
> Oh, it runs in an error

And what does it say?

> Can't locate inc/Module/Install.pm in @INC (you may need to install the inc::Module::Install module) (@INC contains:

--

Michael