On Mon, 2017-12-11 at 08:57 +0100, Michael Herger wrote:
> > I downloaded the LMS 7.9.0 rpm a week ago. Today I installed it on
> > a
>
> Please try 7.9.1 instead
>
> http://downloads.slimdevices.com/nightly/index.php?ver=7.9
>
Tried again just now with:
logitechmediaserver-7.9.1-0.1.1512734075.noarch.rpm
This does exactly the same:
Starting Squeezebox Server: Can't locate Slim/bootstrap.pm in @INC
BEGIN failed--compilation aborted at /usr/libexec/squeezeboxserver line
169.
[FAILED]
but this time Slim/bootstrap.pm is installed. 'locate' says its at
/usr/lib/perl5/vendor_perl/Slim/bootstrap.pm
$ perl --version
This is perl 5, version 24, subversion 3 (v5.24.3) built for x86_64-
linux-thread-multi
(with 68 registered patches, see perl -V for more detail)
The output from "perl -V" is attached as perlV.txt and, as you can see,
the path /usr/lib/perl5/vendor_perl is not in @INC.
However, moving the Slim directory to /usr/lib64/perl5/vendor_perl/ has
let LMS start up and has found my music library.
The only problem now is that my Touch can't see it:
- AFAIK its software is fully up to date (7.7.3 r16676)
- the touch's network info is set as it should be to be part of my LAN
and to access other host on it / be accessed by them
- nmap sees all the ports I expect on the Touch
and (from another PC), sees port 9000/tcp as open on the host thats
running LMS
Should port 9000 also be open for udp?
If so, this is also preventing the touch from connecting to the
LMS as a 'library'
- Another point is the touch appears to think that the
LMS should be on an SD card, but that could just be my lack of
understanding
Might I suggest that, if possible, the RPM should put the Slim
directory in /usr/lib64/perl5/vendor_perl/ on a 64 bit system rather
than in /usr/lib/perl5/vendor_perl/ - does this need a separate 64bit
RPM or can it be sorted with a scriptlet in the rpm?
Anyway, thanks for pointing me at a more recent RPM, which, if nothing
else got my brain running along the right track. I should point out
that I'm not really a Perl programmer. I mostly use C and Java plus a
bit of awk where others might use Perl.
Thanks,
Martin
Summary of my perl5 (revision 5 version 24 subversion 3) configuration:
Platform:
osname=linux, osvers=4.12.9-300.fc26.x86_64,
archname=x86_64-linux-thread-multi
uname='linux buildhw-08.phx2.fedoraproject.org 4.12.9-300.fc26.x86_64 #1
smp fri aug 25 13:09:43 utc 2017 x86_64 x86_64 x86_64 gnulinux '
config_args='-des -Doptimize=none -Dccflags=-O2 -g -pipe -Wall
-Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fexceptions
-fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64
-mtune=generic -Dldflags=-Wl,-z,relro -Dccdlflags=-Wl,--enable-new-dtags
-Wl,-z,relro -Dlddlflags=-shared -Wl,-z,relro -Dshrpdir=/usr/lib64
-DDEBUGGING=-g -Dversion=5.24.3 -Dmyhostname=localhost
-Dperladmin=root@localhost -Dcc=gcc -Dcf_by=Red Hat, Inc. -Dprefix=/usr
-Dvendorprefix=/usr -Dsiteprefix=/usr/local -Dsitelib=/usr/local/share/perl5
-Dsitearch=/usr/local/lib64/perl5 -Dprivlib=/usr/share/perl5
-Dvendorlib=/usr/share/perl5/vendor_perl -Darchlib=/usr/lib64/perl5
-Dvendorarch=/usr/lib64/perl5/vendor_perl -Darchname=x86_64-linux-thread-multi
-Dlibpth=/usr/local/lib64 /lib64 /usr/lib64 -Duseshrplib -Dusethreads
-Duseithreads -Dusedtrace=/usr/bin/dtrace -Duselargefiles -Dd_semctl_semun
-Di_db -Ui_ndbm -Di_gdbm -Di_shadow -Di_syslog -Dman3ext=3pm -Duseperlio
-Dinstallusrbinperl=n -Ubincompat5005 -Uversiononly -Dpager=/usr/bin/less -isr
-Dd_gethostent_r_proto -Ud_endhostent_r_proto -Ud_sethostent_r_proto
-Ud_endprotoent_r_proto -Ud_setprotoent_r_proto -Ud_endservent_r_proto
-Ud_setservent_r_proto -Dscriptdir=/usr/bin -Dusesitecustomize -Duse64bitint1'
hint=recommended, useposix=true, d_sigaction=define
useithreads=define, usemultiplicity=define
use64bitint=define, use64bitall=define, uselongdouble=undef
usemymalloc=n, bincompat5005=undef
Compiler:
cc='gcc', ccflags ='-D_REENTRANT -D_GNU_SOURCE -O2 -g -pipe -Wall
-Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fexceptions
-fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64
-mtune=generic -fwrapv -fno-strict-aliasing -I/usr/local/include
-D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64',
optimize=' -g',
cppflags='-D_REENTRANT -D_GNU_SOURCE -O2 -g -pipe -Wall
-Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fexceptions
-fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64
-mtune=generic -fwrapv -fno-strict-aliasing -I/usr/local/include'
ccversion='', gccversion='7.2.1 20170915 (Red Hat 7.2.1-2)', gccosandvers=''
intsize=4, longsize=8, ptrsize=8, doublesize=8, byteorder=12345678,
doublekind=3
d_longlong=define, longlongsize=8, d_longdbl=define, longdblsize=16,
longdblkind=3
ivtype='long', ivsize=8, nvtype='double', nvsize=8, Off_t='off_t',
lseeksize=8
alignbytes=8, prototype=define
Linker and Libraries:
ld='gcc', ldflags ='-Wl,-z,relro -fstack-protector-strong -L/usr/local/lib'
libpth=/usr/local/lib64 /lib64 /usr/lib64 /usr/local/lib /usr/lib
/lib/../lib64 /usr/lib/../lib64 /lib
libs=-lpthread -lresolv -lnsl -lgdbm -ldb -ldl -lm -lcrypt -lutil -lc
-lgdbm_compat
perllibs=-lpthread -lresolv -lnsl -ldl -lm -lcrypt -lutil -lc
libc=libc-2.25.so, so=so, useshrplib=true, libperl=libperl.so
gnulibc_version='2.25'
Dynamic Linking:
dlsrc=dl_dlopen.xs, dlext=so, d_dlsymun=undef,
ccdlflags='-Wl,--enable-new-dtags -Wl,-z,relro '
cccdlflags='-fPIC', lddlflags='-shared -Wl,-z,relro -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_ALL 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:
Fedora Patch1: Removes date check, Fedora/RHEL specific
Fedora Patch3: support for libdir64
Fedora Patch4: use libresolv instead of libbind
Fedora Patch5: USE_MM_LD_RUN_PATH
Fedora Patch6: Provide MM::maybe_command independently (bug #1129443)
Fedora Patch7: Dont run one io test due to random builder failures
Fedora Patch15: Define SONAME for libperl.so
Fedora Patch16: Install libperl.so to -Dshrpdir value
Fedora Patch22: Document Math::BigInt::CalcEmu requires Math::BigInt
(CPAN RT#85015)
Fedora Patch26: Make *DBM_File desctructors thread-safe (RT#61912)
Fedora Patch27: Make PadlistNAMES() lvalue again (CPAN RT#101063)
Fedora Patch28: Make magic vtable writable as a work-around for Coro
(CPAN RT#101063)
Fedora Patch30: Replace EU::MakeMaker dependency with EU::MM::Utils in
IPC::Cmd (bug #1129443)
Fedora Patch34: Do not use unitialized memory in $h{\const} warnings
(RT#128189)
Fedora Patch36: Do not treat %: as a stash (RT#128238)
Fedora Patch37: Do not crash when inserting a non-stash into a stash
(RT#128238)
Fedora Patch40: Fix a crash when vivifying a stub in a deleted package
(RT#128532)
Fedora Patch41: Fix a crash in "Subroutine redefined" warning
(RT#128257)
Fedora Petch48: Fix crash in splice (RT#129164, RT#129166, RT#129167)
Fedora Patch49: Fix string overrun in Perl_gv_fetchmethod_pvn_flags
(RT#129267)
Fedora Patch50: Fix string overrun in Perl_gv_fetchmethod_pvn_flags
(RT#129267)
Fedora Patch51: Fix string overrun in Perl_gv_fetchmethod_pvn_flags
(RT#129267)
Fedora Patch52: Fix string overrun in Perl_gv_fetchmethod_pvn_flags
(RT#129267)
Fedora Patch53: Fix string overrun in Perl_gv_fetchmethod_pvn_flags
(RT#129267)
Fedora Patch54: Fix crash when matching UTF-8 string with non-UTF-8
substrings (RT#129350)
Fedora Patch55: Fix parsing perl options in shell bang line (RT#129336)
Fedora Patch56: Fix firstchar bitmap under UTF-8 with prefix
optimization (RT#129950)
Fedora Patch57: Avoid infinite loop in h2xs tool if enum and type have
the same name (RT130001)
Fedora Patch58: Fix stack handling when calling chdir without an
argument (RT#129130)
Fedora Patch59: Fix crash in Storable when deserializing malformed code
reference (RT#68348, RT#130098)
Fedora Patch60: Fix crash on explicit return from regular expression
substitution (RT#130188)
Fedora Patch61: Fix assigning split() return values to an array
Fedora Patch62: Fix const correctness in hv_func.h (RT#130169)
Fedora Patch63: Fix a crash in optimized evaluation of "or ((0) x 0))"
(RT#130247)
Fedora Patch64: Fix a memory leak in IO::Poll (RT#129788)
Fedora Patch65: Fix regular expression matching (RT#130307)
Fedora Patch66: Fix a buffer overflow in split in scalar context
(RT#130262)
Fedora Patch67: Fix a heap overflow with pack "W" (RT129149)
Fedora Patch69: Fix a use-after-free when processing scalar variables
in forms (RT#129125)
Fedora Patch70: Fix a heap overflow if invalid octal or hexadecimal
number is used in transliteration expression (RT#129342)
Fedora Patch71: Fix out-of-bound read in case of unmatched regexp
backreference (RT#129377)
Fedora Patch72: Fix UTF-8 string handling in & operator (RT#129287)
Fedora Patch73: Fix recreation of *:: (RT#129869)
Fedora Patch74: Fix a memory leak in B::RHE->HASH method (RT#130504)
Fedora Patch75: Fix parsing goto statements in multicalled subroutine
(RT#113938)
Fedora Patch76: Fix a heap overlow in parsing $# (RT#129274)
Fedora Patch77: Adapt to zlib-1.2.11 (CPAN RT#119762)
Fedora Patch78: Fix compiler fatal warnings in Compress-Raw-Zlib (CPAN
RT#120272)
Fedora Patch79: Fix a crash when compiling a regexp with impossible
quantifiers (RT#130561)
Fedora Patch82: Fix a buffer overrun with format and "use bytes"
(RT#130703)
Fedora Patch83: Fix a buffer overflow when studying some regexps
repeatedly (RT#129281, RT#129061)
Fedora Patch85: Fix a heap buffer overflow when evaluating regexps with
embedded code blocks from more than one source, RT#129881
Fedora Patch87: Fix a null-pointer dereference on malformed code
(RT#130815)
Fedora Patch88: Fix an use-after-free in substr() that modifies a magic
variable (RT#129340)
Fedora Patch89: Fix a memory leak leak in Perl_reg_named_buff_fetch()
(RT#130822)
Fedora Patch90: Fix an invalid memory read when parsing a loop variable
(RT#130814)
Fedora Patch94: Fix a heap-use-after-free in four-arguments substr call
(RT#130624)
Fedora Patch95: Make File::Glob more resistant against degenerative
matching (RT#131211)
Fedora Patch98: Fix a crash when calling a subroutine from a stash
(RT#131085)
Fedora Patch99: Fix an improper cast of a negative integer to an
unsigned 8-bit type (RT#131190)
Fedora Patch100: Fix cloning :via handles on thread creation (RT#131221)
Fedora Patch102: Fix glob UTF-8 flag on a glob reassignment (RT#131263)
Fedora Patch103: Fix a buffer overflow in my_atof2() (RT#131526)
Fedora Patch105: Fix handling backslashes in PATH environment variable
when executing "perl -S" (RT#129183)
Fedora Patch106: Fix a conditional jump on uninitilized memory in
re_intuit_start() (RT#131575)
Fedora Patch107: Fix spurious "Assuming NOT a POSIX class" warning
(RT#131522)
Fedora Patch200: Link XS modules to libperl.so with EU::CBuilder on
Linux
Fedora Patch201: Link XS modules to libperl.so with EU::MM on Linux
Built under linux
Compiled at Sep 25 2017 14:19:58
@INC:
/usr/local/lib64/perl5
/usr/local/share/perl5
/usr/lib64/perl5/vendor_perl
/usr/share/perl5/vendor_perl
/usr/lib64/perl5
/usr/share/perl5
.
_______________________________________________
Squeezecenter mailing list
[email protected]
http://lists.slimdevices.com/mailman/listinfo/squeezecenter