> If anyone is interested I can post instructions for what have to be
> done.
That would be great! Please add them to http://wiki.slimdevices.com - thanks!
--
Michael
Results 21 to 30 of 50
Thread: Perl 5.10 and Squeezecenter
-
2008-05-07, 22:42 #21
Perl 5.10 and Squeezecenter
-
2008-05-08, 18:01 #22Junior Member
- Join Date
- May 2008
- Posts
- 14
squeezecenter on Debian/unstable
Ok, here is what I did
1. Easy part
install the following packages which are missing from squeezecenter package
dependencies (sudo apt-get install):
libcompress-zlib-perl
libtemplate-perl
libyaml-syck-perl
libjson-xs-perl
APT will pull couple more packages because of the dependencies, which is
perfectly fine (that's actually what we want).
2. Slightly more difficult part
We still need libencode-detect-perl which somehow never got included into
official Debian repo (RFP is pending for almost a year I think).
Since I could not wait any longer I did a quick search. Best alternative is
to use debian port by pkg-perl team (http://pkg-perl.alioth.debian.org/).
so just
mkdir -p debs/build
cd debs/build
svn co svn://svn.debian.org/pkg-perl/trunk/libencode-detect-perl libencode-detect-perl
cd libencode-detect-perl
dpkg-buildpackage
most probably it will complain that build requires libdata-dump-perl,
so let's temporary install it
sudo apt-get install libdata-dump-perl
And then try to build package again (and install it):
dpkg-buildpackage
cd ../
sudo dpkg -i libencode-detect-perl_1.00-1_i386.deb
And then (optionally) remove libdata-dump-perl which we do not need anymore:
sudo dpkg --purge libdata-dump-perl
3. Hackish part
We need to remove all the stuff from squeezecenter package which conflicts
with the modules we've just installed. Since I'm lazy enough I've just
manually renamed files/dirs, but really I could have setup diversions so
I do not have to do it each time I'm updating squeezecenter package
(man dpkg-divert)
XXX@YYY:/usr/share/squeezecenter/CPAN$ find . -name '*.bak' | xargs ls -ld
drwxr-xr-x 2 root root 72 May 7 21:22 ./Compress.bak
drwxr-xr-x 3 root root 128 May 7 21:22 ./DBD.bak
drwxr-xr-x 7 root root 352 May 7 21:22 ./DBI.bak
-rw-r--r-- 1 root root 274450 May 7 09:01 ./DBI.pm.bak
drwxr-xr-x 2 root root 296 May 7 21:22 ./HTML.bak
drwxr-xr-x 3 root root 96 May 7 21:22 ./JSON.bak
drwxr-xr-x 5 root root 672 May 7 21:22 ./Template.bak
-rw-r--r-- 1 root root 24781 May 7 09:01 ./Template.pm.bak
drwxr-xr-x 2 root root 152 May 7 21:22 ./Time.bak
drwxr-xr-x 5 root root 304 May 7 21:22 ./XML.bak
drwxr-xr-x 4 root root 144 May 7 21:22 ./YAML.bak
And (obviously) I've removed everything from CPAN/arch directory
(modules built for 5.8.x are not going to work anyway)
After that squeezecenter should run just fine
(assuming it was working with perl-5.8)
=================
Now, just to clarify things: solution does not pretend to be perfect and
rather belongs to "let's see if we can make it work" world. I certainly
hope that slimdevice guys will take care of things eventually so for less
tech-savvy people stuff will work out of the box.
Here are the things I would consider "let's play nice with the customers"
slimdevices people can do:
a) fix dependencies (a lot of stuff is missing currently)
My list does not pretend to be complete. It consist of the packages
which were missing on _my_ system. There might be others that just
happened to be installed due to other app/libs requiring them.
Ideally one would have to try it on pristine Debian installation...
b) pack libencode-detect-perl as described above and publish it on
slimdevices.com (same repo as being used to publish squeezecenter.deb)
This have to be done just once (not every time squeezecenter.deb is
being packaged).
c) stop including _any_ CPAN perl modules which require compilation
into squeezecenter.deb. Ideally everything should be handled by
setting dependencies right.
-
2008-05-12, 13:45 #23Junior Member
- Join Date
- May 2008
- Posts
- 6
Major save
You just saved me from being cut up into small pieces by other members of my family... The time you took to post these very clear instructions is very much appreciated.
-
2008-05-19, 05:53 #24Junior Member
- Join Date
- May 2008
- Posts
- 5
Hi bugfixer,
Part 1 and 2 worked for me.
At Part 3 I ran into some problems. Can you give me the exact files to3. Hackish part
We need to remove all the stuff from squeezecenter package which conflicts
with the modules we've just installed. Since I'm lazy enough I've just
manually renamed files/dirs, but really I could have setup diversions so
I do not have to do it each time I'm updating squeezecenter package
(man dpkg-divert)
delete to?
I ran Debian SID and squeezecenter/testing.
Thanks
-
2008-05-19, 06:12 #25
Have you tried the latest 7.1 build? It includes 5.10 support for i386, will be doing x86_64 modules sometime this week.
-
2008-05-19, 06:38 #26Junior Member
- Join Date
- May 2008
- Posts
- 5
Is there a Debian package available?
-
2008-05-19, 06:40 #27
-
2008-05-19, 06:58 #28Junior Member
- Join Date
- May 2008
- Posts
- 5
Hmm - it looks better but is it not running:
2008-05-19 15:55:00 squeezecenter_safe started.
[08-05-19 15:55:40.9783] Slim::Utils::MySQLHelper::createSystemTables (433) FATAL: Couldn't connect to database: [Can't connect to local MySQL server through socket '/var/lib/squeezecenter/cache/squeezecenter-mysql.sock' (2)]
Any ideas?
-
2008-05-19, 07:57 #29
Last edited by Ramage; 2008-05-19 at 22:59. Reason: removed ref to new thread
P2 266MHz, ubuntu server 10.04 SBS 7.6.0 - r31284
AMD64x2 ubuntu 10.04, SBS 7.5.2 - r30889
Dell 10v WinXP SBS 7.5.2 - r31264
Dell 10v ubuntu netbook remix 10.04, SBS 7.6.0 - r30830
Players: Classic, Duet, Boom
-
2008-05-19, 08:11 #30Junior Member
- Join Date
- May 2008
- Posts
- 5

Reply With Quote


