Re: [SlimDevices: SqueezeCenter] Perl 5.26 support?

2017-10-26 Thread martinlittle

Thank you, as ever, @mherger.  Saved me a lot of time, on Ubuntu 17.10.



martinlittle's Profile: http://forums.slimdevices.com/member.php?userid=35518
View this thread: http://forums.slimdevices.com/showthread.php?t=107609

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


Re: [SlimDevices: SqueezeCenter] Perl 5.26 support?

2017-10-26 Thread ltsv38

PasTim wrote: 
> The latest version of LMS supports Perl 5.26, as installed with Ubuntu
> 17.10.  This means you don't need to compile Perl 5.24
Thanks PasTim for your reply
I've solved the issue. It was due to the fact I've previously modified
the LMS launchers and that the new installation don't overwrite them
sbellon wrote: 
> # Ensure after an LMS update that we switch to our own Perl and not
> Debian's.
> for NAME in squeezeboxserver squeezeboxserver-cleanup
> squeezeboxserver-scanner; do
> sed -i -e 's+/usr/bin/perl+/opt/perl-5.24.3-LMS/bin/perl+g'
> /usr/sbin/$NAME
> done
I've restored those files from my backup and now everything seems OK

Regards



*Pierre *(Grenoble - France)
2 Squeezebox Touch (main HIFI system & headphone) + 1 Squeezebox Duet
(kitchen HIFI system) + 3 Squeezebox Radio
Ubuntu server with LMS 7.9

ltsv38's Profile: http://forums.slimdevices.com/member.php?userid=18584
View this thread: http://forums.slimdevices.com/showthread.php?t=107609

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


Re: [SlimDevices: SqueezeCenter] Perl 5.26 support?

2017-10-26 Thread PasTim

ltsv38 wrote: 
> Hello
> 
> I'm running on Ubuntu 17.10, so I've compiled Perl 5.24 as explained by
> Roland
> 
> 
> I've installed the last build of Logitech Media Server
> (7.9.1~1508904967): thanks a lot Michael
> 
> But when launching Logitech Media Server, a least one module is missing
> in Perl installation.
> > 
Code:

  >   > # /usr/sbin/squeezeboxserver
  > Can't locate Slim/bootstrap.pm in @INC (you may need to install the 
Slim::bootstrap module)

> > 
> How is it possible to add this(those) module(s)
> 
> Thanks in advance
The latest version of LMS supports Perl 5.26, as installed with Ubuntu
17.10.  This means you don't need to compile Perl 5.24 unless you really
want to as a backup for future changes which might cause temporary
incompatibility with LMS.  

When building Perl 5.24.3 and an older LMS myself, many of my problems
were caused by permissions on the folders in /opt.  See my tail of woe
and revelation towards the end of
http://forums.slimdevices.com/showthread.php?99648-Howto-build-a-self-contained-LMS



LMS 7.9.1 on VortexBox Midi box, Xubuntu 17.10, FLACs 16->24 bit,
44.1->192kbps.  Touch & EDO. 2nd Touch standard.
LMS plugin UPnP/DLNA Bridge to MF M1 CLiC (to A308CR amp & ESLs) &
Marantz CR603 UPnP renderers.  
Alternatively Minimserver & Upplay to same & to upmpdcli/mpd PC
renderers.  
Squeezelite to Meridian USB Explorer DAC to PC speakers/headphones.  
Wireless Xubuntu 17.10 laptop firefox/upplay or Android 'phone with
Squeeze-Commander/BubbleUPnP controls LMS/Minimserver.

PasTim's Profile: http://forums.slimdevices.com/member.php?userid=41642
View this thread: http://forums.slimdevices.com/showthread.php?t=107609

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


Re: [SlimDevices: SqueezeCenter] Perl 5.26 support?

2017-10-26 Thread ltsv38

Hello

I'm running on Ubuntu 17.10, so I've compiled Perl 5.24 as explained by
Roland
Roland0 wrote: 
> Just download the perl sources, run the configuration, install:
> and use /opt/perl-5.24.3-LMS/bin/perl for LMS

I've installed the last build of Logitech Media Server
(7.9.1~1508904967): thanks a lot Michael
mherger wrote: 
> > The AMD64 .deb should be ready for download. Please give it a try and
> let me know about your findings.
But when launching Logitech Media Server, a least one module is missing
in Perl installation.

Code:

# /usr/sbin/squeezeboxserver
  Can't locate Slim/bootstrap.pm in @INC (you may need to install the 
Slim::bootstrap module)


How is it possible to add this(those) module(s)

Thanks in advance
Pierre



Pierre (Grenoble - France)
2 Squeezebox Touch + 1 Squeezebox Duet + 3 Squeezebox Radio - Ubuntu
server with LMS 7.9

ltsv38's Profile: http://forums.slimdevices.com/member.php?userid=18584
View this thread: http://forums.slimdevices.com/showthread.php?t=107609

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


Re: [SlimDevices: SqueezeCenter] Perl 5.26 support?

2017-10-25 Thread cdmackay

mherger wrote: 
> > So I'm hoping Michael may release a 5.26 compatible LMS soon. I'm now
> on
> > my backup music service (minimserver).
> 
> The AMD64 .deb should be ready for download. Please give it a try and 
> let me know about your findings.
> 

thank you very much indeed. all good here on Debian unstable.



cdmackay's Profile: http://forums.slimdevices.com/member.php?userid=24816
View this thread: http://forums.slimdevices.com/showthread.php?t=107609

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


Re: [SlimDevices: SqueezeCenter] Perl 5.26 support?

2017-10-25 Thread Peter Galbavy

Perfect timing and thanks for the effort. I was just giving up on trying
to DIY. I can get rid of the Windows instance now :)



Peter Galbavy's Profile: http://forums.slimdevices.com/member.php?userid=32718
View this thread: http://forums.slimdevices.com/showthread.php?t=107609

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


Re: [SlimDevices: SqueezeCenter] Perl 5.26 support?

2017-10-25 Thread PasTim

mherger wrote: 
> > Thanks very much indeed.  LMS now starts, and will play to my Touch.
> I
> > have't reset any prefs or cache.
> 
> Excellent! I'm glad it's working on Ubuntu based systems, too, as I've 
> built on Debian. And you never know before you try :-).
> 
> > However, many (maybe all?) plugins fail to run (eg local player,
> server
> > power control, upnpbridge, multi-library, custom browse etc) even
> though
> > still installed.  I also get this on the log:
> 
> That's odd. And nothing in server.log? Could you uninstall/re-install 
> one of them?
> 
> >[17-10-25 08:21:46.3064] Slim::Utils::Misc::msg (1250) Warning:
> [08:21:46.3053] Redundant argument in sprintf at
> /usr/share/perl5/Slim/Utils/SQLiteHelper.pm line 88.
> >[17-10-25 08:22:50.0683] Slim::Utils::Misc::msg (1250) Warning:
> [08:22:50.0667] Use of uninitialized value $Logic in hash element at
> /usr/share/squeezeboxserver/CPAN/Net/Ifconfig/Wrapper.pm line 250.
> 
> I guess they have "tightened" the syntax check again. I'll see what I 
> can do.
> 
> -- 
> 
> Michael
Very sorry - my mistake.  I had been trying to get a build of my own to
work and had added --failsafe to the start to see if plugins were
causing problems.

All now 100% good.  Thanks again.



LMS 7.9.1 on VortexBox Midi box, Xubuntu 17.10, FLACs 16->24 bit,
44.1->192kbps.  Touch & EDO. 2nd Touch standard.
LMS plugin UPnP/DLNA Bridge to MF M1 CLiC (to A308CR amp & ESLs) &
Marantz CR603 UPnP renderers.  
Alternatively Minimserver & Upplay to same & to upmpdcli/mpd PC
renderers.  
Squeezelite to Meridian USB Explorer DAC to PC speakers/headphones.  
Wireless Xubuntu 17.10 laptop firefox/upplay or Android 'phone with
Squeeze-Commander/BubbleUPnP controls LMS/Minimserver.

PasTim's Profile: http://forums.slimdevices.com/member.php?userid=41642
View this thread: http://forums.slimdevices.com/showthread.php?t=107609

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


Re: [SlimDevices: SqueezeCenter] Perl 5.26 support?

2017-10-25 Thread Michael Herger

Thanks very much indeed.  LMS now starts, and will play to my Touch. I
have't reset any prefs or cache.


Excellent! I'm glad it's working on Ubuntu based systems, too, as I've 
built on Debian. And you never know before you try :-).



However, many (maybe all?) plugins fail to run (eg local player, server
power control, upnpbridge, multi-library, custom browse etc) even though
still installed.  I also get this on the log:


That's odd. And nothing in server.log? Could you uninstall/re-install 
one of them?



   [17-10-25 08:21:46.3064] Slim::Utils::Misc::msg (1250) Warning: 
[08:21:46.3053] Redundant argument in sprintf at 
/usr/share/perl5/Slim/Utils/SQLiteHelper.pm line 88.
   [17-10-25 08:22:50.0683] Slim::Utils::Misc::msg (1250) Warning: 
[08:22:50.0667] Use of uninitialized value $Logic in hash element at 
/usr/share/squeezeboxserver/CPAN/Net/Ifconfig/Wrapper.pm line 250.


I guess they have "tightened" the syntax check again. I'll see what I 
can do.


--

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


Re: [SlimDevices: SqueezeCenter] Perl 5.26 support?

2017-10-25 Thread ian_heys

Thanks Michael,

I installed Ubuntu 17.10 on an old laptop (for travelling) yesterday and
synced my music folder to my synology Nas music storage.

I was about to install LMS this morning when I did my morning review of
the new posts in the forum.

The amd64 deb download worked perfectly and I certainly wouldn't have
been able to perform any of the more complicated methods outlined here.

Long live LMS and thanks again to all the developers and contributors.



LMS Version: 7.9.1 - 1508251793 @ Tue Oct 17 19:02:38 UTC 2017 on
Raspberry Pi 3B piCorePlayer v3.22 Server/IQAudio DAC+/Amp+/ Synology
DS216J Network Music Store
*Homeplug LAN Players:*
Squeezelite on Windows 10 PC (x2)
Raspberry Pi 3B piCorePlayer v3.22/HDMI/Jivelite
*Wifi Players:
*Squeezelite on Ubuntu 16.04 Laptop
SqueezePlayer on Android Phone 
UPnP Wifi Players: 2 x Chromecast Audio, 2 x Chromecast Video, Revo
Super-Connect, GGMM-E5

ian_heys's Profile: http://forums.slimdevices.com/member.php?userid=2629
View this thread: http://forums.slimdevices.com/showthread.php?t=107609

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


Re: [SlimDevices: SqueezeCenter] Perl 5.26 support?

2017-10-25 Thread PasTim

mherger wrote: 
> > So I'm hoping Michael may release a 5.26 compatible LMS soon. I'm now
> on
> > my backup music service (minimserver).
> 
> The AMD64 .deb should be ready for download. Please give it a try and 
> let me know about your findings.
> 
> (the other builds might take a little longer, as the build system has 
> become a bit touchy...)
> 
> -- 
> 
> Michael
Thanks very much indeed.  LMS now starts, and will play to my Touch. I
have't reset any prefs or cache.

However, many (maybe all?) plugins fail to run (eg local player, server
power control, upnpbridge, multi-library, custom browse etc) even though
still installed.  I also get this on the log:

Code:


  [17-10-25 08:21:45.7847] Slim::Utils::Misc::msg (1250) Warning: 
[08:21:45.7834] Redundant argument in sprintf at 
/usr/share/perl5/Slim/Utils/SQLiteHelper.pm line 88.
  [17-10-25 08:21:45.7868] Slim::Utils::Misc::msg (1250) Warning: 
[08:21:45.7857] Redundant argument in sprintf at 
/usr/share/perl5/Slim/Utils/SQLiteHelper.pm line 88.
  [17-10-25 08:21:45.7890] Slim::Utils::Misc::msg (1250) Warning: 
[08:21:45.7879] Redundant argument in sprintf at 
/usr/share/perl5/Slim/Utils/SQLiteHelper.pm line 88.
  [17-10-25 08:21:46.0029] Slim::Utils::Misc::msg (1250) Warning: 
[08:21:45.0019] Redundant argument in sprintf at 
/usr/share/perl5/Slim/Utils/SQLiteHelper.pm line 88.
  [17-10-25 08:21:46.2544] Slim::Utils::Misc::msg (1250) Warning: 
[08:21:46.2533] Redundant argument in sprintf at 
/usr/share/perl5/Slim/Utils/SQLiteHelper.pm line 88.
  [17-10-25 08:21:46.2563] Slim::Utils::Misc::msg (1250) Warning: 
[08:21:46.2553] Redundant argument in sprintf at 
/usr/share/perl5/Slim/Utils/SQLiteHelper.pm line 88.
  [17-10-25 08:21:46.2583] Slim::Utils::Misc::msg (1250) Warning: 
[08:21:46.2573] Redundant argument in sprintf at 
/usr/share/perl5/Slim/Utils/SQLiteHelper.pm line 88.
  [17-10-25 08:21:46.3064] Slim::Utils::Misc::msg (1250) Warning: 
[08:21:46.3053] Redundant argument in sprintf at 
/usr/share/perl5/Slim/Utils/SQLiteHelper.pm line 88.
  [17-10-25 08:22:50.0683] Slim::Utils::Misc::msg (1250) Warning: 
[08:22:50.0667] Use of uninitialized value $Logic in hash element at 
/usr/share/squeezeboxserver/CPAN/Net/Ifconfig/Wrapper.pm line 250.
  [17-10-25 08:22:50.0704] Slim::Utils::Misc::msg (1250) Warning: 
[08:22:50.0693] Use of uninitialized value $Logic in hash element at 
/usr/share/squeezeboxserver/CPAN/Net/Ifconfig/Wrapper.pm line 250.
  [17-10-25 08:22:50.1003] Slim::Utils::Misc::msg (1250) Warning: 
[08:22:50.0986] Use of uninitialized value $Logic in hash element at 
/usr/share/squeezeboxserver/CPAN/Net/Ifconfig/Wrapper.pm line 250.
  [17-10-25 08:22:50.1022] Slim::Utils::Misc::msg (1250) Warning: 
[08:22:50.1012] Use of uninitialized value $Logic in hash element at 
/usr/share/squeezeboxserver/CPAN/Net/Ifconfig/Wrapper.pm line 250.
  
  




LMS 7.9.1 on VortexBox Midi box, Xubuntu 17.10, FLACs 16->24 bit,
44.1->192kbps.  Touch & EDO. 2nd Touch standard.
LMS plugin UPnP/DLNA Bridge to MF M1 CLiC (to A308CR amp & ESLs) &
Marantz CR603 UPnP renderers.  
Alternatively Minimserver & Upplay to same & to upmpdcli/mpd PC
renderers.  
Squeezelite to Meridian USB Explorer DAC to PC speakers/headphones.  
Wireless Xubuntu 17.10 laptop firefox/upplay or Android 'phone with
Squeeze-Commander/BubbleUPnP controls LMS/Minimserver.

PasTim's Profile: http://forums.slimdevices.com/member.php?userid=41642
View this thread: http://forums.slimdevices.com/showthread.php?t=107609

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


Re: [SlimDevices: SqueezeCenter] Perl 5.26 support?

2017-10-24 Thread Michael Herger

So I'm hoping Michael may release a 5.26 compatible LMS soon. I'm now on
my backup music service (minimserver).


The AMD64 .deb should be ready for download. Please give it a try and 
let me know about your findings.


(the other builds might take a little longer, as the build system has 
become a bit touchy...)


--

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


Re: [SlimDevices: SqueezeCenter] Perl 5.26 support?

2017-10-24 Thread PasTim

PasTim wrote: 
> Having been pointed at
> http://forums.slimdevices.com/showthread.php?99648-Howto-build-a-self-contained-LMS&highlight=howto%3A+build+a+self-contained
> I'm now making progress.  I may be some time... :)
I think my ignorance is too great. I've followed instructions in the
'how to build...', had loads of permission problems that I don't
understand (why don't other people get the same problems, but think I
have circumvented them for now), and now still get failure to load perl
modules at startup.   I don't understand enough about what uses what and
how, know nothing at all about perl, and clearly not enough about linux.
I had hoped the build would be relatively straightforward and without
major error, but it seems not.

So I'm hoping Michael may release a 5.26 compatible LMS soon. I'm now on
my backup music service (minimserver).



LMS 7.9.1 on VortexBox Midi box, Xubuntu 17.04, FLACs 16->24 bit,
44.1->192kbps.  Touch & EDO. 2nd Touch standard.
LMS plugin UPnP/DLNA Bridge to MF M1 CLiC (to A308CR amp & ESLs) &
Marantz CR603 UPnP renderers.  
Alternatively Minimserver & Upplay to same & to upmpdcli/mpd PC
renderers.  
Squeezelite to Meridian USB Explorer DAC to PC speakers/headphones.  
Wireless Xubuntu 17.04 laptop firefox/upplay or Android 'phone with
Squeeze-Commander/BubbleUPnP controls LMS/Minimserver.

PasTim's Profile: http://forums.slimdevices.com/member.php?userid=41642
View this thread: http://forums.slimdevices.com/showthread.php?t=107609

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


Re: [SlimDevices: SqueezeCenter] Perl 5.26 support?

2017-10-23 Thread Roland0

Peter Galbavy wrote: 
> 
> Not had a chance to look in detail, but have any records been kept of
> the changes made to the "custom" modules that are kept around and in the
> case of performance-only changes, with modern hardware is there any
> point in bothering if the upstream will not change things?
> 
Check 'here'
(http://forums.slimdevices.com/showthread.php?107040-Howto-update-perl-modules-bundled-with-LMS)
for a method to use up-to-date support packages for LMS.
However, if all you want to do is run LMS on a unsupported distribution
(e.g. one using an unsupported perl version), it's probably overkill.



SW: extGUI4LMS - new web UI: 'forum'
(http://forums.slimdevices.com/showthread.php?98186-Announce-Alternative-Web-Interface-(beta))
/ 'homepage' (https://www.nexus0.net/pub/sw/extgui4lms/) | 'LMSlib2go'
(http://forums.slimdevices.com/showthread.php?107704-Announce-LMSlib2go-library-information-on-mobile-devices)
| 'music visualizer'
(http://forums.slimdevices.com/showthread.php?103073-Announce-music-visualizer-for-squeezelite)
for squeezelite
HowTos: 'build a self-contained LMS'
(http://forums.slimdevices.com/showthread.php?99648-Howto-build-a-self-contained-LMS)
| 'Ogg Opus support'
(http://forums.slimdevices.com/showthread.php?107011-Howto-play-Ogg-Opus-files)
| 'Bluetooth with ALSA'
(http://forums.slimdevices.com/showthread.php?107230-Howto-Bluetooth-streaming-to-from-LMS-(ALSA-only-no-PulseAudio))
| ' update bundled perl modules'
(http://forums.slimdevices.com/showthread.php?107040-Howto-update-perl-modules-bundled-with-LMS)

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

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


Re: [SlimDevices: SqueezeCenter] Perl 5.26 support?

2017-10-23 Thread PasTim

PasTim wrote: 
> I'd doing my usual dim bit here.  I can download stuff and compile, but
> I have so far failed to find out precisely what I'm meant to download or
> git pull (and from where) to run with 5.24. The CPAN site has loads of
> stuff on it.  Can someone elucidate, or point me at the right post.
Having been pointed at
http://forums.slimdevices.com/showthread.php?99648-Howto-build-a-self-contained-LMS&highlight=howto%3A+build+a+self-contained
I'm now making progress.  I may be some time... :)



LMS 7.9.1 on VortexBox Midi box, Xubuntu 17.04, FLACs 16->24 bit,
44.1->192kbps.  Touch & EDO. 2nd Touch standard.
LMS plugin UPnP/DLNA Bridge to MF M1 CLiC (to A308CR amp & ESLs) &
Marantz CR603 UPnP renderers.  
Alternatively Minimserver & Upplay to same & to upmpdcli/mpd PC
renderers.  
Squeezelite to Meridian USB Explorer DAC to PC speakers/headphones.  
Wireless Xubuntu 17.04 laptop firefox/upplay or Android 'phone with
Squeeze-Commander/BubbleUPnP controls LMS/Minimserver.

PasTim's Profile: http://forums.slimdevices.com/member.php?userid=41642
View this thread: http://forums.slimdevices.com/showthread.php?t=107609

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


Re: [SlimDevices: SqueezeCenter] Perl 5.26 support?

2017-10-23 Thread Peter Galbavy

I upgraded to Ubuntu 17.10 to fix some Emby (and Plex, but not so much)
h/w transcode issues. This killed my LMS becasue I didn't think about
perl versions. I am now, temporarily, running LMS on a Windows PC using
a network share - but that gets turned off most of the time.

It's been a very long time since I got into any real perl source
maintenance but I thought I'd give it a try, downloaded the various
archives and also cloned the git tree. I gave up after a while...

One takeaway is that if nothing else, Digest::SHA1 should be replaced
with Digest::SHA globally, as it's a drop in replacement except that for
the OO interface you have to call ->new(1) instead of just ->new. This
however means replacing the ./CPAN/Digest/SHA1* stuff I think.

Not had a chance to look in detail, but have any records been kept of
the changes made to the "custom" modules that are kept around and in the
case of performance-only changes, with modern hardware is there any
point in bothering if the upstream will not change things?

Confused, of London...



Peter Galbavy's Profile: http://forums.slimdevices.com/member.php?userid=32718
View this thread: http://forums.slimdevices.com/showthread.php?t=107609

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


Re: [SlimDevices: SqueezeCenter] Perl 5.26 support?

2017-10-23 Thread PasTim

I'd doing my usual dim bit here.  I can download stuff and compile, but
I have so far failed to find out precisely what I'm meant to download or
git pull (and from where) to run with 5.24. The CPAN site has loads of
stuff on it.  Can someone elucidate, or point me at the right post.



LMS 7.9.1 on VortexBox Midi box, Xubuntu 17.04, FLACs 16->24 bit,
44.1->192kbps.  Touch & EDO. 2nd Touch standard.
LMS plugin UPnP/DLNA Bridge to MF M1 CLiC (to A308CR amp & ESLs) &
Marantz CR603 UPnP renderers.  
Alternatively Minimserver & Upplay to same & to upmpdcli/mpd PC
renderers.  
Squeezelite to Meridian USB Explorer DAC to PC speakers/headphones.  
Wireless Xubuntu 17.04 laptop firefox/upplay or Android 'phone with
Squeeze-Commander/BubbleUPnP controls LMS/Minimserver.

PasTim's Profile: http://forums.slimdevices.com/member.php?userid=41642
View this thread: http://forums.slimdevices.com/showthread.php?t=107609

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


Re: [SlimDevices: SqueezeCenter] Perl 5.26 support?

2017-10-23 Thread cdmackay

mherger wrote: 
> At some point for sure. This mostly likely will happen when one of the 
> major (and most popular) distributions used in the LMS community is 
> updating. What are you using?
> Michael

hi Michael, now that Ubuntu is shipping 5.26 in 17.10 (released a few
days ago), would you please consider updating the versions in nightly
builds?

thanks much indeed.



cdmackay's Profile: http://forums.slimdevices.com/member.php?userid=24816
View this thread: http://forums.slimdevices.com/showthread.php?t=107609

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


Re: [SlimDevices: SqueezeCenter] Perl 5.26 support?

2017-10-20 Thread paul-

Also, for the record, the slimserver-Vendor packages compile fine under
perl 5.26

the buildme.sh script just needed patched for 5.26.



paul-'s Profile: http://forums.slimdevices.com/member.php?userid=58858
View this thread: http://forums.slimdevices.com/showthread.php?t=107609

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


Re: [SlimDevices: SqueezeCenter] Perl 5.26 support?

2017-10-19 Thread Roland0

TheTxoof wrote: 
> I've used CPAN or the OS package manager in the past to install these
> packages, but always to the system-wide install and never into a
> purpose-built perl install. 
> Can you all give me some suggestions as to a sane and reasonable way to
> add the packages? 

Download the module from 'CPAN' (https://www.cpan.org/)
Then:

Code:


  tar xzf module.tar.gz
  cd module
  /opt/perl-5.24.3-LMS/bin/perl Makefile.PL
  make && make test
  sudo make install
  




SW: extGUI4LMS - new web UI: 'forum'
(http://forums.slimdevices.com/showthread.php?98186-Announce-Alternative-Web-Interface-(beta))
/ 'homepage' (https://www.nexus0.net/pub/sw/extgui4lms/) | 'LMSlib2go'
(http://forums.slimdevices.com/showthread.php?107704-Announce-LMSlib2go-library-information-on-mobile-devices)
| 'music visualizer'
(http://forums.slimdevices.com/showthread.php?103073-Announce-music-visualizer-for-squeezelite)
for squeezelite
HowTos: 'build a self-contained LMS'
(http://forums.slimdevices.com/showthread.php?99648-Howto-build-a-self-contained-LMS)
| 'Ogg Opus support'
(http://forums.slimdevices.com/showthread.php?107011-Howto-play-Ogg-Opus-files)
| 'Bluetooth with ALSA'
(http://forums.slimdevices.com/showthread.php?107230-Howto-Bluetooth-streaming-to-from-LMS-(ALSA-only-no-PulseAudio))
| ' update bundled perl modules'
(http://forums.slimdevices.com/showthread.php?107040-Howto-update-perl-modules-bundled-with-LMS)

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

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


Re: [SlimDevices: SqueezeCenter] Perl 5.26 support?

2017-10-15 Thread Stefan Bellon
Seems I got it running by adding the following to
the /etc/default/logitechmediaserver:


# Ensure after an LMS update that we switch to our own Perl and not Debian's.
for NAME in squeezeboxserver squeezeboxserver-cleanup squeezeboxserver-scanner; 
do
sed -i -e 's+/usr/bin/perl+/opt/perl-5.24.3-LMS/bin/perl+g' /usr/sbin/$NAME
done

# Ensure we find the LMS Perl modules from the .deb
export PERL5LIB=/usr/share/perl5


I used the following options to build Perl (mostly
stolen from "perl -V" of the Debian version):


./Configure -Dprefix=/opt/perl-5.24.3-LMS -Dusethreads -Duselargefiles
-Dcc=x86_64-linux-gnu-gcc -Dcpp=x86_64-linux-gnu-cpp
-Dld=x86_64-linux-gnu-gcc -Dccflags="-DDEBIAN -Wdate-time
-D_FORTIFY_SOURCE=2 -g -O2 -fstack-protector-strong -Wformat
-Werror=format-security" -Dldflags="-Wl,-z,relro" -Dlddlflags="-shared
-Wl,-z,relro" -Dcccdlflags="-fPIC" -Darchname=x86_64-linux-gnu
-Duse64bitint -Uafs -Ud_csh -Ud_ualarm -Uusesfio -Uusenm -Ui_libutil
-Uversiononly -DDEBUGGING=-g -Doptimize=-O2 -des -Duseshrplib


LMS plays and the scanner works, my library is the same as before.

I'll test this a few days and then try to upgrade Debian.
___
Squeezecenter mailing list
Squeezecenter@lists.slimdevices.com
http://lists.slimdevices.com/mailman/listinfo/squeezecenter


Re: [SlimDevices: SqueezeCenter] Perl 5.26 support?

2017-10-15 Thread Stefan Bellon
What about putting

for NAME in squeezeboxserver squeezeboxserver-cleanup squeezeboxserver-scanner; 
do
sed -i -e 's+/usr/bin/perl+/opt/perl-5.24.3-LMS/bin/perl+g' /usr/sbin/$NAME
done

in /etc/default/logitechmediaserver ?
___
Squeezecenter mailing list
Squeezecenter@lists.slimdevices.com
http://lists.slimdevices.com/mailman/listinfo/squeezecenter


Re: [SlimDevices: SqueezeCenter] Perl 5.26 support?

2017-10-14 Thread Michael Herger

However now the question remains what's an easy way to force
LMS' /etc/init.d scripts to use the /opt/perl instead of the system one?
Any suggestions?


Use a git clone instead of the packages. It's quickly updated (git pull) 
and the changes remain (unless they conflict with recent code changes - 
which won't happen if you only change that line).


Make sure you apply the line change to the server as well as the scanner!

--

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


Re: [SlimDevices: SqueezeCenter] Perl 5.26 support?

2017-10-14 Thread paul-

You I’ll have to make those edits whenever you upgrade LMS.



paul-'s Profile: http://forums.slimdevices.com/member.php?userid=58858
View this thread: http://forums.slimdevices.com/showthread.php?t=107609

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


Re: [SlimDevices: SqueezeCenter] Perl 5.26 support?

2017-10-14 Thread Roland0

sbellon wrote: 
> Ok, so I think it was easier to get a non-system Perl 5.24.3 compiled
> with additional modules like Crypt::OpenSSL::RSA, IO::Socket::INET6,
> and Net::SDP (which I need for ShairTunes2) than to get the modules for
> LMS compiled.
> 
> However now the question remains what's an easy way to force
> LMS' /etc/init.d scripts to use the /opt/perl instead of the system
> one?
> Any suggestions?

Option 1:
edit scanner.pl (=squeezeboxserver-scanner) and slimserver.pl
(=squeezeboxserver) and change the first line from
#!/usr/bin/perl
to
#!/opt/perl-5.24.3-LMS/bin/perl5.24.3

Option 2 (not tested):
edit init script:

Code:


  DAEMON=" /opt/perl-5.24.3-LMS/bin/perl5.24.3 /usr/sbin/$NAME"
  




SW: extGUI4LMS - new web UI: 'forum'
(http://forums.slimdevices.com/showthread.php?98186-Announce-Alternative-Web-Interface-(beta))
/ 'homepage' (https://www.nexus0.net/pub/sw/extgui4lms/) | 'LMSlib2go'
(http://forums.slimdevices.com/showthread.php?107704-Announce-LMSlib2go-library-information-on-mobile-devices)
| 'music visualizer'
(http://forums.slimdevices.com/showthread.php?103073-Announce-music-visualizer-for-squeezelite)
for squeezelite
HowTos: 'build a self-contained LMS'
(http://forums.slimdevices.com/showthread.php?99648-Howto-build-a-self-contained-LMS)
| 'Ogg Opus support'
(http://forums.slimdevices.com/showthread.php?107011-Howto-play-Ogg-Opus-files)
| 'Bluetooth with ALSA'
(http://forums.slimdevices.com/showthread.php?107230-Howto-Bluetooth-streaming-to-from-LMS-(ALSA-only-no-PulseAudio))
| ' update bundled perl modules'
(http://forums.slimdevices.com/showthread.php?107040-Howto-update-perl-modules-bundled-with-LMS)

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

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


Re: [SlimDevices: SqueezeCenter] Perl 5.26 support?

2017-10-14 Thread Stefan Bellon
Ok, so I think it was easier to get a non-system Perl 5.24.3 compiled
with additional modules like Crypt::OpenSSL::RSA, IO::Socket::INET6,
and Net::SDP (which I need for ShairTunes2) than to get the modules for
LMS compiled.

However now the question remains what's an easy way to force
LMS' /etc/init.d scripts to use the /opt/perl instead of the system one?
Any suggestions?
___
Squeezecenter mailing list
Squeezecenter@lists.slimdevices.com
http://lists.slimdevices.com/mailman/listinfo/squeezecenter


Re: [SlimDevices: SqueezeCenter] Perl 5.26 support?

2017-10-14 Thread paul-

The end result is the same, just in a different directory.   In either
case you still have extra modifications to get LMS to use a different
than system perl.



paul-'s Profile: http://forums.slimdevices.com/member.php?userid=58858
View this thread: http://forums.slimdevices.com/showthread.php?t=107609

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


Re: [SlimDevices: SqueezeCenter] Perl 5.26 support?

2017-10-14 Thread Stefan Bellon
Well, sadly, this IS what I get in that case:

$ tar xzf Module-Build-0.4220.tar.gz 
$ cd Module-Build-0.4220/
$ perl Makefile.PL
Died at Makefile.PL line 11.
BEGIN failed--compilation aborted at Makefile.PL line 11.

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


Re: [SlimDevices: SqueezeCenter] Perl 5.26 support?

2017-10-14 Thread Roland0

bpa wrote: 
> You can use perlbrew to help admin of multiple Perl versions.

I'd advise against using perlbrew for this use case.
> perlbrew is a tool to manage multiple perl installations in your $HOME
> directory. 
In this case, there is only a single perl installation (the system perl
will be untouched in any case), nothing to manage, and no usable $HOME
(as the LMS user is non-interactive and has no $HOME).
Basically, you add a layer of complexity without any benefit.
Just download the perl sources from 'here'
(http://www.cpan.org/src/README.html), untar, cd perl-x.y.z, run the
configuration, install:

Code:

./Configure -des -Dprefix=/opt/perl-5.24.3-LMS -Dusethreads
  make test
  sudo make install-strip



and use /opt/perl-5.24.3-LMS/bin/perl for LMS



SW: extGUI4LMS - new web UI: 'forum'
(http://forums.slimdevices.com/showthread.php?98186-Announce-Alternative-Web-Interface-(beta))
/ 'homepage' (https://www.nexus0.net/pub/sw/extgui4lms/) | 'LMSlib2go'
(http://forums.slimdevices.com/showthread.php?107704-Announce-LMSlib2go-library-information-on-mobile-devices)
| 'music visualizer'
(http://forums.slimdevices.com/showthread.php?103073-Announce-music-visualizer-for-squeezelite)
for squeezelite
HowTos: 'build a self-contained LMS'
(http://forums.slimdevices.com/showthread.php?99648-Howto-build-a-self-contained-LMS)
| 'Ogg Opus support'
(http://forums.slimdevices.com/showthread.php?107011-Howto-play-Ogg-Opus-files)
| 'Bluetooth with ALSA'
(http://forums.slimdevices.com/showthread.php?107230-Howto-Bluetooth-streaming-to-from-LMS-(ALSA-only-no-PulseAudio))
| ' update bundled perl modules'
(http://forums.slimdevices.com/showthread.php?107040-Howto-update-perl-modules-bundled-with-LMS)

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

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


Re: [SlimDevices: SqueezeCenter] Perl 5.26 support?

2017-10-14 Thread Roland0

sbellon wrote: 
> 
> Next problem however is (pasted from build.log):
> build_module run tests:0 clean:1 hints 1 Module-Build-0.4220 
> tar zxvf Module-Build-0.4220.tar.gz
> tar done
> Died at Makefile.PL line 11.
> 

Can't reproduce this (on gentoo x64 or aarch64). Try manually:

Code:


  $ tar xzf Module-Build-0.4220.tar.gz 
  $ cd Module-Build-0.4220/
  $ perl Makefile.PL
  $ make
  




SW: extGUI4LMS - new web UI: 'forum'
(http://forums.slimdevices.com/showthread.php?98186-Announce-Alternative-Web-Interface-(beta))
/ 'homepage' (https://www.nexus0.net/pub/sw/extgui4lms/) | 'LMSlib2go'
(http://forums.slimdevices.com/showthread.php?107704-Announce-LMSlib2go-library-information-on-mobile-devices)
| 'music visualizer'
(http://forums.slimdevices.com/showthread.php?103073-Announce-music-visualizer-for-squeezelite)
for squeezelite
HowTos: 'build a self-contained LMS'
(http://forums.slimdevices.com/showthread.php?99648-Howto-build-a-self-contained-LMS)
| 'Ogg Opus support'
(http://forums.slimdevices.com/showthread.php?107011-Howto-play-Ogg-Opus-files)
| 'Bluetooth with ALSA'
(http://forums.slimdevices.com/showthread.php?107230-Howto-Bluetooth-streaming-to-from-LMS-(ALSA-only-no-PulseAudio))
| ' update bundled perl modules'
(http://forums.slimdevices.com/showthread.php?107040-Howto-update-perl-modules-bundled-with-LMS)

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

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


Re: [SlimDevices: SqueezeCenter] Perl 5.26 support?

2017-10-14 Thread paul-

Might be easier to use perlbrew.   That way upgrades in the future wont
break lms.  


Code:


  $~/sudo apt-get install perlbrew 
  $~/perlbrew init(This will give you a 
line to put in your bashrc file)
  $~/perlbrew install -j 4 perl-5.24.1 --multi --thread(the -j 4 is 
parallel builds, change the 4 to how many processor cores you have)
  $~/perlbrew switch perl-5.24.1
  



run perl -V to make sure it is using the new perl that you installed.
You will probably need to add IO::Socket::SSL


Code:


  $~/sudo apt-get install libssl-dev
  $~/cpan install IO::Socket::SSL
  



This will setup perl 5.24.1 for your shell environment, the only thing
remains is to make sure this perl version is used when launching LMS. 
That will depend on how you start LMS.



paul-'s Profile: http://forums.slimdevices.com/member.php?userid=58858
View this thread: http://forums.slimdevices.com/showthread.php?t=107609

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


Re: [SlimDevices: SqueezeCenter] Perl 5.26 support?

2017-10-14 Thread Stefan Bellon
Ok, I thought I would give it a try, if it was that easy ...

First thing I had to fix was the "cd EV-4.*" in buildme.sh because that
expands to "cd EV-4.22 EV-4.22.tar.gz" which then does not work. That
was easy to fix.

Next problem however is (pasted from build.log):


build_module run tests:0 clean:1 hints 1 Module-Build-0.4220 
tar zxvf Module-Build-0.4220.tar.gz
tar done
cp: cannot stat '../hints': No such file or directory
Died at Makefile.PL line 11.
BEGIN failed--compilation aborted at Makefile.PL line 11.
make: *** No targets specified and no makefile found.  Stop.
make failed, aborting


Where in line 11 at Module-Build-0.4220/Makefile.PL I see:


BEGIN { do 'inc/bootstrap.pl' or die defined($@) ? $@ : $! }


The file Module-Build-0.4220/inc/bootstrap.pl is present and readable,
and as I do not know anything about Perl, I'm now lost what's wrong
here.

Any hints?

Luckily I tried the build with the old Perl 5.24 before updating Debian
to the current 5.26 as otherwise I would now have a broken LMS
installation.

Greetings,
Stefan

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


Re: [SlimDevices: SqueezeCenter] Perl 5.26 support?

2017-10-13 Thread bpa

Roland0 wrote: 
> Alternatively, install you own perl outside of the regular system (e.g.
> /opt/perl-5.24) and run LMS with that, then you can use the pre-compiled
> version.

You can use perlbrew to help admin of multiple Perl versions.



bpa's Profile: http://forums.slimdevices.com/member.php?userid=1806
View this thread: http://forums.slimdevices.com/showthread.php?t=107609

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


Re: [SlimDevices: SqueezeCenter] Perl 5.26 support?

2017-10-13 Thread Roland0

sbellon wrote: 
> 
> So, wouldn't it be possible to build the Perl modules *once* per new
> Perl version and reuse them whenever one installs a new nightly LMS?
> 
Yes, and it's quite simple. Basically, you install the binary perl parts
somewhere outside of the regular system (e.g.
/opt/lms-perlmodules/5.26), and after installing a new LMS version, you
symlink / copy them to the new version (lmsdir/CPAN/arch/5.26/...)
Alternatively, install you own perl outside of the regular system (e.g.
/opt/perl-5.24) and run LMS with that, then you can use the pre-compiled
version.



SW: extGUI4LMS - new web UI: 'forum'
(http://forums.slimdevices.com/showthread.php?98186-Announce-Alternative-Web-Interface-(beta))
/ 'homepage' (https://www.nexus0.net/pub/sw/extgui4lms/) | 'LMSlib2go'
(http://forums.slimdevices.com/showthread.php?107704-Announce-LMSlib2go-library-information-on-mobile-devices)
| 'music visualizer'
(http://forums.slimdevices.com/showthread.php?103073-Announce-music-visualizer-for-squeezelite)
for squeezelite
HowTos: 'build a self-contained LMS'
(http://forums.slimdevices.com/showthread.php?99648-Howto-build-a-self-contained-LMS)
| 'Ogg Opus support'
(http://forums.slimdevices.com/showthread.php?107011-Howto-play-Ogg-Opus-files)
| 'Bluetooth with ALSA'
(http://forums.slimdevices.com/showthread.php?107230-Howto-Bluetooth-streaming-to-from-LMS-(ALSA-only-no-PulseAudio))
| ' update bundled perl modules'
(http://forums.slimdevices.com/showthread.php?107040-Howto-update-perl-modules-bundled-with-LMS)

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

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


Re: [SlimDevices: SqueezeCenter] Perl 5.26 support?

2017-10-13 Thread Stefan Bellon
This Perl issue is really becoming more and more of a problem.

I know that here on the lists instructions where given of how to
compile the CPAN modules for oneself. But this had to be done whenever
one installed a new version of the LMS. So, not really a choice for
people using the nightlies (like me).

On the other hand, https://github.com/sbellon/slimserver-vendor hasn't
changed for quite some time.

So, wouldn't it be possible to build the Perl modules *once* per new
Perl version and reuse them whenever one installs a new nightly LMS?

Problem right now is that Debian unstable (x86_64) is on Perl 5.26, but
LMS does not come with CPAN binaries for 5.26, so a lot of packages
have to be put "on hold" (currently 88, daily growing) which makes
maintaining the system more and more complex - besides not getting
security updates for packages on hold.

I'd appreciate a solution to this issue very much!

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


Re: [SlimDevices: SqueezeCenter] Perl 5.26 support?

2017-08-06 Thread Stefan Bellon
Hi all,

I'm now hit by this issue as well as Debian updated to Perl 5.26 and I
have again to "keep on hold" a log of packages to avoid broken
dependencies.

Greetings,
Stefan

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


Re: [SlimDevices: SqueezeCenter] Perl 5.26 support?

2017-07-05 Thread Michael Herger

I use 'LFS' (https://en.wikipedia.org/wiki/Linux_From_Scratch) (Linux
 From Scratch) so I always build components (e.g. Perl, LMS) from
source...:)
I will try to modify CPAN/buildme.sh (to add Perl 5.26 support) for my
new LMS build.


Hehe... just wanted to say: if you're running LFS, then you won't rely 
on pre-built binaries anyway, would you :-P


Should be fairly simple to extend the script. Please file a pull request 
when done :-).


--

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


Re: [SlimDevices: SqueezeCenter] Perl 5.26 support?

2017-07-05 Thread bernid

Thanks Michael
mherger wrote: 
> What are you using?

I use 'LFS' (https://en.wikipedia.org/wiki/Linux_From_Scratch) (Linux
>From Scratch) so I always build components (e.g. Perl, LMS) from
source...:)
I will try to modify CPAN/buildme.sh (to add Perl 5.26 support) for my
new LMS build.
Regards, 
bernid



bernid's Profile: http://forums.slimdevices.com/member.php?userid=37408
View this thread: http://forums.slimdevices.com/showthread.php?t=107609

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


Re: [SlimDevices: SqueezeCenter] Perl 5.26 support?

2017-07-04 Thread Michael Herger

I see that new stable version of Perl 5.26 was issued some time ago.


Yeah, more than a month ago!


Are you going to add to LMS support to this new Perl's version?


At some point for sure. This mostly likely will happen when one of the 
major (and most popular) distributions used in the LMS community is 
updating. What are you using?


--

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