INTERACT FORUM

More => Old Versions => JRiver Media Center 21 for Linux => Topic started by: sarkonovich on April 15, 2016, 01:26:06 pm

Title: Pine 64???
Post by: sarkonovich on April 15, 2016, 01:26:06 pm
What seems like the most likely way to get Media Center running on a Pine 64. Does anyone know if there is a Linux build now that will do this?
Title: Re: Pine 64???
Post by: BryanC on April 15, 2016, 02:34:35 pm
I'm not directly familiar with the board but my best guess would be to install its official Ubuntu release (http://wiki.pine64.org/index.php/Pine_A64_Software_Release#Linux_Image_Release) and then install the MC ARM deb package at the top of this board.
Title: Re: Pine 64???
Post by: sarkonovich on April 15, 2016, 04:03:33 pm
I tried that and I got the message that it was the wrong architecture -- tried both the builds for Jessie and Wheezy. But I'll try again, and get back the exact error.

Thanks,

Steve
Title: Re: Pine 64???
Post by: Awesome Donkey on April 15, 2016, 04:29:37 pm
The ARM build is Wheezy only (http://yabb.jriver.com/interact/index.php?topic=99366.0). Will MC even run on a ARM 64-bit processor? I'm not sure.
Title: Re: Pine 64???
Post by: sarkonovich on April 15, 2016, 04:37:10 pm
I thought Jessie was 64 bit? I sort of thought that would work.
Title: Re: Pine 64???
Post by: Awesome Donkey on April 15, 2016, 04:51:16 pm
I thought Jessie was 64 bit? I sort of thought that would work.

That's for normal x86_64 (AMD64) processors, not ARM. You have to specifically use the ARM build from the link I posted. x86 and x86_64 (AMD64) compiled binaries won't run on ARM and vice versa - they're completely different architectures.
Title: Re: Pine 64???
Post by: sarkonovich on April 15, 2016, 07:18:54 pm
Okay.  So the Wheezy build gives me a "Wrong Architecture armhf" message. Is this because the Wheezy build is for a 32-bit processor, and the Pine is 64?

I guess this leaves me where are started: is there a way to run MC on a Pine 64?

Steve
Title: Re: Pine 64???
Post by: mwillems on April 15, 2016, 07:28:55 pm
The ARM build is 32-bit and compiled for an arm hard float architecture.  That doesn't mean you can't run it on the pine, but it does mean you'll need multi-arch support, just like on an amd64 OS trying to run i386 software.  Whether that exists out of the box in Ubuntu for the Pine, I have no idea, but other 64-bit ARM boards typically support it.

Have you tried the normal way to add an architecture on Debian-based distros?  If you're unfamiliar, it would be something like:
Code: [Select]
sudo dpkg --add-architecture armhf
sudo apt-get update
sudo apt-get install nameofpackage:armhf

More documentation of the default process here: https://wiki.debian.org/Multiarch/HOWTO (you'll need to tinker with the repo definitions as well as shown in the link if you're not manually installing the package locally).  You might need to specifically install the armhf versions of MC's dependencies if apt doesn't automatically pull them in.

Sorry if you already tried adding the architecture; just wanted to rule out the obvious fix.
Title: Re: Pine 64???
Post by: sarkonovich on April 15, 2016, 08:43:15 pm
This is great, thank you. I haven't tried these things. I'll give it a shot.

Steve
Title: Re: Pine 64???
Post by: sarkonovich on April 16, 2016, 12:53:27 am
That did the trick!  Thanks so much!

Steve
Title: Re: Pine 64???
Post by: mwillems on April 16, 2016, 08:56:48 am
That did the trick!  Thanks so much!

Steve

Aces!  I love it when a plan comes together  ;D
Title: Re: Pine 64???
Post by: markh56 on September 17, 2017, 08:04:51 pm
Not sure if this is ok or if I should have started a new thread. I know this is going back at least a year.
My question is; do you remember any tweaking you had to do to get multiarch going on the Pine64 and then installing MediaCenter?
I'm trying to get MediaCenter23 loaded on one of Pine's new Rock64 boards and keep getting a segmentation fault when I fire up Mediacenter23. I've added the armhf architecture, doesn't appear that I'm missing any libraries but no luck so far.

Did you simply run the add architecture commands, load MediaCenter and voila, it worked? Any info you could pass on would be helpful. Thanks
Title: Re: Pine 64???
Post by: Awesome Donkey on September 18, 2017, 09:41:45 am
Only advice I have is to make sure you're using the latest 23.0.54 build for armhf.
Title: Re: Pine 64???
Post by: markh56 on September 18, 2017, 10:22:18 am
Sure am. Thanks for the suggestion. All are appreciated. Tried many times with different ways of adding multiarch; cross-build libs, installed cross-dep package, added links to armhf, did none of the above and just used the three commands in the original link, same results. Used Bob's suggestion to check for missing libs. Didn't come up with any which was good.