Home of the Squeezebox™ & Transporter® network music players.
Results 1 to 3 of 3
  1. #1
    Junior Member
    Join Date
    Jun 2015
    Posts
    7

    Problems installing LMS on Fedora 22

    Hi, I just switched my OS from Ubuntu to Fedora22 and I have now spent many hours trying to get my music system back online. :-/

    If I download the rpm from http://downloads.slimdevices.com/Log...0-1.noarch.rpm and then install it with:

    [root@excession]~# rpm -U ~rich/Downloads/logitechmediaserver-7.8.0-1.noarch.rpm
    Point your web browser to http://excession.local:9000/ to configure Logitech Media Server.

    but nothing is listening on port 9000.

    Trying to start it, either by systemctl or simply with,

    [root@excession]~# /etc/init.d/squeezeboxserver start
    Starting squeezeboxserver (via systemctl): [ OK ]

    and it says it has started, but again, nothing is running.

    After I eventually found the binary (in /usr/libexec/squeezeboxserver (wtf!?)), and tried invoking it directly, I got this:

    [root@excession]~# /usr/libexec/squeezeboxserver
    The following CPAN modules were found but cannot work with Logitech Media Server:
    Audio::Scan (loaded 0.93 but missing object file, need 0.93)
    Image::Scale (loaded 0.08 but missing object file, need 0.08)
    XML::Parser:
    Parser.pm and Expat.pm versions don't match at /usr/share/squeezeboxserver/CPAN/XML/Parser.pm line 20.
    BEGIN failed--compilation aborted at /usr/share/squeezeboxserver/CPAN/XML/Parser.pm line 22.
    Compilation failed in require at (eval 99) line 1.
    BEGIN failed--compilation aborted at (eval 99) line 1.

    To fix this problem you have several options:
    1. Install the latest version of the module(s) using CPAN: sudo cpan Some::Module
    2. Update the module's package using apt-get, yum, etc.
    3. Run the .tar.gz version of Logitech Media Server which includes all required CPAN modules.


    If have now spent many hours on each of those three options:
    1. cpan Audio::Scan seemed to work. (After running that, trying to start the server no longer complained about that module.) But the next one, "cpan Image::Scale" just resulted loads of vomit being spewed to my terminal ending with something like Result: FAIL.
    2. I would love to use yum to update the module's package, but _what_ module and _what_ package?
    3. I tried downloadng and running the .tar.gz from http://downloads.slimdevices.com/Log...rver-7.8.0.tgz but when I run it I get exactly the same error as with the rpm installation:

    [root@excession]/opt/logitechmediaserver-7.8.0# ./slimserver.pl
    The following CPAN modules were found but cannot work with Logitech Media Server:
    Image::Scale (loaded 0.08 but missing object file, need 0.08)
    XML::Parser:
    Parser.pm and Expat.pm versions don't match at /opt/logitechmediaserver-7.8.0/CPAN/XML/Parser.pm line 20.
    BEGIN failed--compilation aborted at /opt/logitechmediaserver-7.8.0/CPAN/XML/Parser.pm line 22.
    Compilation failed in require at (eval 99) line 1.
    BEGIN failed--compilation aborted at (eval 99) line 1.


    To fix this problem you have several options:
    1. Install the latest version of the module(s) using CPAN: sudo cpan Some::Module
    2. Update the module's package using apt-get, yum, etc.
    3. Run the .tar.gz version of Logitech Media Server which includes all required CPAN modules.


    Which is weird since the I thought the whole point of the "CPAN" version of the tarball was that it didn't rely on any other Perl crap that might have infested your system.

    If someone can give me some pointers on how to get this thing running, I'd be extremely grateful.

  2. #2
    Junior Member
    Join Date
    Aug 2010
    Posts
    27
    Quote Originally Posted by Stanbey View Post
    Hi, I just switched my OS from Ubuntu to Fedora22 and I have now spent many hours trying to get my music system back online. :-/

    If I download the rpm from http://downloads.slimdevices.com/Log...0-1.noarch.rpm and then install it with:

    [root@excession]~# rpm -U ~rich/Downloads/logitechmediaserver-7.8.0-1.noarch.rpm
    Point your web browser to http://excession.local:9000/ to configure Logitech Media Server.

    but nothing is listening on port 9000.

    Trying to start it, either by systemctl or simply with,

    [root@excession]~# /etc/init.d/squeezeboxserver start
    Starting squeezeboxserver (via systemctl): [ OK ]

    and it says it has started, but again, nothing is running.

    After I eventually found the binary (in /usr/libexec/squeezeboxserver (wtf!?)), and tried invoking it directly, I got this:

    [root@excession]~# /usr/libexec/squeezeboxserver
    The following CPAN modules were found but cannot work with Logitech Media Server:
    Audio::Scan (loaded 0.93 but missing object file, need 0.93)
    Image::Scale (loaded 0.08 but missing object file, need 0.08)
    XML::Parser:
    Parser.pm and Expat.pm versions don't match at /usr/share/squeezeboxserver/CPAN/XML/Parser.pm line 20.
    BEGIN failed--compilation aborted at /usr/share/squeezeboxserver/CPAN/XML/Parser.pm line 22.
    Compilation failed in require at (eval 99) line 1.
    BEGIN failed--compilation aborted at (eval 99) line 1.

    To fix this problem you have several options:
    1. Install the latest version of the module(s) using CPAN: sudo cpan Some::Module
    2. Update the module's package using apt-get, yum, etc.
    3. Run the .tar.gz version of Logitech Media Server which includes all required CPAN modules.


    If have now spent many hours on each of those three options:
    1. cpan Audio::Scan seemed to work. (After running that, trying to start the server no longer complained about that module.) But the next one, "cpan Image::Scale" just resulted loads of vomit being spewed to my terminal ending with something like Result: FAIL.
    2. I would love to use yum to update the module's package, but _what_ module and _what_ package?
    3. I tried downloadng and running the .tar.gz from http://downloads.slimdevices.com/Log...rver-7.8.0.tgz but when I run it I get exactly the same error as with the rpm installation:

    [root@excession]/opt/logitechmediaserver-7.8.0# ./slimserver.pl
    The following CPAN modules were found but cannot work with Logitech Media Server:
    Image::Scale (loaded 0.08 but missing object file, need 0.08)
    XML::Parser:
    Parser.pm and Expat.pm versions don't match at /opt/logitechmediaserver-7.8.0/CPAN/XML/Parser.pm line 20.
    BEGIN failed--compilation aborted at /opt/logitechmediaserver-7.8.0/CPAN/XML/Parser.pm line 22.
    Compilation failed in require at (eval 99) line 1.
    BEGIN failed--compilation aborted at (eval 99) line 1.


    To fix this problem you have several options:
    1. Install the latest version of the module(s) using CPAN: sudo cpan Some::Module
    2. Update the module's package using apt-get, yum, etc.
    3. Run the .tar.gz version of Logitech Media Server which includes all required CPAN modules.


    Which is weird since the I thought the whole point of the "CPAN" version of the tarball was that it didn't rely on any other Perl crap that might have infested your system.

    If someone can give me some pointers on how to get this thing running, I'd be extremely grateful.
    I ran into the same issue a few weeks ago when installing Fedora 22 on an Asus Zenbook 305. I did some Googling and discovered a single logical link that solved the problem.
    As root:

    ln -s /usr/lib/perl5/vendor_perl/Slim /usr/lib64/perl5/vendor_perl/.

    That's it - no other installs or hacks necessary. LMS now runs like a charm.

    Good luck!

  3. #3
    Junior Member
    Join Date
    Jun 2015
    Posts
    7
    That didn't fix it for me. After adding that symlink, when running RPM installation with either Perl 5.20 or perlbrew's 5.18, I get:

    [root@excession]/# /usr/libexec/squeezeboxserver
    The following CPAN modules were found but cannot work with Logitech Media Server:
    Image::Scale:
    Image::Scale object version 0.11 does not match bootstrap parameter 0.08 at /usr/lib64/perl5/DynaLoader.pm line 216.
    Compilation failed in require at (eval 78) line 1.
    BEGIN failed--compilation aborted at (eval 78) line 1.

    XML::Parser:
    Parser.pm and Expat.pm versions don't match at /usr/share/squeezeboxserver/CPAN/XML/Parser.pm line 20.
    BEGIN failed--compilation aborted at /usr/share/squeezeboxserver/CPAN/XML/Parser.pm line 22.
    Compilation failed in require at (eval 99) line 1.
    BEGIN failed--compilation aborted at (eval 99) line 1.


    To fix this problem you have several options:
    1. Install the latest version of the module(s) using CPAN: sudo cpan Some::Module
    2. Update the module's package using apt-get, yum, etc.
    3. Run the .tar.gz version of Logitech Media Server which includes all required CPAN modules.


    When trying to run the .tgz installation with perlbrew's 5.18.4:

    excession# perl ./slimserver.pl
    NOTE: Class::XSAccessor 1.05+ not found, install it for better performance
    Can't locate loadable object for module Media::Scan in @INC (@INC contains: /opt/logitechmediaserver/logitechmediaserver-7.7.5/CPAN/arch/5.18/x86_64-linux /opt/logitechmediaserver/logitechmediaserver-7.7.5/CPAN/arch/5.18/x86_64-linux/auto /opt/logitechmediaserver/logitechmediaserver-7.7.5/CPAN/arch/5.18.4/x86_64-linux /opt/logitechmediaserver/logitechmediaserver-7.7.5/CPAN/arch/5.18.4/x86_64-linux/auto /opt/logitechmediaserver/logitechmediaserver-7.7.5/CPAN/arch/5.18/x86_64-linux /opt/logitechmediaserver/logitechmediaserver-7.7.5/CPAN/arch/5.18/x86_64-linux/auto /opt/logitechmediaserver/logitechmediaserver-7.7.5/CPAN/arch/x86_64-linux /opt/logitechmediaserver/logitechmediaserver-7.7.5/CPAN/arch/5.18 /opt/logitechmediaserver/logitechmediaserver-7.7.5/lib /opt/logitechmediaserver/logitechmediaserver-7.7.5/CPAN /opt/logitechmediaserver/logitechmediaserver-7.7.5 /opt/logitechmediaserver/logitechmediaserver-7.7.5 /root/perl5/perlbrew/perls/perl-5.18.4/lib/site_perl/5.18.4/x86_64-linux /root/perl5/perlbrew/perls/perl-5.18.4/lib/site_perl/5.18.4 /root/perl5/perlbrew/perls/perl-5.18.4/lib/5.18.4/x86_64-linux /root/perl5/perlbrew/perls/perl-5.18.4/lib/5.18.4 .) at /opt/logitechmediaserver/logitechmediaserver-7.7.5/Slim/Utils/Scanner/LMS.pm line 18.
    Compilation failed in require at /opt/logitechmediaserver/logitechmediaserver-7.7.5/Slim/Utils/Scanner/LMS.pm line 18.
    BEGIN failed--compilation aborted at /opt/logitechmediaserver/logitechmediaserver-7.7.5/Slim/Utils/Scanner/LMS.pm line 18.
    Compilation failed in require at /opt/logitechmediaserver/logitechmediaserver-7.7.5/Slim/Control/Commands.pm line 47.
    Compilation failed in require at /opt/logitechmediaserver/logitechmediaserver-7.7.5/Slim/Control/Request.pm line 434.
    BEGIN failed--compilation aborted at /opt/logitechmediaserver/logitechmediaserver-7.7.5/Slim/Control/Request.pm line 434.
    Compilation failed in require at /opt/logitechmediaserver/logitechmediaserver-7.7.5/Slim/Player/Client.pm line 32.
    Compilation failed in require at /opt/logitechmediaserver/logitechmediaserver-7.7.5/Slim/Utils/Alarm.pm line 48.
    BEGIN failed--compilation aborted at /opt/logitechmediaserver/logitechmediaserver-7.7.5/Slim/Utils/Alarm.pm line 48.
    Compilation failed in require at /opt/logitechmediaserver/logitechmediaserver-7.7.5/Slim/Buttons/Alarm.pm line 12.
    BEGIN failed--compilation aborted at /opt/logitechmediaserver/logitechmediaserver-7.7.5/Slim/Buttons/Alarm.pm line 12.
    Compilation failed in require at /opt/logitechmediaserver/logitechmediaserver-7.7.5/Slim/Buttons/Common.pm line 41.
    BEGIN failed--compilation aborted at /opt/logitechmediaserver/logitechmediaserver-7.7.5/Slim/Buttons/Common.pm line 41.
    Compilation failed in require at ./slimserver.pl line 186.
    BEGIN failed--compilation aborted at ./slimserver.pl line 186.


    And with Perl 5.20:

    [root@excession]/opt/logitechmediaserver/logitechmediaserver-7.7.5# ./slimserver.pl
    The following CPAN modules were found but cannot work with Logitech Media Server:
    Image::Scale:
    Image::Scale object version 0.11 does not match bootstrap parameter 0.08 at /usr/lib64/perl5/DynaLoader.pm line 216.
    Compilation failed in require at (eval 78) line 1.
    BEGIN failed--compilation aborted at (eval 78) line 1.

    XML::Parser:
    Parser.pm and Expat.pm versions don't match at /opt/logitechmediaserver/logitechmediaserver-7.7.5/CPAN/XML/Parser.pm line 20.
    BEGIN failed--compilation aborted at /opt/logitechmediaserver/logitechmediaserver-7.7.5/CPAN/XML/Parser.pm line 22.
    Compilation failed in require at (eval 99) line 1.
    BEGIN failed--compilation aborted at (eval 99) line 1.


    To fix this problem you have several options:
    1. Install the latest version of the module(s) using CPAN: sudo cpan Some::Module
    2. Update the module's package using apt-get, yum, etc.
    3. Run the .tar.gz version of Logitech Media Server which includes all required CPAN modules.


    What a nightmare. If it wasn't for that fact that the Squeezebox Boom can only stream from LMS, I would have dumped this turd many hours ago.

    I don't suppose their is a way to hack the Boom's software so it can stream from any standard DNLA server...

Tags for this Thread

Posting Permissions

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