I have been running Slimserver 6.2.1 on a measly P366 under Mandrake for over a year now and I have finally taken the time to move my server over to a new AMD 3.0G Debian Sarge box. I have been quite excited to get all the new features of Slimserver and also get some rescanning that doesn't peg my CPU at 100% for 20 minutes.
However, I have been struggling with getting Slimserver 6.5 to run under sarge now for over 3 days and I am now complete frustrated.
I started by following the debian instructions for running 6.5 stable using apt-get... that ended with me needing perlapi-5.8.7 which is not available with my current apt sources which are...
deb http://mirror.espri.arizona.edu/debian-amd64/debian/ stable main
deb-src http://mirror.espri.arizona.edu/debian-amd64/debian/ stable main
deb http://security.debian.org/ stable/updates main
deb http://volatile.debian.net/debian-volatile stable/volatile main
deb http://debian.slimdevices.com stable main
I then tried to get the 6.3 RPM installed with Alien and decided that this wasn't going to work since I wanted to use my version of MySQL and 6.3 uses MySQLLite... right?
So, I changed to the 6.5 RPM installed with Alient and hit a variety of difficulties here that quite frankly, I can't remember any more. ;-) Basically, all my startup scripts were missing or I was getting a libyaml-syck-perl error.
I found reference to instructions by Mattias Holmlund on installing under Sarge... so I followed those instructions and received a libyaml-syck-perl error.
apt-get will not install libyaml-syck-perl due to the aformentioned perlapi-5.8.7 dependency. I found a perlapi-5.8.7 at one point but it was a package for i386 and I am AMD64. :-(
I also found posts saying that Slimserver install under Sarge worked if I switched to 'unstable main' for my apt-get sources. So, I figured v7 must be better than nothing but going that route produced the same libyaml/perlapi dependency problem.
At, this point, Im probably missing something simple as I have gotten too deep into this process. I spent the last hour making sure that my system is slimserver free in all packages and files on disk so I have a clean base system to try once more. Can somone please help me find a proven install path that works under Debian Sarge with Slimserver 6.5 stable... or if you have some tips, please post to this thread.
This is a fresh system, so Im trying to keep it nice and clean and organized for as long as possible without hacking stuff up or switching my apt sources to unstable or testing.
thank you very much... I appreciate it... I can of course provide more info, but I didn't want this post to get unreadable from the start.
jaskey
Results 1 to 5 of 5
-
2006-12-09, 10:17 #1Junior Member
- Join Date
- Dec 2006
- Posts
- 7
Debian Sarge and 6.5... Please Help...
-
2006-12-09, 20:15 #2
I used to be able to just extract the .tar.gz and then run the slimserver.pl file like any executable. I haven't tried that with 6.5+ but it used to work fine with earlier versions.
-
2006-12-10, 07:06 #3Senior Member
- Join Date
- Apr 2005
- Posts
- 135
Are you sure your system is completely up-to-date (i.e. "apt-get update" then "apt-get dist-upgrade")? You can run "apt-get -s dist-upgrade" to check without actually installing anything.
IMO, the slimdevices source should be at the top of your list just to ensure you get the package from slim vs. some other (rogue) repository. I use "deb http://debian.slimdevices.com testing main" as my source to get the latest nightly. You'll get stability improvements sine the official 6.5 release.
You might want to add some generic (official) debian sources to your list. I use...
deb http://ftp.us.debian.org/debian/ stable main
deb-src http://ftp.us.debian.org/debian/ stable main
deb http://security.debian.org/ stable/updates main
Although I know little of the AMD64 package requirements so perhaps your source list is what is required for your CPU.
Doing "apt-get install slimserver" should install all of your dependencies. What error messages are you receiving? From this, you should be able to track down which packages are missing/unavailable and compile if necessary.
That's about all I can think of without more info. Hope this helps.
-
2006-12-11, 19:54 #4Junior Member
- Join Date
- Dec 2006
- Posts
- 7
My sources.lists looks like...
#deb file:///cdrom/ sarge main
deb http://debian.slimdevices.com stable main
deb http://mirror.espri.arizona.edu/debian-amd64/debian/ stable main
deb-src http://mirror.espri.arizona.edu/debian-amd64/debian/ stable main
deb http://security.debian.org/ stable/updates main
deb http://volatile.debian.net/debian-volatile stable/volatile main
~
upon running
apt-get install slimserver
I receive
The following packages have unmet dependencies:
slimserver: Depends: libyaml-syck-perl (>= 0.41-1) but it is not going to be installed
I have installed slimserver from the .gz. When running
./build-perl-modules.pl
I get the following error eventually...
Couldn't find a valid dynamic library for XML-Parser-2.34.tar.gz - something is wrong. Exiting!
So... doing an
apt-get -s dist-upgrade
did produce a huge list of updatable packages... I did an update (188Meg worth :-0)
then I re-ran my
./build-perl-modules.pl
and got (again)
Couldn't find a valid dynamic library for XML-Parser-2.34.tar.gz - something is wrong. Exiting!
I also tried apt-get install slimserver again and got the same error about libyaml missing....
I tried a apt-get install libxml-parser-perl and it said the package was already installed.
:-(
Any other thoughts?
-
2006-12-11, 21:59 #5Junior Member
- Join Date
- Dec 2006
- Posts
- 7
[Solved] Debian Sarge and 6.5... Please Help...
Okay upon digging deeper into my last post errors regarding XML-Parser, it looked like it was having compilation errors for Expat. Then, by reading the first text output by the build script, I see that I must have libexpat1-dev installed... so a quick
apt-get install libexpat1-dev
and then another
./build-perl-modules.pl
and all worked... my Slimserver is now scanning my files... and much faster than the PII-366 did!!!! :-)

Reply With Quote

