Tiny Core Base > Raspberry Pi

Logitech Media Server (LMS) on TC.7

<< < (14/31) > >>

Greg Erskine:

--- Quote from: Paul_123 on January 24, 2016, 01:21:01 PM ---I don't think using precompiled binaries is going to work for us on the armv6
--- End quote ---

Hi Paul_123,

I am using the .deb package, which I assume use the same CPAN binaries, on a RPi B (Raspbian Wheezy).

Doesn't that mean they should work on piCore with the same version of perl?

regards
Greg

Paul_123:

--- Quote from: Greg Erskine on January 24, 2016, 02:12:48 PM ---Hi Paul_123,

I am using the .deb package, which I assume use the same CPAN binaries, on a RPi B (Raspbian Wheezy).

Doesn't that mean they should work on piCore with the same version of perl?

regards
Greg

--- End quote ---

Not all Raspbian binaries will run on piCore.   I believe that jgrulich has tried that approach.   What is odd, is that everything runs fine on piCore for armv7 on a rpi2.

rpi2 would be a much better LMS server platform anyway.

Rich:
Hi jgrulich

--- Quote ---I've tried build the  slimserver-vendor modules, but hit the error: "please install either yasm or nasm."
--- End quote ---
Try opening the  buildme.sh  file and find this snippet (don't worry about the line numbers):

--- Code: ---99 which yasm > /dev/null
100 if [ $? -ne 0 ] ; then
101     which nasm > /dev/null
102     if [ $? -ne 0 ] ; then
103         echo "please install either yasm or nasm."
104         exit 1
105     fi
106 fi
--- End code ---
Comment out the  exit 1  statement. As near as I can tell, it's only used for Apple computers running darwin.

Paul_123:

--- Quote from: Rich on January 24, 2016, 02:33:17 PM ---Comment out the  exit 1  statement. As near as I can tell, it's only used for Apple computers running darwin.

--- End quote ---

I see the same thing Rich..... there are some submodules that have their own configure script, but i've not run across any that need it.  I'm not sure what it would even do on arm, since it is an x86, x64 assembler.

When I tried to build this stuff a year ago, I ran into problems with the image scale routines.....would build but always fail testing.  I expected problems with the armhf libraries.  we'll see what happens when I get there.

jgrulich:
Hi guys, as I've found the deb and git package are the same as the point of the program itself. In the deb package are some additional scripts for system integration, nothing important for us. What's important, that there are CPAN modules in the package and we have to use them and need to find the perl which will run with these modules. No way to make the modules again and again. For the perl 5.20.2 at Jessie I needed to use this CPAN arch modules patch: http://www.mediafire.com/download/153ccfm16lb5ka2/logitechmediaserver_7.9.0_CPAN_5.20_armv6hf.tar.gz.
(The link need to be updated due to dynamic link generation).
I'm using the really same mediaserver package as I have for Jessie for the testing at piCore. The only difference is the core and perl. Seems to me that the core is not so different and if the same kernel modules are enabled, that the perl need to work the same way. I'm trying to extract the perl from the Jessie, but it is quite difficult, because it's not in the separate folders, but spread in the system. Only libs are separated. It's fine.
As stated, I'll try to make the perl5.20.2  with the same config as Paul provided and test with my deb version. Will let you tomorrow when the compilation will finished.


Navigation

[0] Message Index

[#] Next page

[*] Previous page

Go to full version