Giter Club home page Giter Club logo

Comments (21)

mherger avatar mherger commented on August 24, 2024

What hardware/operating system are you running this on?

from slimserver.

paul-1 avatar paul-1 commented on August 24, 2024

This is for rpi/piCore. Picore 7 comes with perl 5.22. While the perl version stated armv7l, this perl was actually armv6 compatable. We have built perl 5.20.3 that works, although we hunted all weekend for armv6 CPAN libraries. Looks like you just pushed them to git. Will test

from slimserver.

jgrulich avatar jgrulich commented on August 24, 2024

We're running it on the piCore armv6, Raspberry board B and B+ as Paul
already stated.
For continuous support we need to have the LMS CPAM modules compatible with
the latest perl, now 5.22.1
and have it compatible for both board versions RPi1 armv6 and Rpi2 armv7.

Even the 5.20.3 which we're using need to use the older CPAN LMS modules
dated 2015-11-04.
The last LMS ones, which are in the nightly build run only on the armv7,
means on the RPi2 board.
When run on the B, or B+, it reports error during startup: "Illegal
Instruction".

---------- Původní zpráva ----------
Od: mherger [email protected]
Komu: Logitech/slimserver [email protected]
Datum: 25. 1. 2016 8:45:08
Předmět: Re: [slimserver] Libs for perl 5.22 armv7l-linux-thread-multi-64int
missing (#66)

"

What hardware/operating system are you running this on?


Reply to this email directly or view it on GitHub
(#66 (comment)).

"=

from slimserver.

mherger avatar mherger commented on August 24, 2024

Have you tried to build the binaries using https://github.com/Logitech/slimserver-vendor/tree/public/7.9/CPAN? It should be straight forward. The build for 5.20 took a while on a Pi2, but it just run.

The latest binaries I committed a day or two ago do work on my 1st generation Pi. Tested this on two different devices running Raspbian Jessie.

from slimserver.

stefansielaff avatar stefansielaff commented on August 24, 2024

I don't know if this is on topic but maybe it might help:

To make this work on Arch Linux (ARM) (on perl 5.22 for quite a while) I had to remove the distributed CPAN/version module.
Also had to pull in the distros perl-cgi package on installation.

from slimserver.

paul-1 avatar paul-1 commented on August 24, 2024

I will check the armv6 binaries for perl 5.20 on the slimserver git tree, I glanced at them last night, and they appear to be the same that jgrulich mentioned.

Note Rasbian-jesse is still using 5.20, the maintainers at piCore, normally try to stay more current with builds. That was why we were looking for 5.22 support. However, I see a bigger issue with the archname built into perl at compile time. Is there anyway to a perl that reports as armv7l-linux-thread-multi-64int to know that it can use CPAN modules listed as arm-linux-gnueabihf-thread-multi-64int

or is that just a limitation of perl that we have to live with?

from slimserver.

jgrulich avatar jgrulich commented on August 24, 2024

I've tested the last git version and now it works at RPi B board, means that the issue in CPAN modules was solved for 5.20 perl.

from slimserver.

mherger avatar mherger commented on August 24, 2024

@paul-1 - I'll ask again: did you try to compile the modules as outlined in one of my previous comments? Should really be straightforward and you'd no longer depend on the main repository. As you're building your own "distribution", I think that would be a reasonable approach.

from slimserver.

paul-1 avatar paul-1 commented on August 24, 2024

I have tried, but never got past the image scaling part. it would build, but always fail testing on arm.

Anyway, I think we are good for now, we have a fully working version distro with perl 5.20.3

from slimserver.

jgrulich avatar jgrulich commented on August 24, 2024

For Image Scaling need to be used only libpng, libjpeg-turbo is not
compatible.

I have tried, but never got past the image scaling part. it would
build, but always fail testing on arm.

Anyway, I think we are good for now, we have a fully working version
distro with perl 5.20.3


Reply to this email directly or view it on GitHub
#66 (comment).

from slimserver.

mherger avatar mherger commented on August 24, 2024

I updated Image::Scale a few days ago to fix those build issues. Please give it another try (Image::Scale 0.11). You can test Image::Scale before doing the whole bunch:

 ./buildme.sh Image::Scale

from slimserver.

paul-1 avatar paul-1 commented on August 24, 2024

I'll give it a shot.

from slimserver.

paul-1 avatar paul-1 commented on August 24, 2024

Compiled and built fine. slimserver started just fine.

from slimserver.

mherger avatar mherger commented on August 24, 2024

Good to know, thanks!

from slimserver.

paul-1 avatar paul-1 commented on August 24, 2024

Forgot to mention that I had to manually copy Image/Scale.pm in to the 5.22/arm-linux/ folder to allow for version 0.11 instead of the old v0.08

I copied the file out of the 5.20/arm-linux..... folder.

from slimserver.

mherger avatar mherger commented on August 24, 2024

Good point. I should look into this for the build script.

from slimserver.

mherger avatar mherger commented on August 24, 2024

@paul-1 - I only just saw your discussion in the TC forums. WRT. to data folders etc.: you might want to look into this wiki article about how to customize your LMS installation using a custom OS specific module:

http://wiki.slimdevices.com/index.php/Customizing_Logitech_Media_Server_using_Slim::Utils::OS::Custom

We have such modules for most major OS or distributions to define default behavior. This could be helpful for your use-case, too?

from slimserver.

paul-1 avatar paul-1 commented on August 24, 2024

That's interesting. I'll have to look into that. The symlinks seem to work well, and is probably easier for a user to alter a Shell Script. Thanks for the info.

from slimserver.

mherger avatar mherger commented on August 24, 2024

Now that we have 5.24 binaries (thanks @paul-1 !), is there still a need for 5.22?

from slimserver.

paul-1 avatar paul-1 commented on August 24, 2024

I do have these binaries , but I don't see a need to add them anymore. Perl 5.22 was used on piCore 7. (pCP 2.0) PiCore 8 and 9 use Perl 5.24. I'm not aware of any other common OS that uses 5.22

from slimserver.

mherger avatar mherger commented on August 24, 2024

Thanks!

from slimserver.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.