PDA

View Full Version : Spotty on aarch64-linux?



dsdreamer
2017-10-05, 16:45
Hi,

I wonder if there is a possibility to get Spotty's helper programs compiled for Debian / aarch64-linux?

The only source file I could find is this one: https://github.com/michaelherger/spotty/tree/master/src. Is this sufficient to build the missing executables, if I have installed a rust compiler?

Charles.

dsdreamer
2017-10-07, 10:09
Use armhf binaries, as this is all I can get right now.


sudo apt-get install libc6:armhf libncurses5:armhf libstdc++6:armhf


And, (sorry about the kludge)


cd ./Cache/InstalledPlugins/Plugins/Spotty/Bin/arm-linux
cp spotty-hf ../spotty/spotty
cp pv-hf ../pv-spotty


All appears to be working now under the following system.


Logitech Media Server Version: 7.9.1 - 1505480690 @ Fri Sep 15 22:32:08 UTC 2017
Hostname: odroidc2
Server IP Address: 192.168.0.109
Server HTTP Port Number: 9000
Operating system: Debian - EN - utf8
Platform Architecture: aarch64-linux
Perl Version: 5.20.2 - aarch64-linux-gnu-thread-multi
Audio::Scan: 0.95
Database Version: DBD::SQLite 1.34_01 (sqlite 3.7.7.1)
Total Players Recognized: 2

dsdreamer
2017-10-08, 20:31
After a little more research...


cd ~
curl https://sh.rustup.rs -sSf | sh
source $HOME/.cargo/env
git clone https://github.com/michaelherger/spotty.git
cd ./spotty/src
cargo build -j 1 --release
cd ../target/release/
sudo cp spotty /usr/share/squeezeboxserver/Bin

The -j 1 is to only have one compilation thread running at a time because each rustc process can take a whole GB of RAM on some of the more complex source file, and the machine grinds to a halt if swap space is ever needed.

slimrobic
2017-10-15, 07:57
Thanks for your guide, It worked for me as well following your steps.

mherger
2017-11-21, 13:59
I finally received my Rock64. I built modules for Perl 5.24. If that's
the perl you're using, then you should be able to just download the ARM
..deb file and install using dpkg.

Unfortunately I wasn't able top get Ubuntu running on that device. Does
anyone have any experience with this combination?

--

Michael

mherger
2017-11-21, 21:37
> I finally received my Rock64. I built modules for Perl 5.24. If that's
> the perl you're using, then you should be able to just download the ARM
> .deb file and install using dpkg.

Oh, I guess I wrote to the wrong thread... I haven't attacked Spotty on
that platform yet. Good reminder :-)

--

Michael