Re: [SlimDevices: SqueezeCenter] Failed install on Debian Bullseye and looking for help

2022-10-24 Thread Greg Deitrick


mherger wrote: 
> >  Can't locate loadable object for module DBI in @INC (@INC
> contains: /usr/share/squeezeboxserver/CPAN /etc/perl
> /usr/local/lib/i386-linux-gnu/perl/5.32.1 /usr/local/share/perl/5.32.1
> /usr/lib/i386-linux-gnu/perl5/5.32 /usr/share/perl5
> /usr/lib/i386-linux-gnu/perl-base /usr/lib/i386-linux-gnu/perl/5.32
> /usr/share/perl/5.32 /usr/local/lib/site_perl) at
> /usr/share/squeezeboxserver/CPAN/DBI.pm line 268.
> 
> We don't have support for Perl 5.32 on i386. You'll have to compile 
> those binaries yourself. Or update to x86_64.

I guess I got lucky.  Bullseye amd64 installed on my Intel Atom system. 
And LMS installed with no problems.  Thank you for the help.



Greg Deitrick's Profile: http://forums.slimdevices.com/member.php?userid=73103
View this thread: http://forums.slimdevices.com/showthread.php?t=116972

___
Squeezecenter mailing list
Squeezecenter@lists.slimdevices.com
http://lists.slimdevices.com/mailman/listinfo/squeezecenter


Re: [SlimDevices: SqueezeCenter] Failed install on Debian Bullseye and looking for help

2022-10-24 Thread Man in a van


Man in a van wrote: 
> I assume this is a headles install, Lms won't work on 32 bit unless you
> build the binaries, but that is possible.
> 
> I suggest you start again 
> 
> Do not use root but make a new user and install as new user
> 
> I did this earlier in the year but I have the faint memory that the base
> install is a little lacking in the required packages
> 
> So I offer this for your consideration:
> 
> sudo apt update
> 
> wget -O logitechmediaserver_i386.deb $(wget -q -O -
> "https://www.mysqueezebox.com/update/?version=8.2.1=1=1=debi386;)
> 
> sudo apt install -y ./logitechmediaserver_i386.deb
> 
> that should install LMS
> 
> There are a few threads on building the binaries, but for reference you
> need
> 
> https://github.com/Logitech/slimserver-vendor/tree/public/8.3/CPAN
> and
> https://github.com/Logitech/slimserver-vendor/tree/public/8.3
> 
> ronnie

Here is a link

https://forums.slimdevices.com/showthread.php?116395-LMS-Won-t-Start-on-Ubuntu-22-04=1056363=1#post1056363



Man in a van's Profile: http://forums.slimdevices.com/member.php?userid=43627
View this thread: http://forums.slimdevices.com/showthread.php?t=116972

___
Squeezecenter mailing list
Squeezecenter@lists.slimdevices.com
http://lists.slimdevices.com/mailman/listinfo/squeezecenter


Re: [SlimDevices: SqueezeCenter] Failed install on Debian Bullseye and looking for help

2022-10-24 Thread Man in a van


I assume this is a headles install, Lms won't work on 32 bit unless you
build the binaries, but that is possible.

I suggest you start again 

Do not use root but make a new user and install as new user

I did this earlier in the year but I have the faint memory that the base
install is a little lacking in the required packages

So I offer this for your consideration:

sudo apt update

wget -O logitechmediaserver_i386.deb $(wget -q -O -
"https://www.mysqueezebox.com/update/?version=8.2.1=1=1=debi386;)

sudo apt install -y ./logitechmediaserver_i386.deb

that should install LMS

There are a few threads on building the binaries, but for reference you
need

https://github.com/Logitech/slimserver-vendor/tree/public/8.3/CPAN
and
https://github.com/Logitech/slimserver-vendor/tree/public/8.3

ronnie



Man in a van's Profile: http://forums.slimdevices.com/member.php?userid=43627
View this thread: http://forums.slimdevices.com/showthread.php?t=116972

___
Squeezecenter mailing list
Squeezecenter@lists.slimdevices.com
http://lists.slimdevices.com/mailman/listinfo/squeezecenter


Re: [SlimDevices: SqueezeCenter] Failed install on Debian Bullseye and looking for help

2022-10-24 Thread Michael Herger

 Can't locate loadable object for module DBI in @INC (@INC contains: 
/usr/share/squeezeboxserver/CPAN /etc/perl 
/usr/local/lib/i386-linux-gnu/perl/5.32.1 /usr/local/share/perl/5.32.1 
/usr/lib/i386-linux-gnu/perl5/5.32 /usr/share/perl5 
/usr/lib/i386-linux-gnu/perl-base /usr/lib/i386-linux-gnu/perl/5.32 
/usr/share/perl/5.32 /usr/local/lib/site_perl) at 
/usr/share/squeezeboxserver/CPAN/DBI.pm line 268.


We don't have support for Perl 5.32 on i386. You'll have to compile 
those binaries yourself. Or update to x86_64.

___
Squeezecenter mailing list
Squeezecenter@lists.slimdevices.com
http://lists.slimdevices.com/mailman/listinfo/squeezecenter


[SlimDevices: SqueezeCenter] Failed install on Debian Bullseye and looking for help

2022-10-24 Thread Greg Deitrick


I am hoping someone can help me get Logitech Media Server running on a
Debian Bullseye i386 system.

I did a fresh install of Bullseye i386.  I installed only the base
system and ssh server.  I ran (as root):


Code:

dpkg -i logitechmediaserver_8.2.0_i386.deb



The response was the package was not installed due to unmet dependencies
on libio-socket-ssl-perl.  So:


Code:

apt-get install libio-socket-ssl-perl



This responded that there was still a broken install and suggested the
following command that I ran:


Code:

apt --fix-broken install



That seemed to make the system happy.

I then completed the steps described on the wiki / Debian_Package /
After_the_installation_process (forum won't let me include the link). 
My media is on this computer and there is none on other servers.

>From there I started the service and looked at what ports were open:


Code:

service logitechmediaserver start
  ss -ta



Only the ssh ports were listed.  So:


Code:

service logitechmediaserver status



It wasn't up, so then:


Code:

/usr/sbin/squeezeboxserver --help



which reported:


Code:

The following modules failed to load: DBI EV XML::Parser::Expat 
HTML::Parser JSON::XS Digest::SHA1 YAML::XS Sub::Name





I tried to figure out why these modules weren't loading.  As a normal
user I created a short Perl script:


Code:

#!/usr/bin/perl
  use DBI;
  $dbh = 
DBI->connect("dbi:SQLite:dbname=/home/greg/perlStuff/dbtest.sqlt","","", { 
RaiseError => 1, AutoCommit => 1 } );



I referenced the CPAN directory installed by
logitechmediaserver_8.2.0_i386.deb:


Code:

export PERL5LIB=/usr/share/squeezeboxserver/CPAN



That generated the following error:


Code:

Can't locate loadable object for module DBI in @INC (@INC contains: 
/usr/share/squeezeboxserver/CPAN /etc/perl 
/usr/local/lib/i386-linux-gnu/perl/5.32.1 /usr/local/share/perl/5.32.1 
/usr/lib/i386-linux-gnu/perl5/5.32 /usr/share/perl5 
/usr/lib/i386-linux-gnu/perl-base /usr/lib/i386-linux-gnu/perl/5.32 
/usr/share/perl/5.32 /usr/local/lib/site_perl) at 
/usr/share/squeezeboxserver/CPAN/DBI.pm line 268.
  BEGIN failed--compilation aborted at /usr/share/squeezeboxserver/CPAN/DBI.pm 
line 268.
  Compilation failed in require at ./tryDB.pl line 2.
  BEGIN failed--compilation aborted at ./tryDB.pl line 2.



That has left me stuck.



Greg Deitrick's Profile: http://forums.slimdevices.com/member.php?userid=73103
View this thread: http://forums.slimdevices.com/showthread.php?t=116972

___
Squeezecenter mailing list
Squeezecenter@lists.slimdevices.com
http://lists.slimdevices.com/mailman/listinfo/squeezecenter