Home of the Squeezebox™ & Transporter® network music players.
Page 4 of 4 FirstFirst ... 234
Results 31 to 33 of 33
  1. #31
    martin@gregorie.org
    Guest

    Adding the BBCiPlayer app to LMS

    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.


    Martin



  2. #32
    Senior Member
    Join Date
    Oct 2005
    Location
    Ireland
    Posts
    16,142
    Quote Originally Posted by martin@gregorie.org View Post
    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 ?

    I don't know specifc but IIRC noarch had no Perl version dependencies and I think it required running buildme.sh to built libraries. 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
    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/arch )

  3. #33
    martin@gregorie.org
    Guest

    Adding the BBCiPlayer app to LMS

    On Thu, 2018-09-06 at 08:55 +0000, bpa wrote:
    > martin (AT) gregorie (DOT) org 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/slimserv....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



Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •