PDA

View Full Version : LMS on Ubuntu 16.04? (and sometimes 18.04?)



patrick31698
2018-02-05, 03:28
Hi,
for some reasons i want to update the OS on my Odroid U3 which holds my LMS.
Currently I am using Max2Play (based on Ubuntu 14.04) i found an image for the U3 with Ubuntu 16.04
https://odroid.in/ubuntu_16.04lts/ubuntu-16.04-mate-odroid-u2u3-20160920.img.xz

Due to PERL incompatiblities i can't get LMS running.
Is there any EASY way to get LMS running on recent ubunte versions?

Regards
Patrick

mherger
2018-02-05, 09:21
> Due to PERL incompatiblities i can't get LMS running.
> Is there any EASY way to get LMS running on recent ubunte versions?

You'd need to build your own Perl modules from
https://github.com/Logitech/slimserver-vendor/tree/public/7.9/CPAN. It's
not that difficult, but might take some time to get done. And you might
need to install a bunch of dev-tools:

- nasm
- make, gcc
- rsync
- patch
- g++
- ldconfig (libc-bin)
- zlib-dev (zlib1g-dev)
- libgd-dev
- libmodule-install-perl

--

Michael

mherger
2018-02-05, 12:02
>> i found an image for the U3 with Ubuntu 16.04
>
> my parents are using a ordinary PC running the official Ubuntu 16.04.3

Well... there's the difference: the U3 is not an ordinary PC, but an ARM
CPU based single board computer (similar to the Raspberry Pi).

--

Michael

patrick31698
2018-02-05, 23:22
> Due to PERL incompatiblities i can't get LMS running.
> Is there any EASY way to get LMS running on recent ubunte versions?

You'd need to build your own Perl modules from
https://github.com/Logitech/slimserver-vendor/tree/public/7.9/CPAN. It's
not that difficult, but might take some time to get done. And you might
need to install a bunch of dev-tools:

- nasm
- make, gcc
- rsync
- patch
- g++
- ldconfig (libc-bin)
- zlib-dev (zlib1g-dev)
- libgd-dev
- libmodule-install-perl

--

Michael

Hi,
i tried to follow this workaround:
https://github.com/Logitech/slimserver/issues/154
but (due to my limited Linux skills?) i had no success.

I ended up with my 8GB SD Card 100% filled.

I need a copy paste workaround ;-)

Would you be willing to guide me - please??

Roland0
2018-02-06, 14:51
And you might need to install a bunch of dev-tools:

- nasm
- make, gcc
- rsync
- patch
- g++
- ldconfig (libc-bin)
- zlib-dev (zlib1g-dev)
- libgd-dev
- libmodule-install-perl


iirc libgd* isn't required anymore (replaced by Image::Scale)

Roland0
2018-02-06, 15:01
Hi,
i tried to follow this workaround:
https://github.com/Logitech/slimserver/issues/154
but (due to my limited Linux skills?) i had no success.


It may be simpler to install a supported perl version (5.24*), and use a binary LMS package (probably arm64 on an odroid (c2 is arm64 - not sure about u3))
That way, only one application (with fever dependencies) needs to be compiled.
If you want to try this, see the howto linked to from my signature (first step only, plus adjusting the perl executable path in scanner.pl and slimserver.pl)

patrick31698
2018-02-06, 23:17
Which link in your Signature??

patrick31698
2018-02-07, 05:08
This howto is far beyond my linux skill :-(

Roland0
2018-02-07, 17:13
This howto is far beyond my linux skill :-(
If you are not up to the task of downloading / unpacking one file, copy/pasting one command line and editing two files, you may want to reconsider your choice of platform for LMS.

patrick31698
2018-02-07, 23:32
If you are not up to the task of downloading / unpacking one file, copy/pasting one command line and editing two files, you may want to reconsider your choice of platform for LMS.

This is what i am able to.


But you wrote :
It may be simpler to install a supported perl version (5.24*), and use a binary LMS package (probably arm64 on an odroid (c2 is arm64 - not sure about u3))
That way, only one application (with fever dependencies) needs to be compiled.
If you want to try this, see the howto linked to from my signature (first step only, plus adjusting the perl executable path in scanner.pl and slimserver.pl)


To me it is not clear if your HowTo fits to my situation. As i already have a Perl version installed that is newer than the one supported by LMS.

So it is just copy and paste of all your steps for
Ubuntu 16.04 on an Odroid U3?

By the way - i am german So we can discuss in german in the german Subforum?

Regards
Patrick

Roland0
2018-02-08, 02:16
To me it is not clear if your HowTo fits to my situation. As i already have a Perl version installed that is newer than the one supported by LMS.




It may be simpler to install a supported perl version (5.24*), and use a binary LMS package (probably arm64 on an odroid (c2 is arm64 - not sure about u3))




So it is just copy and paste of all your steps for Ubuntu 16.04 on an Odroid U3?



If you want to try this, see the howto linked to from my signature (first step only, plus adjusting the perl executable path in scanner.pl and slimserver.pl)




By the way - i am german So we can discuss in german in the german Subforum?

if you prefer to