PDA

View Full Version : New How-To: Installing SlimServer on LinkStation



Rod Tucker
2005-03-22, 03:53
Marc,

I am really grateful that someone has put all this information down in one place. It gave me confidence, at last, to go ahead and try installing the slimserver on my linkstation.

Everything seemed to be going just fine, but I ran into a problem right at the last step (under "testing and finishing") .

I typed in: mnt/slimserver# ./slimserver.pl --daemon --prefsfile /mnt/slim-data/slimserver.pref --cachedir /mnt/slim-data, as you suggested,

but the following response came up:


================================================== ===

root@LINKSTATION:/mnt/share# cd /mnt/slimserver

root@LINKSTATION:/mnt/slimserver# ./slimserver.pl --daemon --prefsfile /mnt/slim

-data/slimserver.pref --cachedir /mnt/slim-data

The following modules failed to load: DBD::SQLite XML::Parser HTML::Parser Compr

ess::Zlib



To download and compile them, please run: /mnt/slimserver/Bin/build-perl-modules

..pl



root@LINKSTATION:/mnt/slimserver# ps -A

PID TTY TIME CMD

1 ? 00:00:04 init

2 ? 00:00:00 keventd

3 ? 00:00:02 ksoftirqd_CPU0

4 ? 00:00:55 kswapd



[many lines deleted]



1391 ? 00:00:09 atalkd

1486 ? 00:00:00 papd

1488 ? 00:00:00 afpd

1490 ? 00:00:10 smbd

1527 ? 00:00:00 ppc_uartd

1590 ? 00:00:00 in.telnetd

1591 pts/0 00:00:00 bash

1605 pts/0 00:00:00 ps

root@LINKSTATION:/mnt/slimserver# /mnt/slimserver/Bin/build-perl-modules.pl

Welcome to the Slim Devices perl module installer.



These packages are needed for SlimServer 6 to function.

You will need a C compiler (gcc), make, and perl installed.



*** Ignore any warnings about AppConfig. ***



Please enter a perl binary to use (defaults to /usr/bin/perl)

This must be the same perl binary that you ran this program with -->



================================================== ===========



As you can see, I tried running "mnt/slimserver# /mnt/slimserver/Bin/build-perl-modules.pl" as suggested by the program.



I tried typing in "slimserver.pl" when it asked for the perl binary, but this didn't work. I don't think I have a C compiler on my computer, and I don't know that the modules DBD::SQLite XML::Parser HTML::Parser Compress::Zlib are.



Any suggestions?



Rod Tucker



BTW, when I copied perl and the slimserver to the relevant directories, both files had a .tar.tar suffix rather than the .tar.gz suffix as listed in your notes. However "tar xzvf filename.tar.tar" (rather than "tar xzvf filename.tar.gz") seemed to work OK.

Marc D.Field
2005-03-22, 18:38
In article news:003801c52ecd$671219a0$9601a8c0@ROD, "Rod Tucker" <rod-726cGAzaMRMGihw92uD59AC/G2K4zDHf (AT) public (DOT) gmane.org> wrote:
>The following modules failed to load: DBD::SQLite XML::Parser HTML::Parser Compr

Hi,

It looks like you have a build of SlimServer 6 that does not yet have the required ppc perl binaries. If you download the current beta (b3) or nightly, then the required perl binaries will be included and you should not get this error.

Marc