Tiny Core Base > Raspberry Pi

Logitech Media Server (LMS) on TC.7

<< < (3/31) > >>

Paul_123:

--- Quote from: jgrulich on January 17, 2016, 02:53:01 PM ---
--- Code: (bash) ---sudo /usr/sbin/squeezeboxserver
The following modules failed to load: DBI EV XML::Parser::Expat HTML::Parser JSON::XS Digest::SHA1 YAML::XS Sub::Name

--- End code ---
I need the kernel CPAN modules which are NOT compatible from Rasbian.
But there is no result from the modules compilation as mentioned here:
http://forum.tinycorelinux.net/index.php/topic,16852.15.html
Is somewhere possible to download these compiled modules?

--- End quote ---

It has nothing to do with the Kernel.   CPAN modules only perl related, and the error messages above mean that your Perl version does not have appropriate compiled libraries.......the are compiled under the slimserver path.......it has nothing to do with Raspbian too.

For example, on my arm system, I'm running Perl 5.14, the modules for slimserver are here.

/slimserver/CPAN/arch/5.14/arm-linux-gnueabihf-thread-multi-64int/

And the first error message means that  ../XML/Parser/Expat/Expat.so cannot be loaded.   Please try what I recommended.  Remove the Perl 5.22 extension and grab the perl from the 6.x repo......and give it a shot. 


If the version that is on the repo won't work, the next step is to build perl manually.   Slimserver does require some certain compile time options that BMarkus may or may not have used when he built the TC versions of perl.


also, if you want to try to build the modules, the source for that stuff is here
https://github.com/Logitech/slimserver-platforms

but I found building an older version of perl was easier than trying to compile the tools for a newer version.

Paul_123:
okay, I just checked.  slimserver requires perl to support 64int, which the version with TC does not.

We are going to have to recompile perl for tc.

I'll give it a shot.

Paul_123:
I built perl 5.20.3 with the appropriate compile time options, and downloaded lms 7.9 and it starts just fine.   No errors at  startup and I got as far as opening the web page.  No patches or needed.   All you need to do is edit slimserver.pl and scanner.pl to point at the appropriate perl version.

I would be happy to make an extension for you guys,  right now I have it in /opt/perl5, but since that is a backup location, that is probably not a wise permanent choice.   It needs to be different, so it would not conflict if you installed the normal perl that resides in the repo.   Both versions can live happy together.

I would also need to trim the fat, as documentation is included right now, so the file is 11MB

bmarkus:
Let me know exactly which Perl options you need and I will rebuild it.

jgrulich:
Hi Paul_123

I've used the perl from the 6.x distro which is 5.20.1 and hit these errors with the latest LMS 7.9.0.
Please share your perl 5.20.3, probably it's is more module rich than the one in the repo.

If it will work with the LMS, we may add it to repo to have at least some working solution until we will have the build solution for the latest perl version 5.22 with is in 7.x repo.

Navigation

[0] Message Index

[#] Next page

[*] Previous page

Go to full version