Comments (21)
What hardware/operating system are you running this on?
from slimserver.
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.
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.
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.
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.
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.
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.
@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.
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.
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.
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.
I'll give it a shot.
from slimserver.
Compiled and built fine. slimserver started just fine.
from slimserver.
Good to know, thanks!
from slimserver.
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.
Good point. I should look into this for the build script.
from slimserver.
@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:
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.
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.
Now that we have 5.24 binaries (thanks @paul-1 !), is there still a need for 5.22?
from slimserver.
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.
Thanks!
from slimserver.
Related Issues (20)
- Update Massage still show the 8.5.2 is not installed HOT 2
- Playout stucks when a new Update or any Plugin is ready to install HOT 2
- Playlist stucks on first Track HOT 7
- Docker/8.5.2: Command Line Arguments not recognized? HOT 4
- Supporting Disc Subtitles (TSST tag) HOT 21
- How to uninstall from MacOS HOT 1
- UNC path not supported for music library in Lyrion 9.0.0 HOT 2
- Is it time to move to http/1.1 by default for outbound connections? HOT 21
- Return 'Random Mix' state in player status message HOT 4
- [firmware] lost ethernet on a squeezeradio HOT 1
- "Album Artists" is not "album artist" field from id3 but in fact "Artist" HOT 9
- Cue sheet ; How to describe path to the music file? HOT 1
- Insecure HTTPS for only one host/cert HOT 11
- Server stops when attempting http connection when —daemon option specified on startup with 8.5.3 on Windows 10 HOT 8
- Random mix disappeared HOT 7
- Add all songs from search not working HOT 15
- LMS 9: New Sort Order in "New Music" section HOT 1
- Forums: Impossible to register HOT 3
- Seach in Radio missing HOT 14
- Wishlist: announce HOT 3
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from slimserver.