Re: [SlimDevices: Unix] Need troubleshooting help for LMS installation on Debian

2021-10-24 Thread Janne00


I am very happy now. I have been listening to my music collection all
weekend and Spotify as well.
I reinstalled LMS and ran buildme.sh including the additional
instructions but maybe I just looked in the wrong folder since there is
a 5.32 folder both in build as well as in build/arch.
Build/arch/5.32 contains:
i386-linux-thread-multi-64int  i686-linux-gnu-thread-multi-64int
I did not know which one to copy so I copied both. LMS started just fine
after this.
Again, thank you for all your help. I am really pleased.



Janne00's Profile: http://forums.slimdevices.com/member.php?userid=72172
View this thread: http://forums.slimdevices.com/showthread.php?t=115271

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


Re: [SlimDevices: Unix] Need troubleshooting help for LMS installation on Debian

2021-10-20 Thread Michael Herger

Thank you for all the help so far. I did the additional buildme.sh
script commands.
The CPAN/build/arch folder contains a 5.32 folder which contains the
folders: bin lib man.
Should there be an architecture file or folder starting with aarch?


The documentation says:

cp -r build/arch/5.26/aarch64-linux-thread-multi 
/path/to/slimserver/CPAN/arch/5.26/


(replace 5.26 with 5.32, of course)

Would that not work? Did the build run through correctly?
___
unix mailing list
unix@lists.slimdevices.com
http://lists.slimdevices.com/mailman/listinfo/unix


Re: [SlimDevices: Unix] Need troubleshooting help for LMS installation on Debian

2021-10-20 Thread Janne00


Thank you for all the help so far. I did the additional buildme.sh
script commands.
The CPAN/build/arch folder contains a 5.32 folder which contains the
folders: bin lib man.
Should there be an architecture file or folder starting with aarch?



Janne00's Profile: http://forums.slimdevices.com/member.php?userid=72172
View this thread: http://forums.slimdevices.com/showthread.php?t=115271

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


Re: [SlimDevices: Unix] Need troubleshooting help for LMS installation on Debian

2021-10-20 Thread jd68


in addition to the comments by gordonb3:

You will get the green button on the web page
https://github.com/Logitech/slimserver-vendor , which is the home page
of the repository.
https://github.com/Logitech/slimserver-vendor/CPAN is just the URL a
subfolder of the repository.

On my Ubuntu server with LMS, the "CPAN folder" is located in
/usr/share/squeezeboxserver/.
Probably it is the same for you so that your copy command may look as
below:
cp -r build/arch/5.26/aarch64-linux-thread-multi
/usr/share/squeezeboxserver/CPAN/arch/5.26/



jd68's Profile: http://forums.slimdevices.com/member.php?userid=30795
View this thread: http://forums.slimdevices.com/showthread.php?t=115271

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


Re: [SlimDevices: Unix] Need troubleshooting help for LMS installation on Debian

2021-10-20 Thread gordonb3


Janne00 wrote: 
> I do not have the green Code button on the GitHub page, could it be
> because of the browser I'm using.
> Anyway, I went ahead with
> git checkout 'public/8.2'
> What does that do?
> 
Git is a time machine, the `checkout` command allows you to pick a
specific moment in time or hop to some alternate release.

> I have earlier installed LMS 8.3. Should I remove it and install 8.2
> instead?
> I ran the buildme.sh script
> It ran for two hours but then terminated with this message:
> 
> audio.c:14:10: fatal error: libavformat/avformat.h: No such file or
> directory
> 14 | #include 
> |  ^~~~
> compilation terminated.
> make[2]: *** [Makefile:464: libmediascan_la-audio.lo] Error 1
> make[2]: Leaving directory
> '/home/janne/sambashare/slimserver-vendor/CPAN/libmediascan-0.1/src'
> make[1]: *** [Makefile:274: all-recursive] Error 1
> make[1]: Leaving directory
> '/home/janne/sambashare/slimserver-vendor/CPAN/libmediascan-0.1'
> make: *** [Makefile:204: all] Error 2
> make failed
Unsure what caused that. I can't replicate it on my machine. The missing
include file is part of ffmpeg that is also built by the script and
should be in the folder ./build/include/libavformat
It is possible that the build of the rather ancient version of ffmpeg
failed without generating any warnings and the file thus in fact may not
have been installed.

It's not critical though. If you are not going to use UPnP this
particular module (Media::Scan) will in fact not be used, so it is okay
to skip it. To complete the remaining modules simply run the following
from the CPAN folder:

Code:

./buildme.sh MP3::Cut::Gapless
  ./buildme.sh Sub::Name
  ./buildme.sh Template
  ./buildme.sh XML::Parser
  ./buildme.sh YAML::LibYAML
  


Do note that the buildme.sh script does not install the files to the
correct location by default. When done you need to go into the `build`
folder and copy the folder named `arch` to the CPAN folder in your LMS
installation.



gordonb3's Profile: http://forums.slimdevices.com/member.php?userid=71050
View this thread: http://forums.slimdevices.com/showthread.php?t=115271

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


Re: [SlimDevices: Unix] Need troubleshooting help for LMS installation on Debian

2021-10-19 Thread Janne00


I do not have the green Code button on the GitHub page, could it be
because of the browser I'm using.
Anyway, I went ahead with
git checkout 'public/8.2'
What does that do?
I have earlier installed LMS 8.3. Should I remove it and install 8.2
instead?
I ran the buildme.sh script
It ran for two hours but then terminated with this message:

audio.c:14:10: fatal error: libavformat/avformat.h: No such file or
directory
14 | #include 
|  ^~~~
compilation terminated.
make[2]: *** [Makefile:464: libmediascan_la-audio.lo] Error 1
make[2]: Leaving directory
'/home/janne/sambashare/slimserver-vendor/CPAN/libmediascan-0.1/src'
make[1]: *** [Makefile:274: all-recursive] Error 1
make[1]: Leaving directory
'/home/janne/sambashare/slimserver-vendor/CPAN/libmediascan-0.1'
make: *** [Makefile:204: all] Error 2
make failed



Janne00's Profile: http://forums.slimdevices.com/member.php?userid=72172
View this thread: http://forums.slimdevices.com/showthread.php?t=115271

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


Re: [SlimDevices: Unix] Need troubleshooting help for LMS installation on Debian

2021-10-19 Thread gordonb3


Sorry about the confusion with the git commands. Yes after cloning you
need to change dir into the downloaded repository before you can run any
other git commands on it. 


In case other should look for it, the download zip link can be found
here on the GitHub page (after clicking the green button).

35959


+---+
|Filename: slimserver-vendor-git.jpg|
|Download: http://forums.slimdevices.com/attachment.php?attachmentid=35959|
+---+


gordonb3's Profile: http://forums.slimdevices.com/member.php?userid=71050
View this thread: http://forums.slimdevices.com/showthread.php?t=115271

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


Re: [SlimDevices: Unix] Need troubleshooting help for LMS installation on Debian

2021-10-18 Thread jd68


With 'git clone' you have downloaded the files. Then you have to change
into the folder that you have created:
cd slimserver-vendor

Now you can decide which branch you want to use, e.g. 8.2 or 8.3. That
is done by the commands 'git checkout public/8.2' or 'git checkout
public/8.3'. You can switch from one branch to the other if you change
your mind. But these git commands must be executed in the folder
slimserver-vendor or in a subfolder. That is probably the reason for
your error.

Then you go to the CPAN folder and execute the buildme.sh shell script.

By the way, I suggest to use the 8.2 branch.



jd68's Profile: http://forums.slimdevices.com/member.php?userid=30795
View this thread: http://forums.slimdevices.com/showthread.php?t=115271

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


Re: [SlimDevices: Unix] Need troubleshooting help for LMS installation on Debian

2021-10-18 Thread Janne00

I don’t get it. If I go to mysqueezebox.com it looks like 8.2 is the
latest version but I think I installed 8.3, and GitHub shows public/8.3
at the top…
I don’t need the latest version really. Should I just uninstall LMS
(how?) and install the 8.2 version?



Janne00's Profile: http://forums.slimdevices.com/member.php?userid=72172
View this thread: http://forums.slimdevices.com/showthread.php?t=115271

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


Re: [SlimDevices: Unix] Need troubleshooting help for LMS installation on Debian

2021-10-18 Thread Janne00

I did not find any Download ZIP option, perhaps because I’m using a
Windows 10 desktop and not a Linux GUI.
The git alternative sounds nice so I installed the package and did the
clone command which downloaded sliserver-vendor including all the CPAN
files. Since I have installed LMS 8.3.0 I tried
git checkout ‘public/8.3’
I got an error message: fatal: not a git repository (or any parent up to
mount point /)
What does the checkout command do? Should I try it with 8.2 or should I
go to CPAN and run the buildme.sh?



Janne00's Profile: http://forums.slimdevices.com/member.php?userid=72172
View this thread: http://forums.slimdevices.com/showthread.php?t=115271

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


Re: [SlimDevices: Unix] Need troubleshooting help for LMS installation on Debian

2021-10-18 Thread gordonb3

Janne00 wrote: 
> Downloading .gz files was easy enough, but what about all the
> patch-files, as well as files ending .h and .cfg Should I find a way of
> downloading those or do I need to create them with a text editor? Also
> the buildme.sh I guess I need to create with a text editor. I didn’t
> find a way to download it directly.

It's a two-step operation. On the GitHub page a series of buttons is
shown near the top, the far most right of them being green. In that same
line verify that the text in the far left button matches the version of
LMS you want to install. If you got the 8.2.0. version from
mysqueezebox.com click the button and select `public/8.2` from the
dropdown list. Next click the green button and select `Download ZIP` to
get a complete archive of all the files.

If you have git package installed an alternate method is:

Code:

git clone https://github.com/Logitech/slimserver-vendor.git
  git checkout 'public/8.2'
  




gordonb3's Profile: http://forums.slimdevices.com/member.php?userid=71050
View this thread: http://forums.slimdevices.com/showthread.php?t=115271

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


Re: [SlimDevices: Unix] Need troubleshooting help for LMS installation on Debian

2021-10-18 Thread gordonb3


jd68 wrote: 
> You are probably right. But who shall do it? Are you volunteering for
> this task?

Got my hands full with other projects. My point here is that if you go
to mysqueezebox.com, the first site anyone comes on because the
documentation included with the device says you need to go there, you
can find ready to run binary distributions as well as a `source code`
which is not a complete source code but merely the noCPAN version. The
text shown after the download link is clicked also does not give any
further instructions for this particular download (and in fact the link
to the important upgrade instructions for ReadyNAS users is broken). I
remember the first time I found that my combination of CPU and Perl was
not supported I spent close to a full day to find what I needed, where
to find it and how to get it (it was on subversion back then).

i.e. one thing that could be done that will require little effort is to
edit the `Thanks for downloading Logitech Media Server!` page to include
a source code instruction with a link to the slimserver-vendor master
archive on github.



gordonb3's Profile: http://forums.slimdevices.com/member.php?userid=71050
View this thread: http://forums.slimdevices.com/showthread.php?t=115271

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


Re: [SlimDevices: Unix] Need troubleshooting help for LMS installation on Debian

2021-10-17 Thread Janne00


Thank you again for the help. I appreciate it.

I have now made the preparations by installing the listed packages on my
Debian system.

I now understand I should download all those files. I suppose I can make
a directory for this and then run the buidme.sh from that directory. Is
it important that the folders in the beginning are in separate folders
as well (hints, icu58_patches, icu_collation) or can the files be just
in the same folder with all the rest?
I suppose I can then delete these files if the compilation is
successful, right?



Janne00's Profile: http://forums.slimdevices.com/member.php?userid=72172
View this thread: http://forums.slimdevices.com/showthread.php?t=115271

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


Re: [SlimDevices: Unix] Need troubleshooting help for LMS installation on Debian

2021-10-17 Thread Michael Herger

Define old. If one is looking for a fanless system this is exactly the
type of CPUs you will end up with. Just check the specs of well known
NAS systems - a huge number of them are arm5 or i386 code inside.


Exactly: nowadays it's only used in closed systems where the user is not 
supposed to touch the software installation at all. As an individual you 
can't easily get a 32 bit CPU any more on the market.


But that's not even the point. The decision whether I want to include 
binaries for a platform or not is rather "statistics": if only a hand 
full of users need it, I won't provide it. It's not only about the work 
to do it, but it's also about the overhead in the repository, in 
packages etc.


FWIW: there are about three times as many armv5 based LMS8 installations 
as i386. And both of them are very low single digit percentage of the 
install base.

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


Re: [SlimDevices: Unix] Need troubleshooting help for LMS installation on Debian

2021-10-17 Thread jd68


gordonb3 wrote: 
> I think many of these questions might be avoided though if the
> build-your-own requirement was advertised better and in fact the sources
> for these easier to find.
You are probably right. But who shall do it? Are you volunteering for
this task?



jd68's Profile: http://forums.slimdevices.com/member.php?userid=30795
View this thread: http://forums.slimdevices.com/showthread.php?t=115271

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


Re: [SlimDevices: Unix] Need troubleshooting help for LMS installation on Debian

2021-10-17 Thread gordonb3


mherger wrote: 
> >
> The problem is the use of a very recent distribution with a rather old 
> system. I no longer build 32 bit binaries for recent Perl versions, as 
> there are only very few users.

Define old. If one is looking for a fanless system this is exactly the
type of CPUs you will end up with. Just check the specs of well known
NAS systems - a huge number of them are arm5 or i386 code inside.

Granted, there are so many systems out there that you can't possibly
create binaries for them all. I think many of these questions might be
avoided though if the build-your-own requirement was advertised better
and in fact the sources for these easier to find.



gordonb3's Profile: http://forums.slimdevices.com/member.php?userid=71050
View this thread: http://forums.slimdevices.com/showthread.php?t=115271

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


Re: [SlimDevices: Unix] Need troubleshooting help for LMS installation on Debian

2021-10-16 Thread Michael Herger

I don’t know which of the instructions in the link I should look at.


You'd have to download the contents of 
https://github.com/Logitech/slimserver-vendor/tree/public/8.3/CPAN, then 
run the buildme.sh script. See 
https://github.com/Logitech/slimserver-vendor/blob/public/8.3/CPAN/README.md.



Is there an older/other version of LMS I should consider or a
combination of LMS and Perl that would work?


The problem is the use of a very recent distribution with a rather old 
system. I no longer build 32 bit binaries for recent Perl versions, as 
there are only very few users.

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


Re: [SlimDevices: Unix] Need troubleshooting help for LMS installation on Debian

2021-10-16 Thread Janne00

It’s an Intel Atom Z530 processor with a 32-bit single core, so I
suppose that limits my choices.
I don’t know which of the instructions in the link I should look at.
Is there an older/other version of LMS I should consider or a
combination of LMS and Perl that would work?



Janne00's Profile: http://forums.slimdevices.com/member.php?userid=72172
View this thread: http://forums.slimdevices.com/showthread.php?t=115271

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


Re: [SlimDevices: Unix] Need troubleshooting help for LMS installation on Debian

2021-10-16 Thread Man in a van


I have had the same problem as the OP

I have an old Shuttle which I bought as a Windows 7 32 bit (this is what
it was sold as, only 32 bit)

i tried the "building" approach but it proved beyound my skill set
:(:o:p

Checking the specs for the processor I found that it was also 64 bit
compatible.

Now it runs Linux Mint 64 Desktop with LMS and squeezelite (only used
for this purpose) :o:o

Hope that helps :)

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

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


Re: [SlimDevices: Unix] Need troubleshooting help for LMS installation on Debian

2021-10-15 Thread Michael Herger

Does that mean I need to install another version of Perl that works for
i386?


There are various ways to deal with this: use an x86_64 distribution 
instead, compile the binaries yourself (see 
https://github.com/Logitech/slimserver-vendor/tree/public/8.3/CPAN), 
install a custom Perl...


Are you limited by the CPU to run 32 bit?
___
unix mailing list
unix@lists.slimdevices.com
http://lists.slimdevices.com/mailman/listinfo/unix


Re: [SlimDevices: Unix] Need troubleshooting help for LMS installation on Debian

2021-10-15 Thread Janne00


service --status-all

[ - ]  anacron
[ + ]  apparmor
[ - ]  bluetooth
[ - ]  console-setup.sh
[ + ]  cron
[ + ]  dbus
[ - ]  hwclock.sh
[ - ]  keyboard-setup.sh
[ + ]  kmod
[ - ]  logitechmediaserver
[ + ]  networking
[ + ]  nmbd
[ + ]  procps
[ + ]  rsyslog
[ - ]  samba-ad-dc
[ + ]  smbd
[ + ]  ssh
[ - ]  sudo
[ + ]  udev



Janne00's Profile: http://forums.slimdevices.com/member.php?userid=72172
View this thread: http://forums.slimdevices.com/showthread.php?t=115271

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


Re: [SlimDevices: Unix] Need troubleshooting help for LMS installation on Debian

2021-10-15 Thread Janne00

I don’t remember what command I used to check the status of LMS and
Perl, but you must be right that LMS is not starting at all.
Does that mean I need to install another version of Perl that works for
i386?

(Sorry I don’t remember how I checked the status before. I’ve been
trying to get access to this forum for a few weeks now, but was not able
to register)



Janne00's Profile: http://forums.slimdevices.com/member.php?userid=72172
View this thread: http://forums.slimdevices.com/showthread.php?t=115271

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


Re: [SlimDevices: Unix] Need troubleshooting help for LMS installation on Debian

2021-10-15 Thread Michael Herger

I made a new Debian Bullseye installation (without GUI) on an old FitPC
with an Intel Atom processor (i386).
It looks like Logitech Media Server 8.3.0 is running and Perl 5.32.1 as
well.
But I cannot access port 9000 from my tablet or PC (Windows 10).


I guess LMS is not running. We don't provide binaries for Perl 5.32 on 
i386. Unless you've compiled those modules yourself, LMS won't work.

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


Re: [SlimDevices: Unix] Need troubleshooting help for LMS installation on Debian

2021-10-14 Thread mrw


Janne00 wrote: 
> I made a new Debian Bullseye installation (without GUI) on an old FitPC
> with an Intel Atom processor (i386).
> It looks like Logitech Media Server 8.3.0 is running and Perl 5.32.1 as
> well.

How do you know LMS is running ?



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

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