Home of the Squeezebox™ & Transporter® network music players.
Page 2 of 2 FirstFirst 12
Results 11 to 18 of 18
  1. #11
    Member
    Join Date
    Jan 2007
    Location
    Waterloo Belgium
    Posts
    83
    Hi,

    I have followed the instructions (except that I place the package above "“/usr/portage/media-sound ")

    I have uninstalled perl 5.18. Resintalled Perl 5.20.
    Executed "perl-cleaner --reallyall"

    But "logitechmediaserver [ crashed ]"

    If I do "/opt/logitechmediaserver/slimserver.pl --help"

    Code:
    The following modules failed to load: EV JSON::XS YAML::XS Sub::Name
    *******
    NOTE:
    If you're running some unsupported Linux/Unix platform, please use the buildme.sh
    script located here:
    https://github.com/Logitech/slimserver-vendor/tree/public/7.9/CPAN
    Do I something wrong?

    I have two possibilities :
    1) coming back to perl 5.18
    2) receive some help to fix this issue.

    Can you help?
    ASUS S1 D525 ATOM with 2GB on Linux Gentoo i686-linux
    Logitech Media Server Version: 7.9.0 (Previous Version : 7.7.3 - 7.5.5 - r32671)
    Perl Version: Perl Version: 5.20.2 - i686-linux-thread-multi (5.18.2 - i686-linux-thread-multi)
    Database Version: DBD::SQLite 1.34_01 (sqlite 3.7.7.1) (Previously : MySQL : 5.1.70)
    1 x Squeezebox Touch : 7.8.0-r16754 (7.5.1-r9009) + 1 x Squeezebox Boom + 1 x Squeezebox Receiver
    Squeeze Lite on Raspberry
    SqueezeCommander (0.9.6.1) on ACER A1-810

  2. #12
    Senior Member
    Join Date
    Aug 2012
    Location
    Austria
    Posts
    809
    Quote Originally Posted by esa View Post
    I have followed the instructions (except that I place the package above "“/usr/portage/media-sound ")
    I can't really understand what you did from your description.
    So:
    - never manually change anything in /usr/portage
    - roll back everything you did
    - follow the instructions to create a local overlay
    - copy the directory "files" (with it's content) and all ebuilds from here to /usr/local/portage/media-sound/logitechmediaserver-bin before creating the manifest

    2) receive some help to fix this issue.
    It seems you are using the logitechmediaserver-bin-7.9.0_pre20140928 ebuild instead of the logitechmediaserver-bin-9999 ebuild I suggested. Why?

  3. #13
    Member
    Join Date
    Jan 2007
    Location
    Waterloo Belgium
    Posts
    83
    Dear Roland,

    As your propsal, I uninstalled and I followed the instructions.

    To be sure, I describe what I made :
    • Donwload ZIP from here : https://github.com/hickinbottoms/log...ild-for-gentoo
    • unzip logitechmediaserver-bin-ebuild-for-gentoo-master.zip
    • cd to : /logitechmediaserver-bin-ebuild-for-gentoo-master/media-sound/logitechmediaserver-bin
    ls -l
    total 160
    -rw-r--r-- 1 root root 11741 Sep 29 2014 Manifest
    drwxr-xr-x 2 root root 4096 Sep 29 2014 files
    -rw-r--r-- 1 root root 62107 Sep 29 2014 logitechmediaserver-bin-7.8.1_pre20140927.ebuild
    -rw-r--r-- 1 root root 63964 Sep 29 2014 logitechmediaserver-bin-7.9.0_pre20140928.ebuild
    -rw-r--r-- 1 root root 8742 Sep 29 2014 logitechmediaserver-bin-9999.ebuild
    -rw-r--r-- 1 root root 696 Sep 29 2014 metadata.xml

    • cd /usr/local/portage/
    • mkdir media-sound
    • cd media-sound
    • mkdir logitechmediaserver-bin
    • /usr/local/portage/media-sound/logitechmediaserver-bin
    • Copy the directory "files" and all ebuilds to /usr/local/portage/media-sound/logitechmediaserver-bin
    /usr/local/portage/media-sound/logitechmediaserver-bin # ls -l
    -rw-r--r-- 1 root root 11741 Sep 29 2014 Manifest
    drwxr-xr-x 2 root root 4096 Sep 29 2014 files
    -rw-r--r-- 1 root root 62107 Sep 29 2014 logitechmediaserver-bin-7.8.1_pre20140927.ebuild
    -rw-r--r-- 1 root root 63964 Sep 29 2014 logitechmediaserver-bin-7.9.0_pre20140928.ebuild
    -rw-r--r-- 1 root root 8742 Sep 29 2014 logitechmediaserver-bin-9999.ebuild
    -rw-r--r-- 1 root root 696 Sep 29 2014 metadata.xml

    Then I follow the instruction for the OVERLAY.
    Then I changed the perl version to 5.20 in the ebuild

    emerge -aDvt logitechmediaserver-bin

    Calculating dependencies... done!
    [ebuild N *] media-sound/logitechmediaserver-bin-9999::Overlay_esa 0 kB
    The following keyword changes are necessary to proceed:
    (see "package.accept_keywords" in the portage(5) man page for more details)
    # required by logitechmediaserver-bin (argument)
    =media-sound/logitechmediaserver-bin-9999 **
    NOTE: The --autounmask-keep-masks option will prevent emerge
    from creating package.unmask or ** keyword changes.
    Would you like to merge these packages? [Yes/No] y

    >>> Verifying ebuild manifests
    >>> Emerging (1 of 1) media-sound/logitechmediaserver-bin-9999 from Overlay_esa
    >>> Installing (1 of 1) media-sound/logitechmediaserver-bin-9999
    >>> Recording media-sound/logitechmediaserver-bin in "world" favorites file...
    >>> Jobs: 1 of 1 complete Load avg: 1.23, 0.85, 0.53

    So, installation seems to be good.
    But still the same crashed behavior.

    I don't know how to debug, but when I start with : /opt/logitechmediaserver/slimserver.pl
    The following modules failed to load: EV JSON::XS YAML::XS Sub::Name

    Thank for your help.

    PS : I can give a remote connection if you have some time.
    ASUS S1 D525 ATOM with 2GB on Linux Gentoo i686-linux
    Logitech Media Server Version: 7.9.0 (Previous Version : 7.7.3 - 7.5.5 - r32671)
    Perl Version: Perl Version: 5.20.2 - i686-linux-thread-multi (5.18.2 - i686-linux-thread-multi)
    Database Version: DBD::SQLite 1.34_01 (sqlite 3.7.7.1) (Previously : MySQL : 5.1.70)
    1 x Squeezebox Touch : 7.8.0-r16754 (7.5.1-r9009) + 1 x Squeezebox Boom + 1 x Squeezebox Receiver
    Squeeze Lite on Raspberry
    SqueezeCommander (0.9.6.1) on ACER A1-810

  4. #14
    Senior Member
    Join Date
    Aug 2012
    Location
    Austria
    Posts
    809
    Quote Originally Posted by esa View Post
    So, installation seems to be good.
    Looks fine. The only thing is that I would have expected some output from the git checkout.


    Quote Originally Posted by esa View Post
    But still the same crashed behavior.
    I don't know how to debug, but when I start with : /opt/logitechmediaserver/slimserver.pl
    The following modules failed to load: EV JSON::XS YAML::XS Sub::Name
    Can you check
    - the output of perl -V|grep osname
    - the content of /opt/logitechmediaserver/CPAN/arch/5.20/ (should look like this)
    - the lms logfile in /var/log/

  5. #15
    Member
    Join Date
    Jan 2007
    Location
    Waterloo Belgium
    Posts
    83
    Dear Roland,

    Thanks for your help.

    1) How can I get the GIT checkout?

    2) CPAN :
    Code:
    ls -l
    total 332
    drwxr-xr-x 3 root root   4096 Jun 27 22:44 Class
    drwxr-xr-x 8 root root   4096 Jun 27 22:43 DBI
    -rw-r--r-- 1 root root 311651 Jun 27 22:43 DBI.pm
    drwxr-xr-x 3 root root   4096 Jun 27 22:44 JSON
    drwxr-xr-x 3 root root   4096 Jun 27 22:43 arm-linux-gnueabihf-thread-multi-64int
    drwxr-xr-x 3 root root   4096 Jun 27 22:44 i386-linux-thread-multi-64int
    drwxr-xr-x 3 root root   4096 Jun 27 22:43 x86_64-linux-thread-multi
    asuss1 5.20 # pwd
    /opt/logitechmediaserver/CPAN/arch/5.20
    3) LMS LOG
    I don't have a LOG for LMS above /var/log
    But above "/var/log/logitechmediaserver" I have several LOG but with empty size :
    Code:
    -rw-r--r-- 1 logitechmediaserver logitechmediaserver        0 Jun 27 22:43 perfmon.log
    -rw-r--r-- 1 logitechmediaserver logitechmediaserver        0 Jun 27 22:43 scanner.log
    -rw-r--r-- 1 logitechmediaserver logitechmediaserver 16037454 Dec 25  2013 server-v1.log
    -rw-r--r-- 1 logitechmediaserver logitechmediaserver   247832 Apr  6 12:23 server-v2.log
    -rw-r--r-- 1 logitechmediaserver logitechmediaserver        0 Jun 27 22:43 server.log
    -rw-r--r-- 1 logitechmediaserver logitechmediaserver    15823 Jun  5 19:25 spotifyd.log
    -rwxr-xr-x 1 root                root                     341 Dec 29  2013 test.pl
    PS : I'm not on Gentoo but on Funtoo. As it worked before, I hope it won't make the difference.
    ASUS S1 D525 ATOM with 2GB on Linux Gentoo i686-linux
    Logitech Media Server Version: 7.9.0 (Previous Version : 7.7.3 - 7.5.5 - r32671)
    Perl Version: Perl Version: 5.20.2 - i686-linux-thread-multi (5.18.2 - i686-linux-thread-multi)
    Database Version: DBD::SQLite 1.34_01 (sqlite 3.7.7.1) (Previously : MySQL : 5.1.70)
    1 x Squeezebox Touch : 7.8.0-r16754 (7.5.1-r9009) + 1 x Squeezebox Boom + 1 x Squeezebox Receiver
    Squeeze Lite on Raspberry
    SqueezeCommander (0.9.6.1) on ACER A1-810

  6. #16
    Member
    Join Date
    Jan 2007
    Location
    Waterloo Belgium
    Posts
    83
    Hi,
    I managed to make it works after +/- 10 hours!

    As a summarize :
    1) I didn't have a log file created. So I started the LMS with a command like :
    Code:
    perl /opt/logitechmediaserver/slimserver.pl --user logitechmediaserver --prefsdir=/etc/logitechmediaserver --pidfile=/var/run/logitechmediaserver/logitechmediaserver.pid --logdir=/var/log/logitechmediaserver --cachedir=/var/lib/logitechmediaserver/cache
    But it fails : The following modules failed to load: DBI EV XML::Parser::Expat HTML::Parser JSON::XS Digest::SHA1 YAML::XS Sub::Name
    2) I suppose that it is due to perl 5.20 and CPAN 5.20 version.
    I decided to try perl 5.18.
    3) Install Perl5.18 in /opt/perl-lms
    4) Start the LMS with perl 5.18 :
    Code:
    /opt/perl-lms/bin/perl /opt/logitechmediaserver/slimserver.pl --user logitechmediaserver prefsdir=/etc/logitechmediaserver --pidfile=/var/run/logitechmediaserver/logitechmediaserver.pid --logdir=/var/log/logitechmediaserver --cachedir=/var/lib/logitechmediaserver/cache
    It complains about : The following modules failed to load: DBI EV XML::Parser::Expat HTML::Parser JSON::XS Digest::SHA1 YAML::XS Sub::Name
    5) I copy CPAN (build from : Download from : https://github.com/Logitech/slimserv...ublic/7.9/CPAN ) into “/CPAN/arch”
    6) I also have to give the correct rights : chown -R logitechmediaserver:logitechmediaserver /etc/logitechmediaserver
    After this it started without complain.

    7) Change perl version in « scanner.pl » and « slimserver.pl » to « #!/opt/perl-lms/bin/perl » :
    8) now init.d can be used : /etc/init.d/logitechmediaserver start

    It was difficult for me and I was near to give up with my gentoo box.
    Thank for your help.
    Eric
    ASUS S1 D525 ATOM with 2GB on Linux Gentoo i686-linux
    Logitech Media Server Version: 7.9.0 (Previous Version : 7.7.3 - 7.5.5 - r32671)
    Perl Version: Perl Version: 5.20.2 - i686-linux-thread-multi (5.18.2 - i686-linux-thread-multi)
    Database Version: DBD::SQLite 1.34_01 (sqlite 3.7.7.1) (Previously : MySQL : 5.1.70)
    1 x Squeezebox Touch : 7.8.0-r16754 (7.5.1-r9009) + 1 x Squeezebox Boom + 1 x Squeezebox Receiver
    Squeeze Lite on Raspberry
    SqueezeCommander (0.9.6.1) on ACER A1-810

  7. #17
    Junior Member
    Join Date
    Sep 2015
    Location
    Sweden
    Posts
    1
    esa: Thanks for the detailed description! It helped me solve my LMS and Perl 5.20 problems.

    First I tried with the custom perl 5.18 build for just LMS but then I got it working without. So If someone runs into the same LMS and perl mess in the future my steps to finally get it working was something like:

    1. Unmerged LMS (+ removed the Hickinbottoms squeezebox-alt overlay with Layman).
    2. Updated the system
      Code:
      emerge -av --update --changed-use --deep @world
    3. Created a local overlay with the e-builds from Hickinbottoms (copy from github or the squeezebox-alt overlay) but with the perl version requirement changed in "logitechmediaserver-bin-9999.ebuild" to
      Code:
      x86? ( <dev-lang/perl-5.21[ithreads] )
    4. Emerged media-sound/logitechmediaserver-bin-9999
    5. Tested to run LMS which failed since it complained about CPAN.
      Code:
      /usr/bin/perl /opt/logitechmediaserver/slimserver.pl --user logitechmediaserver --prefsdir=/etc/logitechmediaserver  --pidfile=/var/run/logitechmediaserver/logitechmediaserver.pid --logdir=/var/log/logitechmediaserver --cachedir=/var/lib/logitechmediaserver/cache
    6. Downloaded CPAN (from github Logitech/slimserver-vendor) and built with my now default perl 5.20 using the included buildme.sh script.
    7. Copied "build/arch/5.20/*" to /opt/logitechmediaserver/CPAN/arch/5.20/
    8. Started LMS with "/etc/init.d/logitechmediaserver".


    I'm sorry I can't include links to the downloads and such since this is my first post but all links to the git repos and gentoo guides I used can be found in the previous posts in this thread.

    //Kristoffer

  8. #18
    Member
    Join Date
    Jan 2007
    Location
    Waterloo Belgium
    Posts
    83
    Hi,
    Thank Kristoffer.
    I made a description of the procedure to install the LMs with Perl 5.20.
    It can help other with the same issue.

    http://www.0x1.be/esa/dev/2015/10/28...02-ebuild-lms/

    Eric
    ASUS S1 D525 ATOM with 2GB on Linux Gentoo i686-linux
    Logitech Media Server Version: 7.9.0 (Previous Version : 7.7.3 - 7.5.5 - r32671)
    Perl Version: Perl Version: 5.20.2 - i686-linux-thread-multi (5.18.2 - i686-linux-thread-multi)
    Database Version: DBD::SQLite 1.34_01 (sqlite 3.7.7.1) (Previously : MySQL : 5.1.70)
    1 x Squeezebox Touch : 7.8.0-r16754 (7.5.1-r9009) + 1 x Squeezebox Boom + 1 x Squeezebox Receiver
    Squeeze Lite on Raspberry
    SqueezeCommander (0.9.6.1) on ACER A1-810

Posting Permissions

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