dCore Import Debian Packages to Mountable SCE extensions > dCore x86 Imported Extensions
Logitech Media Server
sbp:
Hi I followed the as always good advice from bmarkus and build the missing perl modules.
Now all the perl modules are found and loaded and when almost finished it seems like it just need the correct path to the modules.conf
But I can't find this file?
Steen
--- Code: ---tc@box:~$ /usr/sbin/squeezeboxserver --d_startup --failsafe
Got @INC containing:
/usr/sbin
/usr/local/lib/perl5/site_perl/5.18.1/armv6l-linux-thread-multi
/usr/local/lib/perl5/site_perl/5.18.1
/usr/local/lib/perl5/5.18.1/armv6l-linux-thread-multi
/usr/local/lib/perl5/5.18.1
/usr/local/lib/perl5/site_perl
.
Extended @INC to contain:
/usr/sbin/CPAN/arch/5.18/arm-linux-gnueabi-thread-multi
/usr/sbin/CPAN/arch/5.18/arm-linux-gnueabi-thread-multi/auto
/usr/sbin/CPAN/arch/5.18.1/armv6l-linux-thread-multi
/usr/sbin/CPAN/arch/5.18.1/armv6l-linux-thread-multi/auto
/usr/sbin/CPAN/arch/5.18/armv6l-linux-thread-multi
/usr/sbin/CPAN/arch/5.18/armv6l-linux-thread-multi/auto
/usr/sbin/CPAN/arch/armv6l-linux-thread-multi
/usr/sbin/lib
/usr/sbin/CPAN
/usr/sbin
/usr/sbin
/usr/local/lib/perl5/site_perl/5.18.1/armv6l-linux-thread-multi
/usr/local/lib/perl5/site_perl/5.18.1
/usr/local/lib/perl5/5.18.1/armv6l-linux-thread-multi
/usr/local/lib/perl5/5.18.1
/usr/local/lib/perl5/site_perl
.
Loaded module: [version] ok!
Loaded module: [Time::HiRes] ok!
Loaded module: [DBI] ok!
Loaded module: [EV] ok!
Loaded module: [XML::Parser::Expat] ok!
Loaded module: [HTML::Parser] ok!
Loaded module: [JSON::XS] ok!
Loaded module: [Digest::SHA1] ok!
Loaded module: [YAML::XS] ok!
Loaded module: [Sub::Name] ok!
The following modules are loaded after the first attempt:
POSIX.pm => /usr/local/lib/perl5/5.18.1/armv6l-linux-thread-multi/POSIX.pm
HTML/Parser.pm => /usr/local/lib/perl5/site_perl/5.18.1/armv6l-linux-thread-multi/HTML/Parser.pm
Slim/Utils/OSDetect.pm => /usr/local/lib/perl5/site_perl/5.18.1/Slim/Utils/OSDetect.pm
Digest/SHA1.pm => /usr/local/lib/perl5/site_perl/5.18.1/armv6l-linux-thread-multi/Digest/SHA1.pm
base.pm => /usr/local/lib/perl5/5.18.1/base.pm
FindBin.pm => /usr/local/lib/perl5/5.18.1/FindBin.pm
DynaLoader.pm => /usr/local/lib/perl5/5.18.1/armv6l-linux-thread-multi/DynaLoader.pm
Fcntl.pm => /usr/local/lib/perl5/5.18.1/armv6l-linux-thread-multi/Fcntl.pm
warnings/register.pm => /usr/local/lib/perl5/5.18.1/warnings/register.pm
B.pm => /usr/local/lib/perl5/5.18.1/armv6l-linux-thread-multi/B.pm
constant.pm => /usr/local/lib/perl5/5.18.1/constant.pm
Exporter.pm => /usr/local/lib/perl5/5.18.1/Exporter.pm
EV.pm => /usr/local/lib/perl5/site_perl/5.18.1/armv6l-linux-thread-multi/EV.pm
File/Spec/Functions.pm => /usr/local/lib/perl5/5.18.1/armv6l-linux-thread-multi/File/Spec/Functions.pm
HTML/Entities.pm => /usr/local/lib/perl5/site_perl/5.18.1/armv6l-linux-thread-multi/HTML/Entities.pm
Slim/Utils/OS.pm => /usr/local/lib/perl5/site_perl/5.18.1/Slim/Utils/OS.pm
lib.pm => /usr/local/lib/perl5/5.18.1/armv6l-linux-thread-multi/lib.pm
Exporter/Heavy.pm => /usr/local/lib/perl5/5.18.1/Exporter/Heavy.pm
Config_git.pl => /usr/local/lib/perl5/5.18.1/armv6l-linux-thread-multi/Config_git.pl
overload.pm => /usr/local/lib/perl5/5.18.1/overload.pm
YAML/XS.pm => /usr/local/lib/perl5/site_perl/5.18.1/armv6l-linux-thread-multi/YAML/XS.pm
Sub/Name.pm => /usr/local/lib/perl5/site_perl/5.18.1/armv6l-linux-thread-multi/Sub/Name.pm
Scalar/Util.pm => /usr/local/lib/perl5/5.18.1/armv6l-linux-thread-multi/Scalar/Util.pm
XML/Parser/Expat.pm => /usr/local/lib/perl5/site_perl/5.18.1/armv6l-linux-thread-multi/XML/Parser/Expat.pm
common/sense.pm => /usr/local/lib/perl5/site_perl/5.18.1/armv6l-linux-thread-multi/common/sense.pm
Config_heavy.pl => /usr/local/lib/perl5/5.18.1/armv6l-linux-thread-multi/Config_heavy.pl
feature.pm => /usr/local/lib/perl5/5.18.1/feature.pm
Symbol.pm => /usr/local/lib/perl5/5.18.1/Symbol.pm
Slim/Utils/OS/Unix.pm => /usr/local/lib/perl5/site_perl/5.18.1/Slim/Utils/OS/Unix.pm
vars.pm => /usr/local/lib/perl5/5.18.1/vars.pm
File/Spec/Unix.pm => /usr/local/lib/perl5/5.18.1/armv6l-linux-thread-multi/File/Spec/Unix.pm
YAML/XS/LibYAML.pm => /usr/local/lib/perl5/site_perl/5.18.1/armv6l-linux-thread-multi/YAML/XS/LibYAML.pm
File/Spec.pm => /usr/local/lib/perl5/5.18.1/armv6l-linux-thread-multi/File/Spec.pm
File/Basename.pm => /usr/local/lib/perl5/5.18.1/File/Basename.pm
attributes.pm => /usr/local/lib/perl5/5.18.1/armv6l-linux-thread-multi/attributes.pm
Slim/Utils/OS/Linux.pm => /usr/local/lib/perl5/site_perl/5.18.1/Slim/Utils/OS/Linux.pm
DBI.pm => /usr/local/lib/perl5/site_perl/5.18.1/armv6l-linux-thread-multi/DBI.pm
strict.pm => /usr/local/lib/perl5/5.18.1/strict.pm
Digest/base.pm => /usr/local/lib/perl5/5.18.1/Digest/base.pm
B/Deparse.pm => /usr/local/lib/perl5/5.18.1/B/Deparse.pm
version.pm => /usr/local/lib/perl5/5.18.1/version.pm
Carp.pm => /usr/local/lib/perl5/5.18.1/Carp.pm
warnings.pm => /usr/local/lib/perl5/5.18.1/warnings.pm
Cwd.pm => /usr/local/lib/perl5/5.18.1/armv6l-linux-thread-multi/Cwd.pm
Getopt/Long.pm => /usr/local/lib/perl5/5.18.1/Getopt/Long.pm
overloading.pm => /usr/local/lib/perl5/5.18.1/overloading.pm
Config.pm => /usr/local/lib/perl5/5.18.1/armv6l-linux-thread-multi/Config.pm
JSON/XS.pm => /usr/local/lib/perl5/site_perl/5.18.1/armv6l-linux-thread-multi/JSON/XS.pm
Tie/Hash.pm => /usr/local/lib/perl5/5.18.1/Tie/Hash.pm
Time/HiRes.pm => /usr/local/lib/perl5/5.18.1/armv6l-linux-thread-multi/Time/HiRes.pm
Types/Serialiser.pm => /usr/local/lib/perl5/site_perl/5.18.1/Types/Serialiser.pm
List/Util.pm => /usr/local/lib/perl5/5.18.1/armv6l-linux-thread-multi/List/Util.pm
XSLoader.pm => /usr/local/lib/perl5/5.18.1/XSLoader.pm
Slim/bootstrap.pm => /usr/local/lib/perl5/site_perl/5.18.1/Slim/bootstrap.pm
re.pm => /usr/local/lib/perl5/5.18.1/armv6l-linux-thread-multi/re.pm
File/Path.pm => /usr/local/lib/perl5/5.18.1/File/Path.pm
The following modules are loaded after the second attempt:
POSIX.pm => /usr/local/lib/perl5/5.18.1/armv6l-linux-thread-multi/POSIX.pm
HTML/Parser.pm => /usr/local/lib/perl5/site_perl/5.18.1/armv6l-linux-thread-multi/HTML/Parser.pm
Slim/Utils/OSDetect.pm => /usr/local/lib/perl5/site_perl/5.18.1/Slim/Utils/OSDetect.pm
Digest/SHA1.pm => /usr/local/lib/perl5/site_perl/5.18.1/armv6l-linux-thread-multi/Digest/SHA1.pm
base.pm => /usr/local/lib/perl5/5.18.1/base.pm
FindBin.pm => /usr/local/lib/perl5/5.18.1/FindBin.pm
DynaLoader.pm => /usr/local/lib/perl5/5.18.1/armv6l-linux-thread-multi/DynaLoader.pm
Fcntl.pm => /usr/local/lib/perl5/5.18.1/armv6l-linux-thread-multi/Fcntl.pm
warnings/register.pm => /usr/local/lib/perl5/5.18.1/warnings/register.pm
B.pm => /usr/local/lib/perl5/5.18.1/armv6l-linux-thread-multi/B.pm
constant.pm => /usr/local/lib/perl5/5.18.1/constant.pm
Exporter.pm => /usr/local/lib/perl5/5.18.1/Exporter.pm
EV.pm => /usr/local/lib/perl5/site_perl/5.18.1/armv6l-linux-thread-multi/EV.pm
File/Spec/Functions.pm => /usr/local/lib/perl5/5.18.1/armv6l-linux-thread-multi/File/Spec/Functions.pm
HTML/Entities.pm => /usr/local/lib/perl5/site_perl/5.18.1/armv6l-linux-thread-multi/HTML/Entities.pm
Slim/Utils/OS.pm => /usr/local/lib/perl5/site_perl/5.18.1/Slim/Utils/OS.pm
lib.pm => /usr/local/lib/perl5/5.18.1/armv6l-linux-thread-multi/lib.pm
Exporter/Heavy.pm => /usr/local/lib/perl5/5.18.1/Exporter/Heavy.pm
Config_git.pl => /usr/local/lib/perl5/5.18.1/armv6l-linux-thread-multi/Config_git.pl
overload.pm => /usr/local/lib/perl5/5.18.1/overload.pm
YAML/XS.pm => /usr/local/lib/perl5/site_perl/5.18.1/armv6l-linux-thread-multi/YAML/XS.pm
Sub/Name.pm => /usr/local/lib/perl5/site_perl/5.18.1/armv6l-linux-thread-multi/Sub/Name.pm
Scalar/Util.pm => /usr/local/lib/perl5/5.18.1/armv6l-linux-thread-multi/Scalar/Util.pm
XML/Parser/Expat.pm => /usr/local/lib/perl5/site_perl/5.18.1/armv6l-linux-thread-multi/XML/Parser/Expat.pm
common/sense.pm => /usr/local/lib/perl5/site_perl/5.18.1/armv6l-linux-thread-multi/common/sense.pm
Config_heavy.pl => /usr/local/lib/perl5/5.18.1/armv6l-linux-thread-multi/Config_heavy.pl
feature.pm => /usr/local/lib/perl5/5.18.1/feature.pm
Symbol.pm => /usr/local/lib/perl5/5.18.1/Symbol.pm
Slim/Utils/OS/Unix.pm => /usr/local/lib/perl5/site_perl/5.18.1/Slim/Utils/OS/Unix.pm
vars.pm => /usr/local/lib/perl5/5.18.1/vars.pm
File/Spec/Unix.pm => /usr/local/lib/perl5/5.18.1/armv6l-linux-thread-multi/File/Spec/Unix.pm
YAML/XS/LibYAML.pm => /usr/local/lib/perl5/site_perl/5.18.1/armv6l-linux-thread-multi/YAML/XS/LibYAML.pm
File/Spec.pm => /usr/local/lib/perl5/5.18.1/armv6l-linux-thread-multi/File/Spec.pm
File/Basename.pm => /usr/local/lib/perl5/5.18.1/File/Basename.pm
attributes.pm => /usr/local/lib/perl5/5.18.1/armv6l-linux-thread-multi/attributes.pm
Slim/Utils/OS/Linux.pm => /usr/local/lib/perl5/site_perl/5.18.1/Slim/Utils/OS/Linux.pm
DBI.pm => /usr/local/lib/perl5/site_perl/5.18.1/armv6l-linux-thread-multi/DBI.pm
strict.pm => /usr/local/lib/perl5/5.18.1/strict.pm
Digest/base.pm => /usr/local/lib/perl5/5.18.1/Digest/base.pm
B/Deparse.pm => /usr/local/lib/perl5/5.18.1/B/Deparse.pm
version.pm => /usr/local/lib/perl5/5.18.1/version.pm
Carp.pm => /usr/local/lib/perl5/5.18.1/Carp.pm
warnings.pm => /usr/local/lib/perl5/5.18.1/warnings.pm
Cwd.pm => /usr/local/lib/perl5/5.18.1/armv6l-linux-thread-multi/Cwd.pm
Getopt/Long.pm => /usr/local/lib/perl5/5.18.1/Getopt/Long.pm
overloading.pm => /usr/local/lib/perl5/5.18.1/overloading.pm
Config.pm => /usr/local/lib/perl5/5.18.1/armv6l-linux-thread-multi/Config.pm
JSON/XS.pm => /usr/local/lib/perl5/site_perl/5.18.1/armv6l-linux-thread-multi/JSON/XS.pm
Tie/Hash.pm => /usr/local/lib/perl5/5.18.1/Tie/Hash.pm
Time/HiRes.pm => /usr/local/lib/perl5/5.18.1/armv6l-linux-thread-multi/Time/HiRes.pm
Types/Serialiser.pm => /usr/local/lib/perl5/site_perl/5.18.1/Types/Serialiser.pm
List/Util.pm => /usr/local/lib/perl5/5.18.1/armv6l-linux-thread-multi/List/Util.pm
XSLoader.pm => /usr/local/lib/perl5/5.18.1/XSLoader.pm
Slim/bootstrap.pm => /usr/local/lib/perl5/site_perl/5.18.1/Slim/bootstrap.pm
re.pm => /usr/local/lib/perl5/5.18.1/armv6l-linux-thread-multi/re.pm
File/Path.pm => /usr/local/lib/perl5/5.18.1/File/Path.pm
modules.conf not found at /usr/local/lib/perl5/site_perl/5.18.1/Slim/bootstrap.pm line 352.
BEGIN failed--compilation aborted at /usr/sbin/squeezeboxserver line 144.
tc@box:~$
--- End code ---
sbp:
OK
Got a little further.
According to Michael Herger (the developer of LMS) LMS can detect which distro it is running on and adjust the different path accordingly. As it does not recognize microcore it needs modules.conf in usr/sbin
So after doing:
tc@box:~$ sudo cp -p /etc/squeezeboxserver/modules.conf /usr/sbin/modules.conf
It got further - but now once again complain about some perl stuff. I don't quite understand - are the perl modules needed different from what are available?
--- Code: ---The following CPAN modules were found but cannot work with Logitech Media Server:
AnyEvent (loaded <not found>, need 5.202)
Audio::Scan (loaded <not found>, need 0.93)
Cache::Cache (loaded <not found>, need 1.04)
Class::Data::Inheritable (loaded <not found>, need 0.04)
Class::Inspector (loaded <not found>, need 1.16)
DBIx::Class (loaded <not found>, need 0.08112)
Data::URIEncode (loaded <not found>, need 0.11)
Date::Parse (loaded <not found>, need 2.27)
File::BOM (loaded <not found>, need 0.13)
File::Next (loaded <not found>, need 1.06)
File::Which (loaded <not found>, need 0.05)
IO::String (loaded <not found>, need 1.07)
Image::Scale (loaded <not found>, need 0.08)
JSON::XS::VersionOneAndTwo (loaded <not found>, need 0.31)
LWP (loaded <not found>, need 5.805)
Log::Log4perl (loaded <not found>, need 1.23)
Path::Class (loaded <not found>, need 0.17)
Proc::Background (loaded <not found>, need 1.08)
SQL::Abstract (loaded <not found>, need 1.56)
Text::Unidecode (loaded <not found>, need 0.04)
Tie::Cache::LRU (loaded <not found>, need 0.21)
Tie::RegexpHash (loaded <not found>, need 0.13)
Time::Zone (loaded <not found>, need 2.22)
URI (loaded <not found>, need 1.35)
XML::Simple (loaded <not found>, need 2.15)
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.
--- End code ---
/Steen
bmarkus:
--- Quote from: sbp on April 01, 2014, 04:38:40 PM ---
--- Code: ---The following CPAN modules were found but cannot work with Logitech Media Server:
AnyEvent (loaded <not found>, need 5.202)
Audio::Scan (loaded <not found>, need 0.93)
Cache::Cache (loaded <not found>, need 1.04)
Class::Data::Inheritable (loaded <not found>, need 0.04)
Class::Inspector (loaded <not found>, need 1.16)
DBIx::Class (loaded <not found>, need 0.08112)
Data::URIEncode (loaded <not found>, need 0.11)
Date::Parse (loaded <not found>, need 2.27)
File::BOM (loaded <not found>, need 0.13)
File::Next (loaded <not found>, need 1.06)
File::Which (loaded <not found>, need 0.05)
IO::String (loaded <not found>, need 1.07)
Image::Scale (loaded <not found>, need 0.08)
JSON::XS::VersionOneAndTwo (loaded <not found>, need 0.31)
LWP (loaded <not found>, need 5.805)
Log::Log4perl (loaded <not found>, need 1.23)
Path::Class (loaded <not found>, need 0.17)
Proc::Background (loaded <not found>, need 1.08)
SQL::Abstract (loaded <not found>, need 1.56)
Text::Unidecode (loaded <not found>, need 0.04)
Tie::Cache::LRU (loaded <not found>, need 0.21)
Tie::RegexpHash (loaded <not found>, need 0.13)
Time::Zone (loaded <not found>, need 2.22)
URI (loaded <not found>, need 1.35)
XML::Simple (loaded <not found>, need 2.15)
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.
--- End code ---
/Steen
--- End quote ---
They are <not found> which means they are missing. Install from CPAN as the first bunch of modules. Title error message is not true.
sbp:
Thanks
Will do - I already have the first 10 modules build.
And the error message for these modules disappear when I try to start LMS - so I think there is light at the end of the tunnel.
Can I somehow build these modules into something useful for you?
Is it easy to pack them into tcz packages?
Steen
bmarkus:
--- Quote from: sbp on April 01, 2014, 06:24:12 PM ---
Can I somehow build these modules into something useful for you?
Is it easy to pack them into tcz packages?
--- End quote ---
Sure! You can create tcz's for them and we can add to the repo. Use perl_xml_parser.tcz as a template. It is not difficult to create the tcz, just takes some time. Maybe would be good to have some parts scripted, but I havn't such tool.
Make one and email to check. If you stucked, PM.
Navigation
[0] Message Index
[#] Next page
[*] Previous page
Go to full version