mherger wrote:
> > Hi Michael I really hope you can help me solve the last puzzle on
> > running LMS on microcore linux.
>
> I guess microcore isn't recognized as either debian or redhat based
> (which is correct). Thus it falls back to defaults - which assume those
> files in the same folder as the executable (see
> Slim::Utils::OS::Unix::dirsFor('types')).
>
> Michael
Thanks
I copied modules.conf to /usr/sbin and now it got further but in the
end it now complains about perl stuff. Does it mean that I have the
wrong version installed?
So in the beginning eveything seems OK
Code:
--------------------
tc@box:~$ /usr/sbin/squeezeboxserver --d_startupGot @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:
File/Spec.pm =>
/usr/local/lib/perl5/5.18.1/armv6l-linux-thread-multi/File/Spec.pm
warnings.pm => /usr/local/lib/perl5/5.18.1/warnings.pm
B.pm => /usr/local/lib/perl5/5.18.1/armv6l-linux-thread-multi/B.pm
B/Deparse.pm => /usr/local/lib/perl5/5.18.1/B/Deparse.pm
POSIX.pm => /usr/local/lib/perl5/5.18.1/armv6l-linux-thread-multi/POSIX.pm
Getopt/Long.pm => /usr/local/lib/perl5/5.18.1/Getopt/Long.pm
vars.pm => /usr/local/lib/perl5/5.18.1/vars.pm
Time/HiRes.pm =>
/usr/local/lib/perl5/5.18.1/armv6l-linux-thread-multi/Time/HiRes.pm
Digest/base.pm => /usr/local/lib/perl5/5.18.1/Digest/base.pm
Slim/bootstrap.pm => /usr/local/lib/perl5/site_perl/5.18.1/Slim/bootstrap.pm
HTML/Entities.pm =>
/usr/local/lib/perl5/site_perl/5.18.1/armv6l-linux-thread-multi/HTML/Entities.pm
File/Spec/Unix.pm =>
/usr/local/lib/perl5/5.18.1/armv6l-linux-thread-multi/File/Spec/Unix.pm
Slim/Utils/OS/Unix.pm =>
/usr/local/lib/perl5/site_perl/5.18.1/Slim/Utils/OS/Unix.pm
JSON/XS.pm =>
/usr/local/lib/perl5/site_perl/5.18.1/armv6l-linux-thread-multi/JSON/XS.pm
feature.pm => /usr/local/lib/perl5/5.18.1/feature.pm
re.pm => /usr/local/lib/perl5/5.18.1/armv6l-linux-thread-multi/re.pm
Digest/SHA1.pm =>
/usr/local/lib/perl5/site_perl/5.18.1/armv6l-linux-thread-multi/Digest/SHA1.pm
Exporter.pm => /usr/local/lib/perl5/5.18.1/Exporter.pm
base.pm => /usr/local/lib/perl5/5.18.1/base.pm
version.pm => /usr/local/lib/perl5/5.18.1/version.pm
File/Spec/Functions.pm =>
/usr/local/lib/perl5/5.18.1/armv6l-linux-thread-multi/File/Spec/Functions.pm
Slim/Utils/OS.pm => /usr/local/lib/perl5/site_perl/5.18.1/Slim/Utils/OS.pm
Tie/Hash.pm => /usr/local/lib/perl5/5.18.1/Tie/Hash.pm
attributes.pm =>
/usr/local/lib/perl5/5.18.1/armv6l-linux-thread-multi/attributes.pm
Scalar/Util.pm =>
/usr/local/lib/perl5/5.18.1/armv6l-linux-thread-multi/Scalar/Util.pm
File/Basename.pm => /usr/local/lib/perl5/5.18.1/File/Basename.pm
lib.pm => /usr/local/lib/perl5/5.18.1/armv6l-linux-thread-multi/lib.pm
EV.pm => /usr/local/lib/perl5/site_perl/5.18.1/armv6l-linux-thread-multi/EV.pm
Config_heavy.pl =>
/usr/local/lib/perl5/5.18.1/armv6l-linux-thread-multi/Config_heavy.pl
Config.pm => /usr/local/lib/perl5/5.18.1/armv6l-linux-thread-multi/Config.pm
XSLoader.pm => /usr/local/lib/perl5/5.18.1/XSLoader.pm
Symbol.pm => /usr/local/lib/perl5/5.18.1/Symbol.pm
Slim/Utils/OS/Linux.pm =>
/usr/local/lib/perl5/site_perl/5.18.1/Slim/Utils/OS/Linux.pm
Sub/Name.pm =>
/usr/local/lib/perl5/site_perl/5.18.1/armv6l-linux-thread-multi/Sub/Name.pm
DBI.pm =>
/usr/local/lib/perl5/site_perl/5.18.1/armv6l-linux-thread-multi/DBI.pm
common/sense.pm =>
/usr/local/lib/perl5/site_perl/5.18.1/armv6l-linux-thread-multi/common/sense.pm
constant.pm => /usr/local/lib/perl5/5.18.1/constant.pm
HTML/Parser.pm =>
/usr/local/lib/perl5/site_perl/5.18.1/armv6l-linux-thread-multi/HTML/Parser.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
Cwd.pm => /usr/local/lib/perl5/5.18.1/armv6l-linux-thread-multi/Cwd.pm
Carp.pm => /usr/local/lib/perl5/5.18.1/Carp.pm
YAML/XS.pm =>
/usr/local/lib/perl5/site_perl/5.18.1/armv6l-linux-thread-multi/YAML/XS.pm
Types/Serialiser.pm =>
/usr/local/lib/perl5/site_perl/5.18.1/Types/Serialiser.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
List/Util.pm =>
/usr/local/lib/perl5/5.18.1/armv6l-linux-thread-multi/List/Util.pm
overload.pm => /usr/local/lib/perl5/5.18.1/overload.pm
overloading.pm => /usr/local/lib/perl5/5.18.1/overloading.pm
warnings/register.pm => /usr/local/lib/perl5/5.18.1/warnings/register.pm
YAML/XS/LibYAML.pm =>
/usr/local/lib/perl5/site_perl/5.18.1/armv6l-linux-thread-multi/YAML/XS/LibYAML.pm
XML/Parser/Expat.pm =>
/usr/local/lib/perl5/site_perl/5.18.1/armv6l-linux-thread-multi/XML/Parser/Expat.pm
strict.pm => /usr/local/lib/perl5/5.18.1/strict.pm
File/Path.pm => /usr/local/lib/perl5/5.18.1/File/Path.pm
FindBin.pm => /usr/local/lib/perl5/5.18.1/FindBin.pm
Slim/Utils/OSDetect.pm =>
/usr/local/lib/perl5/site_perl/5.18.1/Slim/Utils/OSDetect.pm
--------------------
But then it starts complaining:
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.
--------------------
So are these modules missing?
sTEEN
piCorePlayer a small player for the Raspberry Pi (25MB in RAM).
Homepage: https://sites.google.com/site/picoreplayer/home and
discussion:
http://forums.slimdevices.com/showthread.php?97803-piCoPlayer-Squeezelite-on-Microcore-linux-An-embedded-OS-in-RAM-with-Squeezelite
Squeezeboxserver on Voyage Linux 500 MB CF-card (read-only)
http://forums.slimdevices.com/showthread.php?90581-HOW-TO-install-squeezeboxserver-on-very-small-Linux-(Voyage-linux)
Please 'donate'
(https://www.paypal.com/uk/cgi-bin/webscr?cmd=_flow&SESSION=_Wc9nDqkHvtg-sUXCIrz1nB1Ct8pwHDrBSxETDiHfpX5H6F4Wflav3VBIAK&dispatch=5885d80a13c0db1f8e263663d3faee8d7ff5e1e81f2ed97dd1e90bd72966c40c)
if you like the piCorePlayer
------------------------------------------------------------------------
sbp's Profile: http://forums.slimdevices.com/member.php?userid=37237
View this thread: http://forums.slimdevices.com/showthread.php?t=101281
_______________________________________________
unix mailing list
[email protected]
http://lists.slimdevices.com/mailman/listinfo/unix