On Thu, 2018-09-06 at 08:55 +0000, bpa wrote:
> [email protected] wrote: 
> > On Tue, 2018-09-04 at 21:29 +0000, bpa wrote:
> > > 
> > > Most problems with "unsupported" Linux distros is usually
> > 
> > associated
> > > with a newer versions of Perl.
> > > I didn't many other problems with Fedora installation and none
> > > concerning Plugins.
> > > 
> > 
> > I've just hit one, with both stable and nightly RPMs affected.
> > stable rpm  - logitechmediaserver-7.9.1-1.noarch.rpm
> > nightly rpm - logitechmediaserver-7.9.2-0.1.1536072399.noarch.rpm
> > 
> > Both want Perl 5.8.8 but Fedora 28 is using Perl 5.26.2
> > 
> > I'm surprised this would fail, since in this case Fedora 28 is
> > ahead of
> > your build machine. I'm loath to force an install, so any
> > workrounds
> > gratefully accepted.
> > 
> 
> Is this a Perl error message (e. can't find @INC ...) or an LMS error
> message ?
> 
No, this is rpm. It reports the mismatch within a second or so of being
started.
 
> I don't know specifc but IIRC noarch had no Perl version dependencies
> and I think it required running buildme.sh to built libraries. 
>
AFAIK 'noarch' is a binary thing - and I see that the LMS rpm contains
a copy of hardware-specific code for the 5 or 6 most common
architectures.

If that link is required there should be a script in the rpm archive to
do it after installing the new/replacement files - rpm is better than
apt at spotting dependency mismatches and can also run scripts both
before and after installing/ and/or replacing files.

> However it may have assumed location of Perl & Perl libraries.
> According to the Fedora thread 64 bit Perl libaries (i.e latest
> version)  are in a " new location" and so required  
> 
> Code:
> --------------------
>     
>   ln -sf /usr/lib/perl5/vendor_perl/Slim
> /usr/lib64/perl5/vendor_perl/Slim
>   
> --------------------
> 
Yes, that seems likely: my working installation has its directories
arranged that way. However, neither directory structure exists on my
target system for this install because rpm hasn't yet installed
anything.

> Packages for supported LMS has prebuilt Perl libraries and support
> for 5.26 has been there for nearly a year ( you can see supported
> versions
> and arch here (
> https://github.com/Logitech/slimserver/tree/public/7.9/CPAN/archch   
> )
> 
In which case, it looks as though somebody has forgotten to update the
dependency list in the rpm builder recipe and may also have omitted a
short script to set up that link.

I got it to install and start with the commands:

sudo rpm -U --nodeps logitechmediaserver-7.9.1-1.noarch.rpm
sudo ln -sf /usr/lib/perl5/vendor_perl/Slim \
     /usr/lib64/perl5/vendor_perl/Slim
sudo systemctl enable squeezeboxserver
sudo systemctl start squeezeboxserver

 and 

sudo systemctl start squeezeboxserver

shows that its now up and running. Many thanks for your help with
this. I'm currently configuring the new server and will then be in a
position to compare plugins etc with my live server.


Martin


_______________________________________________
Squeezecenter mailing list
[email protected]
http://lists.slimdevices.com/mailman/listinfo/squeezecenter

Reply via email to