Bug 12391 - Squeezecenter will not run on Debian machine
: Squeezecenter will not run on Debian machine
Status: RESOLVED INVALID
Product: Logitech Media Server
Classification: Unclassified
Component: RPM
: 7.3.2
: PC Debian Linux
: -- normal (vote)
: Investigating
Assigned To: Ross Levine
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2009-06-16 10:10 UTC by Osama Zaidan
Modified: 2009-06-22 11:32 UTC (History)
2 users (show)

See Also:
Category: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Osama Zaidan 2009-06-16 10:10:38 UTC
Customer installed Squeezecenter 7.3.2 on a Debian 4 machine with Perl 5.8 and MySql Server 5 installed. The Squeezecenter installation runs with no errors and when he runs /etc/init.d/squeezecenter start, it seems to start with no error but if he goes to http://ipaddress:9000 he gets the message connection refused.
When he looks in the server.log file, he notes "Squeezecenter died. Restarting" every 5 seconds or so.


Running the server log from the command line, here is what he gets; 

root@NAS:/usr/sbin# ./squeezecenter-server --d_serverThe following modules failed to load: version XML::Parser::Expat HTML::Parser JSON::XS Compress::Zlib Digest::SHA1 YAML::Syck

To download and compile them, please run: /usr/sbin/Bin/build-perl-modules.pl version XML::Parser::Expat HTML::Parser JSON::XS Compress::Zlib Digest::SHA1 YAML::Syck

Exiting


RN = 090608-002566
Comment 1 Ross Levine 2009-06-18 13:08:31 UTC
X86? 64bit? Tell us more about the platform. He shouldn't need to install build-perl-modules.pl, but it appears as though that is the issue.
Comment 2 K Buddie 2009-06-21 13:15:30 UTC
Hi,
This is a 32 bit machine. The machine is a Buffalo Linkstation Live running a custom debian distribution, more information on this page:
http://buffalo.nas-central.org/index.php/Category:FreeLink
The kernel version is 2.6.12.6-arm1

I have tried to run build-perl-modules.pl and I get the error below. Please advise if I am entering the correct parameters and if not, how I can fix the error. Thanks 

-------------------------------------------------------------------------------------

root@NAS:/# /usr/share/squeezecenter/Bin/build-perl-modules.pl
Welcome to the Slim Devices perl module installer.

These packages are needed for SqueezeCenter to function.
You will need a C compiler (gcc), make, and perl installed.

You will need development libraries for MySQL. eg: libmysqlclient

You will need development libraries for expat. eg: libexpat1-dev

*** Ignore any warnings about AppConfig. ***

Please enter a perl binary to use (defaults to /usr/bin/perl)
This must be the same perl binary that you ran this program with --> 
Please enter the path to your SqueezeCenter directory (ex: /usr/local/slimserver) --> /usr/share/squeezecenter
Please enter a directory to download files to --> /usr/share/squeezecenter/perlmodules
Downloads will use lwp to fetch tarballs.

Downloading Class-XSAccessor-Array-0.05.tar.gz to: /usr/share/squeezecenter/perlmodules
Can't locate auto/Compress/Zlib/autosplit.ix in @INC (@INC contains: /usr/local/slimserver/CPAN /usr/share/squeezecenter/CPAN CPAN /etc/perl /usr/local/lib/perl/5.8.8 /usr/local/share/perl/5.8.8 /usr/lib/perl5 /usr/share/perl5 /usr/lib/perl/5.8 /usr/share/perl/5.8 /usr/local/lib/site_perl .) at /usr/share/perl/5.8/AutoLoader.pm line 160, <STDIN> line 3.
 at /usr/share/squeezecenter/CPAN/Compress/Zlib.pm line 15
Uncompressing..
Configuring..
 /usr/bin/perl Makefile.PL 
WARNING: LICENSE is not a known parameter.
Warning: prerequisite AutoXS::Header 0.02 not found.
Building..
Can't locate AutoXS/Header.pm in @INC (@INC contains: /usr/share/squeezecenter/CPAN /etc/perl /usr/local/lib/perl/5.8.8 /usr/local/share/perl/5.8.8 /usr/lib/perl5 /usr/share/perl5 /usr/lib/perl/5.8 /usr/share/perl/5.8 /usr/local/lib/site_perl .).
BEGIN failed--compilation aborted.
make: *** [linkext] Error 2
Can't stat blib: No such file or directory
 at /usr/share/squeezecenter/Bin/build-perl-modules.pl line 305
Couldn't find a valid dynamic library for Class-XSAccessor-Array-0.05.tar.gz - something is wrong. Exiting!
Comment 3 Ross Levine 2009-06-22 11:32:47 UTC
(In reply to comment #2)
> root@NAS:/# /usr/share/squeezecenter/Bin/build-perl-modules.pl
> Welcome to the Slim Devices perl module installer.
> 
> These packages are needed for SqueezeCenter to function.
> You will need a C compiler (gcc), make, and perl installed.
> 
> You will need development libraries for MySQL. eg: libmysqlclient
> 
> You will need development libraries for expat. eg: libexpat1-dev

Thanks K Buddie. I'm sorry but this isn't in our range of officially supported platforms. 

As you can see quoted above, your system needs some libraries. If you need help with getting these libraries our linux forum or buffalo support should be helpful.