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/slimserver-vendor/tree/public/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: 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.5.1-r9009 + 1 x Squeezebox Boom  + 1 x
Squeezebox Receiver
Squeeze Lite on Raspberry
SqueezeCommander (0.9.6.1) on ACER A1-810
------------------------------------------------------------------------
esa's Profile: http://forums.slimdevices.com/member.php?userid=9362
View this thread: http://forums.slimdevices.com/showthread.php?t=103111

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

Reply via email to