Hi,
just tried to install LMS 7.7 or 7.8 on my new ARM box Debian Wheezy build ... got the error message on LMS startup
---------------------------------
The following modules failed to load: DBI EV XML::Parser::Expat HTML::Parser JSON::XS Digest::SHA1 YAML::XS Sub::Name
*******
NOTE:
If you're running some unsupported Linux/Unix platform, please use the buildme.sh
script located here:
svn.slimdevices.com/repos/slim/7.7/trunk/vendor/CPAN
----------------------------------
I presume the problem is an incompatibility of 7.7 and 7.8 LMS CPAN with the wheezy default v5.14.2 PERL
The buildme.sh has executed succesfully and i have the build directory full, but i havnt a clue what to do next ?
anyone any ideas ? and do i need to delete any files first before installing/copying whatever i should from the build directory to wherever it goes
sorry im a bit of a linux newbie ...
thx in advance
ian
Results 1 to 3 of 3
-
2012-06-29, 18:42 #1Junior Member
- Join Date
- Jun 2012
- Posts
- 8
ARM Debian Wheezy ... problems (CPAN) installing Log. Media Server 7.7 or 7.8
-
2012-07-02, 17:16 #2Junior Member
- Join Date
- Jun 2012
- Posts
- 8
as an update and for anyone else going throught he pain of LMS and a new version of PERL :
1. installed PERLBREW and compiled the associated PERL 5.14.2 and CPAN for Armv7l-linux
2. perlbrew switch perl-5.14.2
2. changed in buildme.sh all references to PERL 5.14.1 (the latest PERL version in it was 5.14.1) to 5.14.2
3. executed buildme.sh and some hours later it finished giving me a CPAN direcory that i require
....../build/arch/5.14/armv7l-linux
and this directory appears a mirror of the squeezebox CPAN directory I am supposed to replace with it
i.e.
/usr/share/squeezeboxserver/CPAN/arch/5.14/arm-linux-gnueabi-thread-multi-64int
so i delete the content of the ...64int directory and copy the contents of the ..armv7l-linux directory to it.
I leave perlbrew enabled while i give it a quick test and
squeezeboxserver --d_startup start
and it FAILS with the same message as before attempting to compile CPAN
switch off perlbrew (with perlbrew off) so it uses the native perl 5.14.2
squeezeboxserver stop
squeezeboxserver --d_startup start
and i get the same error message as before compiling CPAN but with a detailed log ( --d_startup option) which i will paste in at the end (and in a second post as this forum limits the post size to 10k characters)
does anyone have any idea what to do next ??
thx in advance
ian
------------------------------------------
BEGIN failed--compilation aborted at /usr/share/squeezeboxserver/CPAN/EV.pm line 127.
Compilation failed in require at (eval 18) line 2.
BEGIN failed--compilation aborted at (eval 18) line 2.
Removing [EV] from the symbol table - load failed.
Removing [common::sense] from the symbol table - load failed.
Module [XML::Parser::Expat] failed to load:
Can't load '/usr/share/squeezeboxserver/CPAN/arch/5.14/arm-linux-gnueabi-thread-multi-64int/auto/XML/Parser/Expat/Expat.so' for module XML::Parser::Expat: /usr/share/squeezeboxserver/CPAN/arch/5.14/arm-linux-gnueabi-thread-multi-64int/auto/XML/Parser/Expat/Expat.so: undefined symbol: PL_stack_sp at /usr/lib/perl/5.14/DynaLoader.pm line 184.
at (eval 19) line 2
Compilation failed in require at (eval 19) line 2.
BEGIN failed--compilation aborted at (eval 19) line 2.
Removing [XML::Parser::Expat] from the symbol table - load failed.
Module [HTML::Parser] failed to load:
Can't load '/usr/share/squeezeboxserver/CPAN/arch/5.14/arm-linux-gnueabi-thread-multi-64int/auto/HTML/Parser/Parser.so' for module HTML::Parser: /usr/share/squeezeboxserver/CPAN/arch/5.14/arm-linux-gnueabi-thread-multi-64int/auto/HTML/Parser/Parser.so: undefined symbol: PL_stack_sp at /usr/lib/perl/5.14/DynaLoader.pm line 184.
at (eval 20) line 2
Compilation failed in require at (eval 20) line 2.
BEGIN failed--compilation aborted at (eval 20) line 2.
Removing [HTML::Parser] from the symbol table - load failed.
Removing [HTML::Entities] from the symbol table - load failed.
Module [JSON::XS] failed to load:
Can't load '/usr/share/squeezeboxserver/CPAN/arch/5.14/arm-linux-gnueabi-thread-multi-64int/auto/JSON/XS/XS.so' for module JSON::XS: /usr/share/squeezeboxserver/CPAN/arch/5.14/arm-linux-gnueabi-thread-multi-64int/auto/JSON/XS/XS.so: undefined symbol: PL_stack_sp at /usr/lib/perl/5.14/DynaLoader.pm line 184.
at (eval 21) line 2
Compilation failed in require at (eval 21) line 2.
BEGIN failed--compilation aborted at (eval 21) line 2.
Removing [JSON::XS] from the symbol table - load failed.
Removing [common::sense] from the symbol table - load failed.
Module [Digest::SHA1] failed to load:
Can't load '/usr/share/squeezeboxserver/CPAN/arch/5.14/arm-linux-gnueabi-thread-multi-64int/auto/Digest/SHA1/SHA1.so' for module Digest::SHA1: /usr/share/squeezeboxserver/CPAN/arch/5.14/arm-linux-gnueabi-thread-multi-64int/auto/Digest/SHA1/SHA1.so: undefined symbol: PL_stack_sp at /usr/lib/perl/5.14/DynaLoader.pm line 184.
at (eval 22) line 2
Compilation failed in require at (eval 22) line 2.
BEGIN failed--compilation aborted at (eval 22) line 2.
Removing [Digest::base] from the symbol table - load failed.
Removing [Digest::SHA1] from the symbol table - load failed.
Module [YAML::XS] failed to load:
Can't load '/usr/share/squeezeboxserver/CPAN/arch/5.14/arm-linux-gnueabi-thread-multi-64int/auto/YAML/XS/LibYAML/LibYAML.so' for module YAML::XS::LibYAML: /usr/share/squeezeboxserver/CPAN/arch/5.14/arm-linux-gnueabi-thread-multi-64int/auto/YAML/XS/LibYAML/LibYAML.so: undefined symbol: PL_stack_sp at /usr/lib/perl/5.14/DynaLoader.pm line 184.
at /usr/share/squeezeboxserver/CPAN/YAML/XS.pm line 18
Compilation failed in require at /usr/share/squeezeboxserver/CPAN/YAML/XS.pm line 18.
BEGIN failed--compilation aborted at /usr/share/squeezeboxserver/CPAN/YAML/XS.pm line 18.
Compilation failed in require at (eval 23) line 2.
BEGIN failed--compilation aborted at (eval 23) line 2.
Removing [YAML::XS] from the symbol table - load failed.
Module [Sub::Name] failed to load:
Can't load '/usr/share/squeezeboxserver/CPAN/arch/5.14/arm-linux-gnueabi-thread-multi-64int/auto/Sub/Name/Name.so' for module Sub::Name: /usr/share/squeezeboxserver/CPAN/arch/5.14/arm-linux-gnueabi-thread-multi-64int/auto/Sub/Name/Name.so: undefined symbol: PL_stack_sp at /usr/lib/perl/5.14/DynaLoader.pm line 184.
at (eval 24) line 2
Compilation failed in require at (eval 24) line 2.
BEGIN failed--compilation aborted at (eval 24) line 2.
Removing [Sub::Name] from the symbol table - load failed.
The following modules are loaded after the first attempt:
Slim/Utils/OS/Debian.pm => /usr/share/perl5/Slim/Utils/OS/Debian.pm
File/Spec/Functions.pm => /usr/lib/perl/5.14/File/Spec/Functions.pm
POSIX.pm => /usr/lib/perl/5.14/POSIX.pm
Getopt/Long.pm => /usr/share/perl/5.14/Getopt/Long.pm
/usr/lib/perl/5.14/auto/POSIX/load_imports.al => /usr/lib/perl/5.14/auto/POSIX/load_imports.al
Tie/Hash.pm => /usr/share/perl/5.14/Tie/Hash.pm
Cwd.pm => /usr/lib/perl/5.14/Cwd.pm
warnings.pm => /usr/share/perl/5.14/warnings.pm
Slim/Utils/OSDetect.pm => /usr/share/perl5/Slim/Utils/OSDetect.pm
/usr/lib/perl/5.14/auto/POSIX/autosplit.ix => /usr/lib/perl/5.14/auto/POSIX/autosplit.ix
Slim/Utils/OS/Linux.pm => /usr/share/perl5/Slim/Utils/OS/Linux.pm
Fcntl.pm => /usr/lib/perl/5.14/Fcntl.pm
Symbol.pm => /usr/share/perl/5.14/Symbol.pm
UNIVERSAL.pm => /usr/share/perl/5.14/UNIVERSAL.pm
Exporter.pm => /usr/share/perl/5.14/Exporter.pm
Slim/Utils/OS.pm => /usr/share/perl5/Slim/Utils/OS.pm
version/vpp.pm => /usr/share/squeezeboxserver/CPAN/version/vpp.pm
File/Spec.pm => /usr/lib/perl/5.14/File/Spec.pm
File/Path.pm => /usr/share/perl/5.14/File/Path.pm
FindBin.pm => /usr/share/perl/5.14/FindBin.pm
locale.pm => /usr/share/perl/5.14/locale.pm
warnings/register.pm => /usr/share/perl/5.14/warnings/register.pm
XSLoader.pm => /usr/share/perl/5.14/XSLoader.pm
Slim/bootstrap.pm => /usr/share/perl5/Slim/bootstrap.pm
Time/HiRes.pm => /usr/lib/perl/5.14/Time/HiRes.pm
version.pm => /usr/share/squeezeboxserver/CPAN/version.pm
Config_git.pl => /usr/lib/perl/5.14/Config_git.pl
base.pm => /usr/share/perl/5.14/base.pm
Config.pm => /usr/lib/perl/5.14/Config.pm
File/Basename.pm => /usr/share/perl/5.14/File/Basename.pm
Carp.pm => /usr/share/perl/5.14/Carp.pm
YAML/XS/LibYAML.pm =>
File/Spec/Unix.pm => /usr/lib/perl/5.14/File/Spec/Unix.pm
Exporter/Heavy.pm => /usr/share/perl/5.14/Exporter/Heavy.pm
vars.pm => /usr/share/perl/5.14/vars.pm
strict.pm => /usr/share/perl/5.14/strict.pm
constant.pm => /usr/share/perl/5.14/constant.pm
Config_heavy.pl => /usr/lib/perl/5.14/Config_heavy.pl
overload.pm => /usr/share/perl/5.14/overload.pm
AutoLoader.pm => /usr/share/perl/5.14/AutoLoader.pm
lib.pm => /usr/lib/perl/5.14/lib.pm
Slim/Utils/OS/Unix.pm => /usr/share/perl5/Slim/Utils/OS/Unix.pm
DynaLoader.pm => /usr/lib/perl/5.14/DynaLoader.pm
The following modules failed to load on the first attempt: [DBI, EV, XML::Parser::Expat, HTML::Parser, JSON::XS, Digest::SHA1, YAML::XS, Sub::Name] - will try again.
Module [DBI] failed to load:
DBI object version 1.622 does not match $DBI::VERSION 1.616 at /usr/lib/perl/5.14/DynaLoader.pm line 207.
BEGIN failed--compilation aborted at /usr/share/squeezeboxserver/CPAN/DBI.pm line 268.
Compilation failed in require at (eval 25) line 2.
BEGIN failed--compilation aborted at (eval 25) line 2.
Removing [DBI] from the symbol table - load failed.
Module [EV] failed to load:
Can't locate loadable object for module EV in @INC (@INC contains: /usr/share/squeezeboxserver/CPAN /usr/share/squeezeboxserver /usr/sbin /etc/perl /usr/local/lib/perl/5.14.2 /usr/local/share/perl/5.14.2 /usr/lib/perl5 /usr/share/perl5 /usr/lib/perl/5.14 /usr/share/perl/5.14 /usr/local/lib/site_perl .) at /usr/share/squeezeboxserver/CPAN/EV.pm line 127
BEGIN failed--compilation aborted at /usr/share/squeezeboxserver/CPAN/EV.pm line 127.
Compilation failed in require at (eval 26) line 2.
BEGIN failed--compilation aborted at (eval 26) line 2.
-
2012-07-02, 17:16 #3Junior Member
- Join Date
- Jun 2012
- Posts
- 8
... and the second part of the log :
Removing [EV] from the symbol table - load failed.
Removing [common::sense] from the symbol table - load failed.
Module [XML::Parser::Expat] failed to load:
Can't locate loadable object for module XML::Parser::Expat in @INC (@INC contains: /usr/share/squeezeboxserver/CPAN /usr/share/squeezeboxserver /usr/sbin /etc/perl /usr/local/lib/perl/5.14.2 /usr/local/share/perl/5.14.2 /usr/lib/perl5 /usr/share/perl5 /usr/lib/perl/5.14 /usr/share/perl/5.14 /usr/local/lib/site_perl .) at (eval 27) line 2
Compilation failed in require at (eval 27) line 2.
BEGIN failed--compilation aborted at (eval 27) line 2.
Removing [XML::Parser::Expat] from the symbol table - load failed.
Module [HTML::Parser] failed to load:
Can't locate loadable object for module HTML::Parser in @INC (@INC contains: /usr/share/squeezeboxserver/CPAN /usr/share/squeezeboxserver /usr/sbin /etc/perl /usr/local/lib/perl/5.14.2 /usr/local/share/perl/5.14.2 /usr/lib/perl5 /usr/share/perl5 /usr/lib/perl/5.14 /usr/share/perl/5.14 /usr/local/lib/site_perl .) at (eval 28) line 2
Compilation failed in require at (eval 28) line 2.
BEGIN failed--compilation aborted at (eval 28) line 2.
Removing [HTML::Parser] from the symbol table - load failed.
Removing [HTML::Entities] from the symbol table - load failed.
Module [JSON::XS] failed to load:
Can't locate loadable object for module JSON::XS in @INC (@INC contains: /usr/share/squeezeboxserver/CPAN /usr/share/squeezeboxserver /usr/sbin /etc/perl /usr/local/lib/perl/5.14.2 /usr/local/share/perl/5.14.2 /usr/lib/perl5 /usr/share/perl5 /usr/lib/perl/5.14 /usr/share/perl/5.14 /usr/local/lib/site_perl .) at (eval 29) line 2
Compilation failed in require at (eval 29) line 2.
BEGIN failed--compilation aborted at (eval 29) line 2.
Removing [JSON::XS] from the symbol table - load failed.
Removing [common::sense] from the symbol table - load failed.
Module [Digest::SHA1] failed to load:
Can't locate loadable object for module Digest::SHA1 in @INC (@INC contains: /usr/share/squeezeboxserver/CPAN /usr/share/squeezeboxserver /usr/sbin /etc/perl /usr/local/lib/perl/5.14.2 /usr/local/share/perl/5.14.2 /usr/lib/perl5 /usr/share/perl5 /usr/lib/perl/5.14 /usr/share/perl/5.14 /usr/local/lib/site_perl .) at (eval 30) line 2
Compilation failed in require at (eval 30) line 2.
BEGIN failed--compilation aborted at (eval 30) line 2.
Removing [Digest::base] from the symbol table - load failed.
Removing [Digest::SHA1] from the symbol table - load failed.
Module [YAML::XS] failed to load:
Attempt to reload YAML/XS/LibYAML.pm aborted.
Compilation failed in require at /usr/share/squeezeboxserver/CPAN/YAML/XS.pm line 18.
BEGIN failed--compilation aborted at /usr/share/squeezeboxserver/CPAN/YAML/XS.pm line 18.
Compilation failed in require at (eval 31) line 2.
BEGIN failed--compilation aborted at (eval 31) line 2.
Removing [YAML::XS] from the symbol table - load failed.
Module [Sub::Name] failed to load:
Can't locate loadable object for module Sub::Name in @INC (@INC contains: /usr/share/squeezeboxserver/CPAN /usr/share/squeezeboxserver /usr/sbin /etc/perl /usr/local/lib/perl/5.14.2 /usr/local/share/perl/5.14.2 /usr/lib/perl5 /usr/share/perl5 /usr/lib/perl/5.14 /usr/share/perl/5.14 /usr/local/lib/site_perl .) at (eval 32) line 2
Compilation failed in require at (eval 32) line 2.
BEGIN failed--compilation aborted at (eval 32) line 2.
Removing [Sub::Name] from the symbol table - load failed.
The following modules are loaded after the second attempt:
Slim/Utils/OS/Debian.pm => /usr/share/perl5/Slim/Utils/OS/Debian.pm
File/Spec/Functions.pm => /usr/lib/perl/5.14/File/Spec/Functions.pm
POSIX.pm => /usr/lib/perl/5.14/POSIX.pm
Getopt/Long.pm => /usr/share/perl/5.14/Getopt/Long.pm
/usr/lib/perl/5.14/auto/POSIX/load_imports.al => /usr/lib/perl/5.14/auto/POSIX/load_imports.al
Tie/Hash.pm => /usr/share/perl/5.14/Tie/Hash.pm
Cwd.pm => /usr/lib/perl/5.14/Cwd.pm
warnings.pm => /usr/share/perl/5.14/warnings.pm
Slim/Utils/OSDetect.pm => /usr/share/perl5/Slim/Utils/OSDetect.pm
/usr/lib/perl/5.14/auto/POSIX/autosplit.ix => /usr/lib/perl/5.14/auto/POSIX/autosplit.ix
Slim/Utils/OS/Linux.pm => /usr/share/perl5/Slim/Utils/OS/Linux.pm
Fcntl.pm => /usr/lib/perl/5.14/Fcntl.pm
Symbol.pm => /usr/share/perl/5.14/Symbol.pm
UNIVERSAL.pm => /usr/share/perl/5.14/UNIVERSAL.pm
Exporter.pm => /usr/share/perl/5.14/Exporter.pm
Slim/Utils/OS.pm => /usr/share/perl5/Slim/Utils/OS.pm
version/vpp.pm => /usr/share/squeezeboxserver/CPAN/version/vpp.pm
File/Spec.pm => /usr/lib/perl/5.14/File/Spec.pm
File/Path.pm => /usr/share/perl/5.14/File/Path.pm
FindBin.pm => /usr/share/perl/5.14/FindBin.pm
locale.pm => /usr/share/perl/5.14/locale.pm
warnings/register.pm => /usr/share/perl/5.14/warnings/register.pm
XSLoader.pm => /usr/share/perl/5.14/XSLoader.pm
Slim/bootstrap.pm => /usr/share/perl5/Slim/bootstrap.pm
Time/HiRes.pm => /usr/lib/perl/5.14/Time/HiRes.pm
version.pm => /usr/share/squeezeboxserver/CPAN/version.pm
Config_git.pl => /usr/lib/perl/5.14/Config_git.pl
base.pm => /usr/share/perl/5.14/base.pm
Config.pm => /usr/lib/perl/5.14/Config.pm
File/Basename.pm => /usr/share/perl/5.14/File/Basename.pm
Carp.pm => /usr/share/perl/5.14/Carp.pm
YAML/XS/LibYAML.pm =>
File/Spec/Unix.pm => /usr/lib/perl/5.14/File/Spec/Unix.pm
Exporter/Heavy.pm => /usr/share/perl/5.14/Exporter/Heavy.pm
vars.pm => /usr/share/perl/5.14/vars.pm
strict.pm => /usr/share/perl/5.14/strict.pm
constant.pm => /usr/share/perl/5.14/constant.pm
Config_heavy.pl => /usr/lib/perl/5.14/Config_heavy.pl
overload.pm => /usr/share/perl/5.14/overload.pm
AutoLoader.pm => /usr/share/perl/5.14/AutoLoader.pm
lib.pm => /usr/lib/perl/5.14/lib.pm
Slim/Utils/OS/Unix.pm => /usr/share/perl5/Slim/Utils/OS/Unix.pm
DynaLoader.pm => /usr/lib/perl/5.14/DynaLoader.pm
The following modules failed to load: DBI EV XML::Parser::Expat HTML::Parser JSON::XS Digest::SHA1 YAML::XS Sub::Name
*******
NOTE:
If you're running some unsupported Linux/Unix platform, please use the buildme.sh
script located here:
http://svn.slimdevices.com/repos/sli...k/vendor/CPAN/
If 7.7 is outdated by the time you read this, Replace "7.7" with the major version
You should never need to do this if you're on Windows or Mac OSX. If the installers
don't work for you, ask for help and/or report a bug.
of Logitech Media Server you are running.
*******
Exiting..

Reply With Quote

