Re: [SlimDevices: Unix] Need help installing on Debian 10

2021-02-17 Thread pantomnesia


This thread has helped me hugely - thanks to all :)

I'm building a media server from an old Packard Bell N1600 nettop. It's
old but it ought be up to it. I installed Debian 10 and wanted to
install LMS. I ran into the same x86/lms/perl conflict situation
mentioned on this thread and took the rebuild approach outlined 'here'
(https://github.com/Logitech/slimserver-vendor/blob/public/7.9/CPAN/README.md)
That gave me compile errors


Code:

compilation terminated.
  *** Failed compilation command follows: 
--
  g++ -D_REENTRANT -DU_HAVE_ELF_H=1 -DU_HAVE_ATOMIC=1 -DU_HAVE_STRTOD_L=1 -I. 
-I../common -DU_ATTRIBUTE_DEPRECATED= -DU_I18N_IMPLEMENTATION -O3 -fPIC 
-DU_USING_ICU_NAMESPACE=0 -W -Wall -pedantic -Wpointer-arith -Wwrite-strings 
-Wno-long-long --std=c++0x -c -o digitlst.ao digitlst.cpp
  --- ( rebuild with "/usr/bin/make VERBOSE=1 all" to show all parameters ) 

  make[1]: *** [../config/mh-linux:49: digitlst.ao] Error 1
  make[1]: Leaving directory '/home/xxx/slimserver-vendor/CPAN/icu/source/i18n'
  make: *** [Makefile:143: all-recursive] Error 2
  make failed



I'm going to downgrade perl to 5-26.3 using perlbrew and then attempt an
install of LMS using the instructions
https://wiki.slimdevices.com/index.php/DebianPackage



pantomnesia's Profile: http://forums.slimdevices.com/member.php?userid=70846
View this thread: http://forums.slimdevices.com/showthread.php?t=111348

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


Re: [SlimDevices: Unix] Need help installing on Debian 10

2020-01-03 Thread Man in a van


Roland0 wrote: 
> I saw that, but it was missing in the second code block, which I thought
> was odd
> 
> 
> I meant the LMS server log (usually at
> /var/log/logitechmediaserver/server.log)
> Add --d_startup to the LMS options (in
> /etc/default/logitechmediaserver), restart, check

Hi Roland0

The quote is from 

>  the LMS server log (usually at /var/log/logitechmediaserver/server.log)

I'll add your suggestion when I get back to the install.

Thanks again

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=111348

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


Re: [SlimDevices: Unix] Need help installing on Debian 10

2020-01-02 Thread Roland0


Man in a van wrote: 
> 
> Yes I did, see the first quote in my post # 41
> 
I saw that, but it was missing in the second code block, which I thought
was odd

> 
> and the log gives the usual
> 
I meant the LMS server log (usually at
/var/log/logitechmediaserver/server.log)
Add --d_startup to the LMS options (in
/etc/default/logitechmediaserver), restart, check



'Various SW' (https://www.nexus0.net/pub/sw/): Web Interface | Playlist
Editor / Generator | Music Classification | Similar Music | Announce |
EventTrigger | LMSlib2go | ...
'Various HowTos' (https://www.nexus0.net/pub/documents/LMS/): build a
self-contained LMS | Bluetooth/ALSA | Control LMS with any device | ...

Roland0's Profile: http://forums.slimdevices.com/member.php?userid=56808
View this thread: http://forums.slimdevices.com/showthread.php?t=111348

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


Re: [SlimDevices: Unix] Need help installing on Debian 10

2019-12-29 Thread Man in a van


Hi Roland

Thanks for the permissions instructions :)


> Did you actually  run make install? It's missing from the log above, and
> would explain:


Yes I did, see the first quote in my post # 41


> Check the LMS server logs.
> 

No, I didi not bother last night, too tired.

Just tried again and the web gui says as before

> Unable to connect
> Firefox can't establish a connection to the server at 192.168.1.28:9000.

and the log gives the usual

> 2019-12-28 22:52:39 squeezeboxserver_safe started.
> 2019-12-28 22:52:44 Logitech Media Server died. Restarting.
> 2019-12-28 22:52:49 Logitech Media Server died. Restarting.
> 2019-12-28 22:52:54 Logitech Media Server died. Restarting.
> 2019-12-28 22:52:59 Logitech Media Server died. Restarting.
> 

Could this also be a permissions thing. I always install LMS as a user
:confused:

I'll do a clean and restart when I have time later in the week, again,
thanks for your help :)

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=111348

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


Re: [SlimDevices: Unix] Need help installing on Debian 10

2019-12-29 Thread Roland0


Man in a van wrote: 
> 
> Not being sure of how change the permissions for user "ronnie" I googled
> a bit and ended up with "sudo chown -R ronnie /opt"
> That changed /opt from root to ronnie. Groups was still root so I
> changed that to sudo (don't know if that was the corrrect thing to do).
> 
sudo mkdir /opt/perl-5.26.3
sudo chown ronnie /opt/perl-5.26.3
(build / install everything)
sudo chown -R root:root /opt/perl-5.26.3

Man in a van wrote: 
> 
> > 
Code:

  >   > 
  > ronnie@shuttle:~$ wget 
https://cpan.metacpan.org/authors/id/C/CH/CHRISN/Net-SSLe   

  ay-1.88.tar.gz
  > ronnie@shuttle:~$ tar xf Net-SSLeay-1.88.tar.gz && cd Net-SSLeay-1.88
  > ronnie@shuttle:~/Net-SSLeay-1.88$ /opt/perl-5.26.3-LMS/bin/perl5.26.3 
Makefile.P  
   L
  > ronnie@shuttle:~$
  > 

> > 
> 
Did you actually  run make install? It's missing from the log above, and
would explain:

Code:


  Warning: prerequisite Net::SSLeay 1.46 not found.
  



Man in a van wrote: 
> 
> Anyway I installed LMS, rebooted, changed the text in the
> Squeezeboxserver and squeezeboxserver-scanner files and rebooted again.
> LMS runs but I can not access it through the web gui.
> 
Check the LMS server logs.

Man in a van wrote: 
> 
> I tried finding  Net-SSLeay-1.46, but no joy (I think it should not be
> required anyway, but that must mean that Net-SSLeay-1.88 is not
> discovered).
> 
Yes, and installing a deb package to the system wouldn't work anyway, as
the perl in /opt won't use them



'Various SW' (https://www.nexus0.net/pub/sw/): Web Interface | Playlist
Editor / Generator | Music Classification | Similar Music | Announce |
EventTrigger | LMSlib2go | ...
'Various HowTos' (https://www.nexus0.net/pub/documents/LMS/): build a
self-contained LMS | Bluetooth/ALSA | Control LMS with any device | ...

Roland0's Profile: http://forums.slimdevices.com/member.php?userid=56808
View this thread: http://forums.slimdevices.com/showthread.php?t=111348

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


Re: [SlimDevices: Unix] Need help installing on Debian 10

2019-12-28 Thread Man in a van

Well I just cant seem to get this done.

I uninstalled and started a fresh compilation. Not being sure of how
change the permissions for user "ronnie" I googled a bit and ended up
with "sudo chown -R ronnie /opt"
That changed /opt from root to ronnie. Groups was still root so I
changed that to sudo (don't know if that was the corrrect thing to do).
Anyway the build went ahead as user and completed in /opt
Then I did 


Code:

wget https://cpan.metacpan.org/authors/id/C/CH/CHRISN/Net-SSLeay-1.88.tar.gz
  tar xf Net-SSLeay-1.88.tar.gz && cd Net-SSLeay-1.88
  /opt/perl-5.26.3-LMS/bin/perl5.26.3 Makefile.PL
  make install
  and 
  wget 
https://cpan.metacpan.org/authors/id/S/SU/SULLR/IO-Socket-SSL-2.066.tar.gz
  tar xf IO-Socket-SSL-2.066.tar.gz && cd IO-Socket-SSL-2.066
  /opt/perl-5.26.3-LMS/bin/perl5.26.3 Makefile.PL
  make install



Seemed to go OK apart from 

Code:


  ronnie@shuttle:~$ wget 
https://cpan.metacpan.org/authors/id/C/CH/CHRISN/Net-SSLe   

  ay-1.88.tar.gz
  --2019-12-28 23:25:47--  
https://cpan.metacpan.org/authors/id/C/CH/CHRISN/Net-SS 

Leay-1.88.tar.gz
  Resolving cpan.metacpan.org (cpan.metacpan.org)... 151.101.2.217, 
151.101.66.217  
   , 151.101.130.217, ...
  Connecting to cpan.metacpan.org (cpan.metacpan.org)|151.101.2.217|:443... 
connec  
   ted.
  HTTP request sent, awaiting response... 200 OK
  Length: 436215 (426K) [application/x-gzip]
  Saving to: ‘Net-SSLeay-1.88.tar.gz’
  
  Net-SSLeay-1.88.tar 100%[===>] 425.99K  2.24MB/sin 0.2s
  
  2019-12-28 23:25:47 (2.24 MB/s) - ‘Net-SSLeay-1.88.tar.gz’ saved 
[436215/436215]
  
  ronnie@shuttle:~$ tar xf Net-SSLeay-1.88.tar.gz && cd Net-SSLeay-1.88
  ronnie@shuttle:~/Net-SSLeay-1.88$ /opt/perl-5.26.3-LMS/bin/perl5.26.3 
Makefile.P  
   L
  Do you want to run external tests?
  These tests *will* *fail* if you do not have network connectivity. [n] n
  *** Found OpenSSL-1.1.1d installed in /usr
  *** Be sure to use the same compiler and options to compile your OpenSSL, 
perl,
  and Net::SSLeay. Mixing and matching compilers is not supported.
  Checking if your kit is complete...
  Looks good
  Generating a Unix-style Makefile
  Writing Makefile for Net::SSLeay
  Writing MYMETA.yml and MYMETA.json
  ronnie@shuttle:~/Net-SSLeay-1.88$
  ronnie@shuttle:~/Net-SSLeay-1.88$ cd
  ronnie@shuttle:~$
  ronnie@shuttle:~$ wget 
https://cpan.metacpan.org/authors/id/S/SU/SULLR/IO-Socket-SSL-2.066.tar.gz
  --2019-12-28 23:35:20--  
https://cpan.metacpan.org/authors/id/S/SU/SULLR/IO-Socket-SSL-2.066.tar.gz
  Resolving cpan.metacpan.org (cpan.metacpan.org)... 151.101.2.217, 
151.101.66.217, 151.101.130.217, ...
  Connecting to cpan.metacpan.org (cpan.metacpan.org)|151.101.2.217|:443... 
connected.
  HTTP request sent, awaiting response... 200 OK
  Length: 244730 (239K) [application/x-gzip]
  Saving to: ‘IO-Socket-SSL-2.066.tar.gz’
  
  IO-Socket-SSL-2.066.tar.gz  
100%[>]
 238.99K  --.-KB/sin 0.06s
  
  2019-12-28 23:35:20 (3.73 MB/s) - ‘IO-Socket-SSL-2.066.tar.gz’ saved 
[244730/244730]
  
  ronnie@shuttle:~$ tar xf IO-Socket-SSL-2.066.tar.gz && cd IO-Socket-SSL-2.066
  ronnie@shuttle:~/IO-Socket-SSL-2.066$ /opt/perl-5.26.3-LMS/bin/perl5.26.3 
Makefile.PL
  
  WARNING
  No library for handling international domain names found.
  It will work but croak if you try to verify an international name against
  a certificate.
  It's recommended to install either Net::IDN::Encode, Net::LibIDN or URI 
version>=1.50
  
  Should I do external tests?
  These test will detect if there are network problems and fail soft,
  so please disable them only if you definitely don't want to have any
  network traffic to external sites.  [Y/n] n
  Checking if your kit is complete...
  Looks good
  Warning: prerequisite Mozilla::CA 0 not found. 
  Warning: prerequisite Net::SSLeay 1.46 not found.
  Generating a Unix-style Makefile
  Writing Makefile for IO::Socket::SSL
  Writing MYMETA.yml and MYMETA.json
  ronnie@shuttle:~/IO-Socket-SSL-2.066$



Anyway I installed LMS, rebooted, changed the text in the
Squeezeboxserver and squeezeboxserver-scanner files and rebooted again.
LMS runs but I can not access it through the web gui.

I'm getting ready to leave this soon. It takes way too much time to make
it worthwhile. I've learnt quite 

Re: [SlimDevices: Unix] Need help installing on Debian 10

2019-12-28 Thread Roland0


Man in a van wrote: 
> 
> decide to build as root, removed the previously built, download and
> untarred files from the home directory, did a sudo su and away we go.
> The files built as root and are in /opt
> 
Building as root is never a good idea (since you could  damage your
system if something goes wrong during building). 
Maybe your user didn't have permissions to write to /opt/perl-x.x.x
Either
- create /opt/perl-x.x.x as root, give your user permissions to write to
it, run make install as user, remove permissions from /opt/perl-x.x.x
- or run make as user then sudo make install-strip

Personally, I prefer option 1, as is makes sure your system cannot be
damaged if something goes wrong when installing the package

> 
> > 
Code:

  >   > ronnie@shuttle:~$  /opt/perl-5.26.3-LMS/bin/perl -V|grep archname
  > archname=i386-linux-thread-multi-64int
  > config_args='-des -Dprefix=/opt/perl-5.26.3-LMS -Dusethreads -Duse64bitint 
-Darchname=i386-linux'
  > 

> > 
> 
Looks fine. Now install the two perl modules for SSL, install the deb
package, and adjust the first lines of the two LMS scripts to point to
the new perl in /opt



'Various SW' (https://www.nexus0.net/pub/sw/): Web Interface | Playlist
Editor / Generator | Music Classification | Similar Music | Announce |
EventTrigger | LMSlib2go | ...
'Various HowTos' (https://www.nexus0.net/pub/documents/LMS/): build a
self-contained LMS | Bluetooth/ALSA | Control LMS with any device | ...

Roland0's Profile: http://forums.slimdevices.com/member.php?userid=56808
View this thread: http://forums.slimdevices.com/showthread.php?t=111348

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


Re: [SlimDevices: Unix] Need help installing on Debian 10

2019-12-27 Thread Man in a van


Well,  I made a clean install of the distro and built perl as user.

/opt was empty and 

/opt/perl-5.26.3/bin/perl -V|grep archname 

gave


Code:

ronnie@shuttle:~$ /opt/perl-5.26.3/bin/perl -V|grep archname
  -bash: /opt/perl-5.26.3/bin/perl: No such file or directory



I cd into perl-5.26.3


Code:

ronnie@shuttle:~$ ls
  Desktop  Documents  Downloads  Music  perl-5.26.3  perl-5.26.3.tar.gz  
Pictures  Public  Templates  Videos
  ronnie@shuttle:~$ cd perl-5.26.3
  ronnie@shuttle:~/perl-5.26.3$ /opt/perl-5.26.3/bin/perl -V|grep archname
  -bash: /opt/perl-5.26.3/bin/perl: No such file or directory
  



decide to build as root, removed the previously built, download and
untarred files from the home directory, did a sudo su and away we go.


The files built as root and are in /opt


Code:

ronnie@shuttle:~$ cd /opt
  ronnie@shuttle:/opt$ ls
  perl-5.26.3-LMS
  ronnie@shuttle:/opt$ cd perl-5.26.3-LMS
  ronnie@shuttle:/opt/perl-5.26.3-LMS$ ls
  bin  lib  man





Code:

ronnie@shuttle:~$  /opt/perl-5.26.3-LMS/bin/perl -V|grep archname
  archname=i386-linux-thread-multi-64int
  config_args='-des -Dprefix=/opt/perl-5.26.3-LMS -Dusethreads -Duse64bitint 
-Darchname=i386-linux'
  ronnie@shuttle:~$




I must have copied and pasted the different ./Config instruction !
:o:o:(:rolleyes:

I have not yet installed LMS

ronnie.

and here is the output for /opt/perl-5.26.3-LMS/bin/perl -V



Code:

login as: ronnie
  ronnie@192.168.1.28's password:
  Linux shuttle 4.19.0-6-686 #1 SMP Debian 4.19.67-2+deb10u2 (2019-11-11) i686
  
  The programs included with the Debian GNU/Linux system are free software;
  the exact distribution terms for each program are described in the
  individual files in /usr/share/doc/*/copyright.
  
  Debian GNU/Linux comes with ABSOLUTELY NO WARRANTY, to the extent
  permitted by applicable law.
  Last login: Fri Dec 27 13:31:12 2019 from 192.168.1.11
  ronnie@shuttle:~$ /opt/perl-5.26.3-LMS/bin/perl -V
  Summary of my perl5 (revision 5 version 26 subversion 3) configuration:
  
  Platform:
  osname=linux
  osvers=4.19.0-6-686
  archname=i386-linux-thread-multi-64int
  uname='linux shuttle 4.19.0-6-686 #1 smp debian 4.19.67-2+deb10u2 
(2019-11-11) i686 gnulinux '
  config_args='-des -Dprefix=/opt/perl-5.26.3-LMS -Dusethreads -Duse64bitint 
-Darchname=i386-linux'
  hint=recommended
  useposix=true
  d_sigaction=define
  useithreads=define
  usemultiplicity=define
  use64bitint=define
  use64bitall=undef
  uselongdouble=undef
  usemymalloc=n
  default_inc_excludes_dot=define
  bincompat5005=undef
  Compiler:
  cc='cc'
  ccflags ='-D_REENTRANT -D_GNU_SOURCE -fwrapv -fno-strict-aliasing -pipe 
-fstack-protector-strong -I/usr/local/include -D_LARGEFILE_SOURCE 
-D_FILE_OFFSET_BITS=64'
  optimize='-O2'
  cppflags='-D_REENTRANT -D_GNU_SOURCE -fwrapv -fno-strict-aliasing -pipe 
-fstack-protector-strong -I/usr/local/include'
  ccversion=''
  gccversion='8.3.0'
  gccosandvers=''
  intsize=4
  longsize=4
  ptrsize=4
  doublesize=8
  byteorder=12345678
  doublekind=3
  d_longlong=define
  longlongsize=8
  d_longdbl=define
  longdblsize=12
  longdblkind=3
  ivtype='long long'
  ivsize=8
  nvtype='double'
  nvsize=8
  Off_t='off_t'
  lseeksize=8
  alignbytes=4
  prototype=define
  Linker and Libraries:
  ld='cc'
  ldflags =' -fstack-protector-strong -L/usr/local/lib'
  libpth=/usr/local/lib /usr/lib/gcc/i686-linux-gnu/8/include-fixed 
/usr/include/i386-linux-gnu /usr/lib /lib/i386-linux-gnu /lib/../lib 
/usr/lib/i386-linux-gnu /usr/lib/../lib /lib /lib64 /usr/lib64
  libs=-lpthread -lnsl -ldl -lm -lcrypt -lutil -lc
  perllibs=-lpthread -lnsl -ldl -lm -lcrypt -lutil -lc
  libc=libc-2.28.so
  so=so
  useshrplib=false
  libperl=libperl.a
  gnulibc_version='2.28'
  Dynamic Linking:
  dlsrc=dl_dlopen.xs
  dlext=so
  d_dlsymun=undef
  ccdlflags='-Wl,-E'
  cccdlflags='-fPIC'
  lddlflags='-shared -O2 -L/usr/local/lib -fstack-protector-strong'
  
  
  Characteristics of this binary (from libperl):
  Compile-time options:
  HAS_TIMES
  MULTIPLICITY
  PERLIO_LAYERS
  PERL_COPY_ON_WRITE
  PERL_DONT_CREATE_GVSV
  PERL_IMPLICIT_CONTEXT
  PERL_MALLOC_WRAP
  PERL_OP_PARENT
  PERL_PRESERVE_IVUV
  USE_64_BIT_INT
  USE_ITHREADS
  USE_LARGE_FILES
  USE_LOCALE
  USE_LOCALE_COLLATE
  USE_LOCALE_CTYPE
  USE_LOCALE_NUMERIC
  USE_LOCALE_TIME
  USE_PERLIO
  USE_PERL_ATOF
  USE_REENTRANT_API
  Built under linux
  Compiled at Dec 27 2019 13:42:40
  @INC:
  /opt/perl-5.26.3-LMS/lib/site_perl/5.26.3/i386-linux-thread-multi-64int
  /opt/perl-5.26.3-LMS/lib/site_perl/5.26.3
  /opt/perl-5.26.3-LMS/lib/5.26.3/i386-linux-thread-multi-64int
  /opt/perl-5.26.3-LMS/lib/5.26.3
  ronnie@shuttle:~$
  
  




Man in a van's Profile: 

Re: [SlimDevices: Unix] Need help installing on Debian 10

2019-12-27 Thread Roland0


Man in a van wrote: 
> Yes, that is correct, I built it in the home directory (it built as as
> localperl)  and then moved and renamed it to /opt.
> I'll do as you advise, but should I build in /home or /opt ? 
> 
Generally, it doesn't matter where you build it (I tend to use /tmp,
since it's a 'zram drive' (https://en.wikipedia.org/wiki/Zram) on my
systems), you just have to configure the package (perl in this case) to
be installed in the right location (the prefix option).
This will also make sure the package will find it's own files when it's
run (that's why you get the "Can't locate Config.pm" error)

Man in a van wrote: 
> 
> or will your command make the build complete into /opt ?
> 
the command 
Code:

make install-strip

will install it (and build it as well, if that hasn't been done)



'Various SW' (https://www.nexus0.net/pub/sw/): Web Interface | Playlist
Editor / Generator | Music Classification | Similar Music | Announce |
EventTrigger | LMSlib2go | ...
'Various HowTos' (https://www.nexus0.net/pub/documents/LMS/): build a
self-contained LMS | Bluetooth/ALSA | Control LMS with any device | ...

Roland0's Profile: http://forums.slimdevices.com/member.php?userid=56808
View this thread: http://forums.slimdevices.com/showthread.php?t=111348

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


Re: [SlimDevices: Unix] Need help installing on Debian 10

2019-12-26 Thread Man in a van


Roland0 wrote: 
> Your perl install is broken (seems to have been configured to be
> installed in  /home/ronnie/localperl/)
> 
> Restart from clean perl sources (i.e. remove old, untar archive) and
> configure
> > 
Code:

  >   > 
  > ./Configure -des -Dprefix=/opt/perl-5.26.3 -Dusethreads -Duse64bitint  
-Darchname='i386-linux'

> > 
> compile, install, re-run /opt/perl-5.26.3/bin/perl -V|grep archname



> Your perl install is broken (seems to have been configured to be
> installed in  /home/ronnie/localperl/
> 

Yes, that is correct, I built it in the home directory (it built as as
localperl)  and then moved and renamed it to /opt.

I'll do as you advise, but should I build in /home or /opt ? or will
your command make the build complete into /opt ?

ronnie

Hope you had a pleasant Christmas day :)



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

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


Re: [SlimDevices: Unix] Need help installing on Debian 10

2019-12-26 Thread Roland0


Man in a van wrote: 
> 
> > 
Code:

  >   > ronnie@shuttle:~$ /opt/perl-5.26.3/bin/perl -V|grep archname
  > Can't locate Config.pm in @INC (you may need to install the Config module) 
(@INC contains: /home/ronnie/localperl/lib/site_perl/5.26.3/i686-linux 
/home/ronnie/localperl/lib/site_perl/5.26.3 
/home/ronnie/localperl/lib/5.26.3/i686-linux /home/ronnie/localperl/lib/5.26.3).
  > BEGIN failed--compilation aborted.
  > 

> > 
> 
Your perl install is broken (seems to have been configured to be
installed in  /home/ronnie/localperl/)

Restart from clean perl sources (i.e. remove old, untar archive) and
configure

Code:


  ./Configure -des -Dprefix=/opt/perl-5.26.3 -Dusethreads -Duse64bitint  
-Darchname='i386-linux'


compile, install, re-run /opt/perl-5.26.3/bin/perl -V|grep archname



'Various SW' (https://www.nexus0.net/pub/sw/): Web Interface | Playlist
Editor / Generator | Music Classification | Similar Music | Announce |
EventTrigger | LMSlib2go | ...
'Various HowTos' (https://www.nexus0.net/pub/documents/LMS/): build a
self-contained LMS | Bluetooth/ALSA | Control LMS with any device | ...

Roland0's Profile: http://forums.slimdevices.com/member.php?userid=56808
View this thread: http://forums.slimdevices.com/showthread.php?t=111348

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


Re: [SlimDevices: Unix] Need help installing on Debian 10

2019-12-24 Thread Man in a van

Hi Roland0

First, thanks very much for helping me in this exercise.

Second, don't waste your time on this at the moment. It's not a priority
for me but at the same time I would like to get it working.

It's fine if we can pick it up again after Christmas and the New Year.

This is my update:


> What's the output of  perl -V|grep archname and
> /opt/perl-5.26.3/bin/perl -V|grep archname ?


Code:

ronnie@shuttle:~$  perl -V|grep archname
  archname=i686-linux-gnu-thread-multi-64int
  config_args='-Dusethreads -Duselargefiles -Dcc=i686-linux-gnu-gcc 
-Dcpp=i686-linux-gnu-cpp -Dld=i686-linux-gnu-gcc -Dccflags=-DDEBIAN -Wdate-time 
-D_FORTIFY_SOURCE=2 -g -O2 -fdebug-prefix-map=/build/perl-qZqgkt/perl-5.28.1=. 
-fstack-protector-strong -Wformat -Werror=format-security -Dldflags= 
-Wl,-z,relro -Dlddlflags=-shared -Wl,-z,relro -Dcccdlflags=-fPIC 
-Darchname=i686-linux-gnu -Dprefix=/usr -Dprivlib=/usr/share/perl/5.28 
-Darchlib=/usr/lib/i386-linux-gnu/perl/5.28 -Dvendorprefix=/usr 
-Dvendorlib=/usr/share/perl5 -Dvendorarch=/usr/lib/i386-linux-gnu/perl5/5.28 
-Dsiteprefix=/usr/local -Dsitelib=/usr/local/share/perl/5.28.1 
-Dsitearch=/usr/local/lib/i386-linux-gnu/perl/5.28.1 
-Dman1dir=/usr/share/man/man1 -Dman3dir=/usr/share/man/man3 
-Dsiteman1dir=/usr/local/man/man1 -Dsiteman3dir=/usr/local/man/man3 
-Duse64bitint -Dman1ext=1 -Dman3ext=3perl -Dpager=/usr/bin/sensible-pager -Uafs 
-Ud_csh -Ud_ualarm -Uusesfio -Uusenm -Ui_libutil -Ui_xlocale -Uversiononly 
-DDEBUGGING=-g -Do
 ptimize=-O2 -dEs -Duseshrplib -Dlibperl=libperl.so.5.28.1'
  ronnie@shuttle:~$
  




Code:

ronnie@shuttle:~$ /opt/perl-5.26.3/bin/perl -V|grep archname
  Can't locate Config.pm in @INC (you may need to install the Config module) 
(@INC contains: /home/ronnie/localperl/lib/site_perl/5.26.3/i686-linux 
/home/ronnie/localperl/lib/site_perl/5.26.3 
/home/ronnie/localperl/lib/5.26.3/i686-linux /home/ronnie/localperl/lib/5.26.3).
  BEGIN failed--compilation aborted.
  ronnie@shuttle:~$
  




I uninstalled the Logitech Media Server: Debian Installer Package (i386)
and installed Logitech Media Server: Debian Installer Package (i386,
x86_64, ARM EABI, PowerPC)


Code:

Unpacking logitechmediaserver (7.9.2~1576909043) ...
  Setting up logitechmediaserver (7.9.2~1576909043) ...
  changed ownership of '/var/lib/squeezeboxserver/cache' from root:root to 
squeezeboxserver:nogroup
  changed ownership of '/var/lib/squeezeboxserver/prefs' from root:root to 
squeezeboxserver:nogroup
  changed ownership of '/var/lib/squeezeboxserver/Plugins' from root:root to 
squeezeboxserver:nogroup
  changed ownership of '/var/lib/squeezeboxserver' from root:root to 
squeezeboxserver:nogroup
  invoke-rc.d: policy-rc.d denied execution of start.
  Processing triggers for systemd (241-7~deb10u2) ...
  ronnie@shuttle:~$ sudo apt -f install
  Reading package lists... Done
  Building dependency tree
  Reading state information... Done
  0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
  





> edit  /usr/sbin/squeezeboxserver and scanner.pl (not sure of the latter 
> file name - iirc the dpk renames it) and change the first line from 
> #!/usr/bin/perl to #!/opt/perl-5.26.3/bin/perl
> 

Done:- it is /usr/sbin/squeezeboxserver and
/usr/sbin/squeezeboxserver-scanner

Rebooted the Shuttle

Tried connecting through a web browser

> Firefox can't establish a connection to the server at 192.168.1.28:9000.



Code:

ronnie@shuttle:~$ sudo nano /var/log/squeezeboxserver/server.log
  [sudo] password for ronnie:
  GNU nano 3.2
/var/log/squeezeboxserver/server.log
  
  2019-12-23 20:46:10 Logitech Media Server died. Restarting.
  2019-12-23 20:46:15 Logitech Media Server died. Restarting.
  2019-12-23 20:46:20 squeezeboxserver_safe stopped.
  2019-12-23 20:47:06 squeezeboxserver_safe started.
  2019-12-23 20:47:11 Logitech Media Server died. Restarting.
  2019-12-23 20:47:16 Logitech Media Server died. Restarting.
  




a status query gave 


Code:

ronnie@shuttle:~$ sudo service logitechmediaserver status
  ● logitechmediaserver.service - LSB: Startup script for the Logitech Media 
Server
  Loaded: loaded (/etc/init.d/logitechmediaserver; generated)
  Active: active (running) since Tue 2019-12-24 08:41:17 GMT; 16min ago
  Docs: man:systemd-sysv-generator(8)
  Process: 408 ExecStart=/etc/init.d/logitechmediaserver start (code=exited, 
status=0/SUCCESS)
  Tasks: 2 (limit: 4915)
  Memory: 6.4M
  CGroup: /system.slice/logitechmediaserver.service
  ├─ 457 /bin/bash /usr/sbin/squeezeboxserver_safe 
/usr/sbin/squeezeboxserver --prefsdir /var/lib/squeezeboxserver/prefs --logdir 
/var/log/squeezeboxserver/ --cachedir /var/lib/squ
  └─1802 sleep 5
  
  Dec 24 08:41:16 shuttle systemd[1]: Starting LSB: 

Re: [SlimDevices: Unix] Need help installing on Debian 10

2019-12-23 Thread Roland0


Man in a van wrote: 
> 
> After several hours I ended up with (I just used ./Configure -des
> -Dprefix=/opt/perl-5.26.3).
> 
As I wrote: I'm a bit unsure if it's i386-linux or i686-linux - the dpk
seems to use  i386-linux. What's the output of  perl -V|grep archname
and /opt/perl-5.26.3/bin/perl -V|grep archname ?

> 
> > 
Code:

  >   > 
  > CGroup: /system.slice/logitechmediaserver.service
  >  456 /bin/bash /usr/sbin/squeezeboxserver_safe 
/usr/sbin/squeezeboxserver --prefsdir /var/lib/squeezeboxserver/prefs --logdir 
/var/log/squeezeboxserver/ --cachedir /var/lib/squ
  > 

> > 
> What do I do to make LMS use the 32 bit Perl? 
> 
edit  /usr/sbin/squeezeboxserver and scanner.pl (not sure of the latter
file name - iirc the dpk renames it) and change the first line from
#!/usr/bin/perl to #!/opt/perl-5.26.3/bin/perl

> 
> or is it best to restart with the version of LMS without the CPAN
> libraries ?
> 

If you want to do this, uninstall the dpk and proceed with 'building
LMS' (https://www.nexus0.net/pub/documents/LMS/lms-build/#build-lms)

> 
> Also the new Raspberry Pi Desktop (for PC and Mac) image suffers from
> the same problem (32 bit usererland). The previous Stretch version was
> fine.
> 
The situation with ARM is different - there is support for 32 bit
(arm-linux-gnueabihf-thread-multi-64int) and 64 bit
(aarch64-linux-thread-multi) with perl 5.28, and for neither with 5.30.
As mentioned above, check 'the LMS repo'
(https://github.com/Logitech/slimserver/tree/public/7.9/CPAN/arch)



'Various SW' (https://www.nexus0.net/pub/sw/): Web Interface | Playlist
Editor / Generator | Music Classification | Similar Music | Announce |
EventTrigger | LMSlib2go | ...
'Various HowTos' (https://www.nexus0.net/pub/documents/LMS/): build a
self-contained LMS | Bluetooth/ALSA | Control LMS with any device | ...

Roland0's Profile: http://forums.slimdevices.com/member.php?userid=56808
View this thread: http://forums.slimdevices.com/showthread.php?t=111348

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


Re: [SlimDevices: Unix] Need help installing on Debian 10

2019-12-23 Thread Man in a van


> I have an old Shuttle XS 35 GS v3 on which I used to run Windows 7 32
> bit .

As you're starting from scratch anyway, why don't you install Debian in

64 bit?

-- 

Michael

Well I could of course :) But that would not help *1uke_* (or me learn a
bit) :rolleyes:.

Also the new Raspberry Pi Desktop (for PC and Mac) image suffers from
the same problem (32 bit usererland). The previous Stretch version was
fine.

https://www.raspberrypi.org/downloads/raspberry-pi-desktop/



Enjoy the Holiday (White Christmas ?)

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=111348

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


Re: [SlimDevices: Unix] Need help installing on Debian 10

2019-12-23 Thread Michael Herger

I have an old Shuttle XS 35 GS v3 on which I used to run Windows 7 32
bit .


As you're starting from scratch anyway, why don't you install Debian in 
64 bit?


--

Michael
___
unix mailing list
unix@lists.slimdevices.com
http://lists.slimdevices.com/mailman/listinfo/unix


Re: [SlimDevices: Unix] Need help installing on Debian 10

2019-12-23 Thread castalla


Man in a van wrote: 
> @ROLAND0
> 
> 
> 
> I have an old Shuttle XS 35 GS v3 on which I used to run Windows 7 32
> bit .
> 
> I thought to try this out, I installed Debian 10 with the Mate Desktop ,
> using an "Unofficial non-free images including firmware packages".
> 
> After several hours I ended up with (I just used ./Configure -des
> -Dprefix=/opt/perl-5.26.3).
> 
> > 
Code:

  >   > ronnie@shuttle:~$ cd /opt
  > ronnie@shuttle:/opt$ ls
  > perl-5.26.3
  > 

> > 
> 
> 
> Used wget and dpkg to install the i386 deb LMS and rebooted.
> 
> LMS installed OK (it's at "/usr/sbin/squeezeboxserver" but does not
> open the web gui, the log says "access denied", 
> 
> > 
Code:

  >   > 2019-12-22 10:31:47 squeezeboxserver_safe started.
  > 2019-12-22 10:31:52 Logitech Media Server died. Restarting.
  > 2019-12-22 10:31:57 Logitech Media Server died. Restarting.
  > 

> > 
> and a status enquiry gives
> 
> > 
Code:

  >   > ronnie@shuttle:~$ sudo service logitechmediaserver status
  >  logitechmediaserver.service - LSB: Startup script for the Logitech 
Media Server
  > Loaded: loaded (/etc/init.d/logitechmediaserver; generated)
  > Active: active (running) since Mon 2019-12-23 09:36:38 GMT; 5min ago
  > Docs: man:systemd-sysv-generator(8)
  > Process: 403 ExecStart=/etc/init.d/logitechmediaserver start (code=exited, 
status=0/SUCCESS)
  > Tasks: 2 (limit: 4915)
  > Memory: 10.7M
  > CGroup: /system.slice/logitechmediaserver.service
  >  456 /bin/bash /usr/sbin/squeezeboxserver_safe 
/usr/sbin/squeezeboxserver --prefsdir /var/lib/squeezeboxserver/prefs --logdir 
/var/log/squeezeboxserver/ --cachedir /var/lib/squ
  > 1390 sleep 5
  > 
  > Dec 23 09:36:37 shuttle systemd[1]: Starting LSB: Startup script for the 
Logitech Media Server...
  > Dec 23 09:36:38 shuttle logitechmediaserver[403]: Making sure that Logitech 
Media Server is not running first: No process in pidfile 
'/var/run/logitechmediaserver.pid' found running; none k
  > Dec 23 09:36:38 shuttle logitechmediaserver[403]: Starting Logitech Media 
Server.
  > Dec 23 09:36:38 shuttle systemd[1]: Started LSB: Startup script for the 
Logitech Media Server.

> > 
> 
> What do I do to make LMS use the 32 bit Perl? or is it best to restart
> with the version of LMS without the CPAN libraries ?
> 
> ronnie
> 
> Not in rush to do this, :) any advice much appreciated :):)

This sounds similar to what I found running the ubuntu 18 image on the
Joggler.  LMS is running but can't access via web gui (connection
refused).
I gave up, I'm afraid.



LMS server: Pi Zero

Amp: Denon PMA-50

Players/Speakers:  Touch, Logitech Radios, Sonos Play 1s & Beam,
Libratone Zipp, GGMM E2 & E3, Yamaha WXAD-010, Loewe Airspeaker, Google
Chromecast Audio, Home Mini & Nest Hub, Amazon Echo 2,3 and Show5,
Pioneer WX-SMA1, Roberts S1, O2 Joggler, Cisco Joggler, Avantree Priva
BT transmitter

Brexit =   stupidity




castalla's Profile: http://forums.slimdevices.com/member.php?userid=15624
View this thread: http://forums.slimdevices.com/showthread.php?t=111348

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


Re: [SlimDevices: Unix] Need help installing on Debian 10

2019-12-23 Thread Man in a van


@ROLAND0


I have an old Shuttle XS 35 GS v3 on which I used to run Windows 7 32
bit .

I thought to try this out, I installed Debian 10 with the Mate Desktop ,
using an "Unofficial non-free images including firmware packages".

After several hours I ended up with (I just used ./Configure -des
-Dprefix=/opt/perl-5.26.3).


Code:

ronnie@shuttle:~$ cd /opt
  ronnie@shuttle:/opt$ ls
  perl-5.26.3
  




Used wget and dpkg to install the i386 deb LMS and rebooted.

LMS installed OK (it's at "/usr/sbin/squeezeboxserver" but does not open
the web gui, the log says "access denied", 


Code:

2019-12-22 10:31:47 squeezeboxserver_safe started.
  2019-12-22 10:31:52 Logitech Media Server died. Restarting.
  2019-12-22 10:31:57 Logitech Media Server died. Restarting.
  


and a status enquiry gives


Code:

ronnie@shuttle:~$ sudo service logitechmediaserver status
   logitechmediaserver.service - LSB: Startup script for the Logitech 
Media Server
  Loaded: loaded (/etc/init.d/logitechmediaserver; generated)
  Active: active (running) since Mon 2019-12-23 09:36:38 GMT; 5min ago
  Docs: man:systemd-sysv-generator(8)
  Process: 403 ExecStart=/etc/init.d/logitechmediaserver start (code=exited, 
status=0/SUCCESS)
  Tasks: 2 (limit: 4915)
  Memory: 10.7M
  CGroup: /system.slice/logitechmediaserver.service
   456 /bin/bash /usr/sbin/squeezeboxserver_safe 
/usr/sbin/squeezeboxserver --prefsdir /var/lib/squeezeboxserver/prefs --logdir 
/var/log/squeezeboxserver/ --cachedir /var/lib/squ
  1390 sleep 5
  
  Dec 23 09:36:37 shuttle systemd[1]: Starting LSB: Startup script for the 
Logitech Media Server...
  Dec 23 09:36:38 shuttle logitechmediaserver[403]: Making sure that Logitech 
Media Server is not running first: No process in pidfile 
'/var/run/logitechmediaserver.pid' found running; none k
  Dec 23 09:36:38 shuttle logitechmediaserver[403]: Starting Logitech Media 
Server.
  Dec 23 09:36:38 shuttle systemd[1]: Started LSB: Startup script for the 
Logitech Media Server.



What do I do to make LMS use the 32 bit Perl? or is it best to restart
with the version of LMS without the CPAN libraries ?

ronnie

Not in rush to do this, :) any advice much appreciated :):)



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

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


Re: [SlimDevices: Unix] Need help installing on Debian 10

2019-12-18 Thread Roland0


1uke_ wrote: 
> 
> To solve this, can you tell me is it possible for me to install perl
> 5.26 on my current system?
> 
It is. However, as noted above, unless you are really sure your CPU
can't handle 64 bit (check with the lscpu command), I'd recommend
switching to a 64 bit OS, as LMS will work out of the box.

To install perl 5,26, follow 'this howto'
(https://www.nexus0.net/pub/documents/LMS/lms-build/#a-short-guide-to-building-lms)
(the "Build perl" section)
Change the Configure command to;

Code:

./Configure -des -Dprefix=/opt/perl-5.26.3-LMS -Dusethreads -Duse64bitint  
-Darchname='i386-linux'


and adjust all following perl paths to  /opt/perl-5.26.3-LMS/bin/perl
( I'm a bit unsure if it's i386-linux or i686-linux - let's try this
first)
If you are done, post the output of running 
/opt/perl-5.26.3-LMS/bin/perl -V

> 
> If I can get perl 5.26 installed on my system can I then run the .deb
> file to get logitech media server running?
> 
Most likely



'Various SW' (https://www.nexus0.net/pub/sw/): Web Interface | Playlist
Editor / Generator | Music Classification | Similar Music | Announce |
EventTrigger | LMSlib2go | ...
'Various HowTos' (https://www.nexus0.net/pub/documents/LMS/): build a
self-contained LMS | Bluetooth/ALSA | Control LMS with any device | ...

Roland0's Profile: http://forums.slimdevices.com/member.php?userid=56808
View this thread: http://forums.slimdevices.com/showthread.php?t=111348

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


Re: [SlimDevices: Unix] Need help installing on Debian 10

2019-12-18 Thread mrw


1uke_ wrote: 
> 
> FINAL QUESTIONS
> 
> >   >   > 
  - Would using Debian 9 give me access to 5.26?
  - 
  - Would I be able to install Logitech media server on Debian 9?
  > > > 

Debian 9 gives you perl 5.24. LMS seems to have x32 binaries for that,
and,  yes, LMS works fine on Debian 9.



mrw's Profile: http://forums.slimdevices.com/member.php?userid=38299
View this thread: http://forums.slimdevices.com/showthread.php?t=111348

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


Re: [SlimDevices: Unix] Need help installing on Debian 10

2019-12-18 Thread slartibartfast


1uke_ wrote: 
> Hello, 
> 
> I don't think I am likely to get any more replies to this thread -
> please feel free to add one if you can help me.
> 
> FINAL QUESTIONS
> 
> >   >   > 
  - Would using Debian 9 give me access to 5.26?
  - 
  - Would I be able to install Logitech media server on Debian 9?
  > > > If I were you I would get a Raspberry Pi if you can't build the
binaries. 

Sent from my SM-G900F using Tapatalk





slartibartfast's Profile: http://forums.slimdevices.com/member.php?userid=35609
View this thread: http://forums.slimdevices.com/showthread.php?t=111348

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


Re: [SlimDevices: Unix] Need help installing on Debian 10

2019-12-18 Thread 1uke_


Hello, 

I don't think I am likely to get any more replies to this thread -
please feel free to add one if you can help me.

FINAL QUESTIONS


- Would using Debian 9 give me access to 5.26?
- 
- Would I be able to install Logitech media server on Debian 9?



1uke_'s Profile: http://forums.slimdevices.com/member.php?userid=66412
View this thread: http://forums.slimdevices.com/showthread.php?t=111348

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


Re: [SlimDevices: Unix] Need help installing on Debian 10

2019-12-16 Thread 1uke_


Rnee wrote: 
> Sorry for misleading you, I have missed the x32 part which changes the
> game completely.


No worries I am sure it wasn't intentional.

Are you able to help me get logitech media server installed on my x32
machine please?



1uke_'s Profile: http://forums.slimdevices.com/member.php?userid=66412
View this thread: http://forums.slimdevices.com/showthread.php?t=111348

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


Re: [SlimDevices: Unix] Need help installing on Debian 10

2019-12-16 Thread Rnee


1uke_ wrote: 
> Thank you for sticking with me and helping me with this :)
Sorry for misleading you, I have missed the x32 part which changes the
game completely.



pCP v5.0.0 on all players
LMS 7.9.2 on Debian Buster server in a Linux Container
RPi 3B+ with Hifiberry AMP2 and official 7" touchscreen (Squeezelite +
Jivelite), +27k titles on SMB share
RPi B as dedicated player, connected over wifi with USB dongle
RPi 2B as dedicated player, connected over powerline
RPi Zero W as dedicated player
Squeezer on Android to control

Rnee's Profile: http://forums.slimdevices.com/member.php?userid=66970
View this thread: http://forums.slimdevices.com/showthread.php?t=111348

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


Re: [SlimDevices: Unix] Need help installing on Debian 10

2019-12-15 Thread Roland0


1uke_ wrote: 
> 
> How come I didn't need to build any binaries when putting Logitech Media
> Server on my old Ubuntu system?

In order to use a pre-build (~= binary) package, your combination of
perl version and hardware platform needs to be supported.
In your case, this would be perl 5.28 on 32 bit Intel. However, as
Michael pointed out, this combination isn't supported. If you check
'this'
(https://github.com/Logitech/slimserver/tree/public/7.9/CPAN/arch)
(format: /), you'll notice that the last version
with support for 32 bit is for perl 5.26 (which is the reason it worked
on your old system).
Trying to install the deb package on your current system is therefore
futile, as LMS will not run even if installed.
Your options are therefore:
- switch to a 64 bit OS if your CPU is capable of running one
- use perl <= 5.26
- build the binaries yourself ('This page'
(https://www.nexus0.net/pub/documents/LMS/lms-build/) should give you an
idea of what this entails, although you'd only need to follow a part of
the howto)



'Various SW' (https://www.nexus0.net/pub/sw/): Web Interface | Playlist
Editor / Generator | Music Classification | Similar Music | Announce |
EventTrigger | LMSlib2go | ...
'Various HowTos' (https://www.nexus0.net/pub/documents/LMS/): build a
self-contained LMS | Bluetooth/ALSA | Control LMS with any device | ...

Roland0's Profile: http://forums.slimdevices.com/member.php?userid=56808
View this thread: http://forums.slimdevices.com/showthread.php?t=111348

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


Re: [SlimDevices: Unix] Need help installing on Debian 10

2019-12-15 Thread Rnee


You still have to run the rest of those instructions since, probably,
the LMS package was not downloaded and installed before.
Did you do that?
What is the output, any errors?

It does not do any harm to run the whole thing from start again.



pCP v5.0.0 on all players
LMS 7.9.2 on Debian Buster server in a Linux Container
RPi 3B+ with Hifiberry AMP2 and official 7" touchscreen (Squeezelite +
Jivelite), +27k titles on SMB share
RPi B as dedicated player, connected over wifi with USB dongle
RPi 2B as dedicated player, connected over powerline
RPi Zero W as dedicated player
Squeezer on Android to control

Rnee's Profile: http://forums.slimdevices.com/member.php?userid=66970
View this thread: http://forums.slimdevices.com/showthread.php?t=111348

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


Re: [SlimDevices: Unix] Need help installing on Debian 10

2019-12-15 Thread 1uke_


Rnee wrote: 
> This is where it goes wrong: wget is a program to download from the
> command line and apparently it's not installed by default on a desktop
> system.
> Therefor the LMS package has not been downloaded; you can check this by
> having a look in the 'sources' directory.
> > 
Code:

  >   > mkdir -p /sources
  > cd /sources
  > wget $latest_lms

> > This is where that 'sources' directory is created, changed to it and
> the package is downloaded into it.
> 
> You can install wget by either the package manager in the GUI
> (Graphical User Interface) or on the command line by:
> > 
Code:

  >   > (sudo) apt install wget

> > Again, preceding with sudo or not depends on how your system was set
> up.
> 
> Note: there is no use to hide the IP address of your machine since
> this is a private/LAN address and cannot be reached from the internet.
> This is a common, locally used IP range so many users have this.

Hello, thanks for the reply, 

I've installed wget successfully.

I ran through the code again, and still I can't connect to my logitech
media server.

What can I do next or how can I investigate further?

Thank you for sticking with me and helping me with this :)



1uke_'s Profile: http://forums.slimdevices.com/member.php?userid=66412
View this thread: http://forums.slimdevices.com/showthread.php?t=111348

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


Re: [SlimDevices: Unix] Need help installing on Debian 10

2019-12-15 Thread Rnee


1uke_ wrote: 
> bash: wget: command not found
> $This is where it goes wrong: wget is a program to download from the
command line and apparently it's not installed by default on a desktop
system.
Therefor the LMS package has not been downloaded; you can check this by
having a look in the 'sources' directory.

Code:

mkdir -p /sources
  cd /sources
  wget $latest_lms

This is where that 'sources' directory is created, changed to it and the
package is downloaded into it.

You can install wget by either the package manager in the GUI (Graphical
User Interface) or on the command line by:

Code:

(sudo) apt install wget

Again, preceding with sudo or not depends on how your system was set up.



pCP v5.0.0 on all players
LMS 7.9.2 on Debian Buster server in a Linux Container
RPi 3B+ with Hifiberry AMP2 and official 7" touchscreen (Squeezelite +
Jivelite), +27k titles on SMB share
RPi B as dedicated player, connected over wifi with USB dongle
RPi 2B as dedicated player, connected over powerline
RPi Zero W as dedicated player
Squeezer on Android to control

Rnee's Profile: http://forums.slimdevices.com/member.php?userid=66970
View this thread: http://forums.slimdevices.com/showthread.php?t=111348

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


Re: [SlimDevices: Unix] Need help installing on Debian 10

2019-12-15 Thread 1uke_


Yatsushiro wrote: 
> Are you sure the LMS Servcie is running?
> 
> At the command line, type:
> 
> > 
Code:

  >   > systemctl status logitechmediaserver.service

> > 
> 
> If it's not running, type:
> 
> 
> 
> Followed by:
> 
> > 
Code:

  >   > systemctl start logitechmediaserver.service

> > 
> 
> You may need to sudo these commands, depending on your user settings.
> 
> Good luck...


Running $ systemctl status logitechmediaserver.service 

gives me the following output

$ systemctl status logitechmediaserver.service
 logitechmediaserver.service - LSB: Startup script for the
Logitech Media Serve
Loaded: loaded (/etc/init.d/logitechmediaserver; generated)
Active: active (exited) since Sun 2019-12-15 00:19:39 GMT; 18h ago
Docs: man:systemd-sysv-generator(8)
lines 1-4/4 (END)

I'm not sure what the above output means so I ran

$ systemctl enable logitechmediaserver.service

followed by

$ systemctl start logitechmediaserver.service

These commands didn't give any outputs and returned me to a blank
command line.

When I visit 192.x.x.x:9000 I still see a message 'unable to connect'

Any ideas what is going on or what may be causing the problem?



1uke_'s Profile: http://forums.slimdevices.com/member.php?userid=66412
View this thread: http://forums.slimdevices.com/showthread.php?t=111348

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


Re: [SlimDevices: Unix] Need help installing on Debian 10

2019-12-15 Thread Yatsushiro


1uke_ wrote: 
> Hi,
> 
> I ran through these commands, they seemed to work as far as I could
> tell, but when I visit 102.x.x.x:9000 the logitech media server
> interface still isn't loading.
> 
> Is there anything I can check to see what the problem is?

Are you sure the LMS Servcie is running?

At the command line, type:


Code:

systemctl status logitechmediaserver.service



If it's not running, type:

> systemctl enable logitechmediaserver.service

Followed by:


Code:

systemctl start logitechmediaserver.service



You may need to sudo these commands, depending on your user settings.

Good luck...



Yatsushiro's Profile: http://forums.slimdevices.com/member.php?userid=66935
View this thread: http://forums.slimdevices.com/showthread.php?t=111348

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


Re: [SlimDevices: Unix] Need help installing on Debian 10

2019-12-15 Thread 1uke_


Rnee wrote: 
> I have successfully installed LMS on a Debian server in a container with
> this howto: http://wiki.slimdevices.com/index.php/DebianPackage

Hi,

I ran through these commands, they seemed to work as far as I could
tell, but when I visit 102.x.x.x:9000 the logitech media server
interface still isn't loading.

Is there anything I can check to see what the problem is?



1uke_'s Profile: http://forums.slimdevices.com/member.php?userid=66412
View this thread: http://forums.slimdevices.com/showthread.php?t=111348

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


Re: [SlimDevices: Unix] Need help installing on Debian 10

2019-12-15 Thread 1uke_


mherger wrote: 
> > This is perl 5, version 28, subversion 1 (v5.28.1) built for
> > i686-linux-gnu-thread-multi-64int
> 
> You'll have to build the binaries yourself (or find somebody who already
> 
> did). We do not include them in LMS.
> 
> -- 
> 
> Michael

Hi Michael,

This is a little bit beyond my knowkedge.

Can you tell me


- What is a binary?
- What is the name of the binary that I need?
- Where would I be able to find the binary?
- How do I build the binary?
  


I am hoping with your help I can install the Logitech Media Server.

How come I didn't need to build any binaries when putting Logitech Media
Server on my old Ubuntu system?



1uke_'s Profile: http://forums.slimdevices.com/member.php?userid=66412
View this thread: http://forums.slimdevices.com/showthread.php?t=111348

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


Re: [SlimDevices: Unix] Need help installing on Debian 10

2019-12-15 Thread 1uke_


Rnee wrote: 
> It's quite simple, I'm not a Linux expert either, used another howto
> which didn't work but with this one it was easy.
> I started from:
> http://wiki.slimdevices.com/index.php/DebianPackage#installing_7.9.2
> 
> You open a command line and all depends a little on whether you have
> admin rights or not.
> If not, you have to precede those lines which start with sudo exactly
> that way.
> If you do already have admin (root) rights, you can omit sudo.
> Then just copy/paste each line followed by enter.
> Just pay attention that you don't see any errors after entering.
> 
> That's how it has worked for me.
> At the end, depending if you use the same machine or not, you have to
> enter the right address of the machine you installed LMS on as pointer
> in the browser.
> 
> HTH

Hello,

I tried this method but seem to have a problem when I run wget.

See command line output below.


- Can you advise me on what I should do or what went wrong?
  


$ sudo apt-get install libio-socket-ssl-perl
[sudo] password: 
Reading package lists... Done
Building dependency tree   
Reading state information... Done
libio-socket-ssl-perl is already the newest version (2.060-3).
libio-socket-ssl-perl set to manually installed.
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.

$(dpkg --print-architecture)

$ if [ "$os" = "armhf" ]; then os=arm; fi

$
url="http://www.mysqueezebox.com/update/?version=7.9.1=1=1=deb;

$ latest_lms=$(wget -q -O - "$url")
bash: wget: command not found

$



1uke_'s Profile: http://forums.slimdevices.com/member.php?userid=66412
View this thread: http://forums.slimdevices.com/showthread.php?t=111348

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


Re: [SlimDevices: Unix] Need help installing on Debian 10

2019-12-14 Thread Michael Herger

This is perl 5, version 28, subversion 1 (v5.28.1) built for
i686-linux-gnu-thread-multi-64int


You'll have to build the binaries yourself (or find somebody who already 
did). We do not include them in LMS.


--

Michael
___
unix mailing list
unix@lists.slimdevices.com
http://lists.slimdevices.com/mailman/listinfo/unix


Re: [SlimDevices: Unix] Need help installing on Debian 10

2019-12-14 Thread 1uke_


castalla wrote: 
> When you run dpkg you should see lines of information as the install
> takes place.  If the install is successful then there should be no error
> mesages.
> Paste the output.

Here is the output 

~/Desktop$ sudo dpkg -i logitechmediaserver_7.9.1_i386.deb

(Reading database ... 263687 files and directories currently
installed.)
Preparing to unpack logitechmediaserver_7.9.1_i386.deb ...
invoke-rc.d: policy-rc.d denied execution of stop.
Unpacking logitechmediaserver (7.9.1) over (7.9.1) ...
Setting up logitechmediaserver (7.9.1) ...
invoke-rc.d: policy-rc.d denied execution of start.
Processing triggers for systemd (241-7~deb10u2) ...

~/Desktop$



1uke_'s Profile: http://forums.slimdevices.com/member.php?userid=66412
View this thread: http://forums.slimdevices.com/showthread.php?t=111348

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


Re: [SlimDevices: Unix] Need help installing on Debian 10

2019-12-14 Thread Rnee


It's quite simple, I'm not a Linux expert either, used another howto
which didn't work but with this one it was easy.
I started from:
http://wiki.slimdevices.com/index.php/DebianPackage#installing_7.9.2

You open a command line and all depends a little on whether you have
admin rights or not.
If not, you have to precede those lines which start with sudo exactly
that way.
If you do already have admin (root) rights, you can omit sudo.
Then just copy/paste each line followed by enter.
Just pay attention that you don't see any errors after entering.

That's how it has worked for me.
At the end, depending if you use the same machine or not, you have to
enter the right address of the machine you installed LMS on as pointer
in the browser.

HTH



pCP v5.0.0 on all players
LMS 7.9.2 on Debian Buster server in a Linux Container
RPi 3B+ with Hifiberry AMP2 and official 7" touchscreen (Squeezelite +
Jivelite), +27k titles on SMB share
RPi B as dedicated player, connected over wifi with USB dongle
RPi 2B as dedicated player, connected over powerline
RPi Zero W as dedicated player
Squeezer on Android to control

Rnee's Profile: http://forums.slimdevices.com/member.php?userid=66970
View this thread: http://forums.slimdevices.com/showthread.php?t=111348

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


Re: [SlimDevices: Unix] Need help installing on Debian 10

2019-12-14 Thread 1uke_


mherger wrote: 
> > I had LMS running on my Ubuntu machine, but I have made the switch to
> > Debian 10 with Mate Desktop, Intel x32 bit processor.
> 
> We don't provide binaries for recent perl versions on x86 CPUs. Recent 
> builds only support x86_64. What perl version would you be running?
> 
> If you didn't want to switch distribution, you could build the binaries
> 
> yourself:
> 
> https://github.com/Logitech/slimserver-vendor/tree/public/7.9/CPAN
> 
> -- 
> 
> Michael

Here is my pearl versiom

This is perl 5, version 28, subversion 1 (v5.28.1) built for
i686-linux-gnu-thread-multi-64int



1uke_'s Profile: http://forums.slimdevices.com/member.php?userid=66412
View this thread: http://forums.slimdevices.com/showthread.php?t=111348

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


Re: [SlimDevices: Unix] Need help installing on Debian 10

2019-12-14 Thread 1uke_


Rnee wrote: 
> I have successfully installed LMS on a Debian server in a container with
> this howto: http://wiki.slimdevices.com/index.php/DebianPackage

Thank you for the reply.

I don't quite understand those install instructions.

Is there any change you could re-write them below and put each new
command on a new line so it is clear where each command stops and
starts. 

The way they are currently laid out, I am not sure where each command
begins and ends.

Thank you for your help with this.



1uke_'s Profile: http://forums.slimdevices.com/member.php?userid=66412
View this thread: http://forums.slimdevices.com/showthread.php?t=111348

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


Re: [SlimDevices: Unix] Need help installing on Debian 10

2019-12-14 Thread Rnee


I have successfully installed LMS on a Debian server in a container with
this howto: http://wiki.slimdevices.com/index.php/DebianPackage



pCP v5.0.0 on all players
RPi 3B+ with Hifiberry AMP2 and official 7" touchscreen (Squeezelite,
LMS and Jivelite), +24k titles on SMB share
RPi B as dedicated player, connected over wifi with USB dongle
RPi 2B as dedicated player, connected over powerline
RPi Zero W as dedicated player
Squeezer on Android to control

Rnee's Profile: http://forums.slimdevices.com/member.php?userid=66970
View this thread: http://forums.slimdevices.com/showthread.php?t=111348

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


Re: [SlimDevices: Unix] Need help installing on Debian 10

2019-12-14 Thread 1uke_


mherger wrote: 
> > I had LMS running on my Ubuntu machine, but I have made the switch to
> > Debian 10 with Mate Desktop, Intel x32 bit processor.
> 
> We don't provide binaries for recent perl versions on x86 CPUs. Recent 
> builds only support x86_64. What perl version would you be running?
> 
> If you didn't want to switch distribution, you could build the binaries
> 
> yourself:
> 
> https://github.com/Logitech/slimserver-vendor/tree/public/7.9/CPAN
> 
> -- 
> 
> Michael

Hello,

I am unable to check that right now, I will get back with the accurate
information tomorrow, but if my memory servers me correct it was version
- v5.26.1



1uke_'s Profile: http://forums.slimdevices.com/member.php?userid=66412
View this thread: http://forums.slimdevices.com/showthread.php?t=111348

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


Re: [SlimDevices: Unix] Need help installing on Debian 10

2019-12-14 Thread 1uke_


castalla wrote: 
> When you run dpkg you should see lines of information as the install
> takes place.  If the install is successful then there should be no error
> mesages.
> Paste the output.

Hi, 

My Debian machine has locked up I will get this information and posted
it tomorrow.

I hope you will still be able to help me then?

Thank you.



1uke_'s Profile: http://forums.slimdevices.com/member.php?userid=66412
View this thread: http://forums.slimdevices.com/showthread.php?t=111348

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


Re: [SlimDevices: Unix] Need help installing on Debian 10

2019-12-14 Thread Michael Herger

I had LMS running on my Ubuntu machine, but I have made the switch to
Debian 10 with Mate Desktop, Intel x32 bit processor.


We don't provide binaries for recent perl versions on x86 CPUs. Recent 
builds only support x86_64. What perl version would you be running?


If you didn't want to switch distribution, you could build the binaries 
yourself:


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

--

Michael
___
unix mailing list
unix@lists.slimdevices.com
http://lists.slimdevices.com/mailman/listinfo/unix


Re: [SlimDevices: Unix] Need help installing on Debian 10

2019-12-14 Thread castalla


1uke_ wrote: 
> Hello, I am not sure what you mean.
> 
> >   >   > 
  - Do I run a command to see this information?
  - 
  - Is this the information that appears on screen when I run $ sudo
  > dpkg -i logitechmediaserver_7.7.6.all.deb ?
  - 
  - Should I paste the output from running $ sudo dpkg -i
  > logitechmediaserver_7.7.6.all.deb below?
  > > > 

When you run dpkg you should see lines of information as the install
takes place.  If the install is successful then there should be no eroor
mesages.
Paste the output.



LMS server: Pi Zero

Amp: Denon PMA-50

Players/Speakers:  Touch, Logitech Radios, Sonos Play 1s & Beam,
Libratone Zipp, GGMM E2 & E3, Yamaha WXAD-010, Loewe Airspeaker, Google
Chromecast Audio, Home Mini & Nest Hub, Amazon Echo 2,3 and Show5,
Pioneer WX-SMA1, Roberts S1, O2 Joggler, Cisco Joggler, Avantree Priva
BT transmitter

Brexit =   stupidity




castalla's Profile: http://forums.slimdevices.com/member.php?userid=15624
View this thread: http://forums.slimdevices.com/showthread.php?t=111348

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


Re: [SlimDevices: Unix] Need help installing on Debian 10

2019-12-14 Thread 1uke_


castalla wrote: 
> You should see info about the dpkg install process ... yes?

Hello, I am not sure what you mean.


- Do I run a command to see this information?
- 
- Is this the information that appears on screen when I run $ sudo
  dpkg -i logitechmediaserver_7.7.6.all.deb ?
- 
- Should I paste the output from running $ sudo dpkg -i
  logitechmediaserver_7.7.6.all.deb below?



1uke_'s Profile: http://forums.slimdevices.com/member.php?userid=66412
View this thread: http://forums.slimdevices.com/showthread.php?t=111348

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


Re: [SlimDevices: Unix] Need help installing on Debian 10

2019-12-14 Thread castalla


1uke_ wrote: 
> Hello, 
> 
> I had LMS running on my Ubuntu machine, but I have made the switch to
> Debian 10 with Mate Desktop, Intel x32 bit processor.
> 
> I have run the following process to install 
> 
> 1). Download the logitech media server .deb  for Debian / Ubuntu from
> here to my Desktop - https://www.mysqueezebox.com/download
> 
> 2) Open the command line and cd to the Desktop
> 
> 3) Run the command $ sudo dpkg -i logitechmediaserver_7.7.6.all.deb
> 
> ***side note*** I have also tried using -
> logitechmediaserver_7.9.1.all.deb - I'm not sure which version I should
> be using?
> 
> 
> 4) When I visit 192.x.x.x:9000 I would expect to see the logitech media
> interface, but nothing loads.
> 
> 
> Have I done something wrong?
> 
> Please could someone walk me through the process of getting logictech
> media server installed on Debian 10?

You should see info about the dpkg install process ... yes?



LMS server: Pi Zero

Amp: Denon PMA-50

Players/Speakers:  Touch, Logitech Radios, Sonos Play 1s & Beam,
Libratone Zipp, GGMM E2 & E3, Yamaha WXAD-010, Loewe Airspeaker, Google
Chromecast Audio, Home Mini & Nest Hub, Amazon Echo 2,3 and Show5,
Pioneer WX-SMA1, Roberts S1, O2 Joggler, Cisco Joggler, Avantree Priva
BT transmitter

Brexit =   stupidity




castalla's Profile: http://forums.slimdevices.com/member.php?userid=15624
View this thread: http://forums.slimdevices.com/showthread.php?t=111348

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


[SlimDevices: Unix] Need help installing on Debian 10

2019-12-14 Thread 1uke_


Hello, 

I had LMS running on my Ubuntu machine, but I have made the switch to
Debian 10 with Mate Desktop, Intel x32 bit processor.

I have run the following process to install 

1). Download the logitech media server .deb  for Debian / Ubuntu from
here to my Desktop - https://www.mysqueezebox.com/download

2) Open the command line and cd to the Desktop

3) Run the command $ sudo dpkg -i logitechmediaserver_7.7.6.all.deb

***side note*** I have also tried using -
logitechmediaserver_7.9.1.all.deb - I'm not sure which version I should
be using?


4) When I visit 192.x.x.x:9000 I would expect to see the logitech media
interface, but nothing loads.


Have I done something wrong?

Please could someone walk me through the process of getting logictech
media server installed on Debian 10?



1uke_'s Profile: http://forums.slimdevices.com/member.php?userid=66412
View this thread: http://forums.slimdevices.com/showthread.php?t=111348

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