PDA

View Full Version : Which CPAN modules are needed?



mherger
2005-06-16, 13:03
Does anybody know which CPAN modules have to be installed at a minimum to
get SlimServer running? As I'm not the master of grep I did not get an
answer this "easy" way.

--

Michael

-----------------------------------------------------------
Help translate SlimServer by using the
StringEditor Plugin (http://www.herger.net/slim/)

Brooks Davis
2005-06-16, 13:21
On Thu, Jun 16, 2005 at 10:03:03PM +0200, Michael Herger wrote:
> Does anybody know which CPAN modules have to be installed at a minimum to
> get SlimServer running? As I'm not the master of grep I did not get an
> answer this "easy" way.

If you mean which modules need to be built for your
architecture/OS/perl-version, it's all encoded in
Bin/build-perl-modules.pl. The versions downloaded by that script may
be modified from the standard ones, I don't know.

-- Brooks

--
Any statement of the form "X is the one, true Y" is FALSE.
PGP fingerprint 655D 519C 26A7 82E7 2529 9BF0 5D8E 8BE9 F238 1AD4

mherger
2005-06-16, 14:06
> If you mean which modules need to be built for your
> architecture/OS/perl-version, it's all encoded in
> Bin/build-perl-modules.pl. The versions downloaded by that script may
> be modified from the standard ones, I don't know.

This is not enough. I tried to run slimserver on a stock DSL
(damnsmalllinux.org) which comes with a _very_ basic perl installation
(<450kb). Slimserver instantly crashes lack of the FindBin module. But
build-perl-modules only compiles Compress::Zlib, DBI, DBD::SQLite,
HTML::Parser, Template::Toolkit, Time::HiRes and XML::Parser.

I did compile perl myself and got 27MB. But I'm sure, something between
450kb and 27MB should be more than enough.

--

Michael

-----------------------------------------------------------
Help translate SlimServer by using the
StringEditor Plugin (http://www.herger.net/slim/)

Dan Sully
2005-06-16, 14:14
* Michael Herger shaped the electrons to say...

>This is not enough. I tried to run slimserver on a stock DSL
>(damnsmalllinux.org) which comes with a _very_ basic perl installation
>(<450kb). Slimserver instantly crashes lack of the FindBin module. But
>build-perl-modules only compiles Compress::Zlib, DBI, DBD::SQLite,
>HTML::Parser, Template::Toolkit, Time::HiRes and XML::Parser.
>
>I did compile perl myself and got 27MB. But I'm sure, something between
>450kb and 27MB should be more than enough.

The unicode tables are 6 megs alone.

-D
--
"My pockets hurt." - Homer Simpson

dean
2005-06-16, 14:18
True, SlimServer (and Dan's script) assume that a standard Perl
distribution is installed. Some Perl builds have stuff removed,
which makes it a bit harder to install SlimServer, but if you have
access to a full installation, you can pick out the modules you need.

-dean

On Jun 16, 2005, at 2:06 PM, Michael Herger wrote:

>> If you mean which modules need to be built for your
>> architecture/OS/perl-version, it's all encoded in
>> Bin/build-perl-modules.pl. The versions downloaded by that script
>> may
>> be modified from the standard ones, I don't know.
>>
>
> This is not enough. I tried to run slimserver on a stock DSL
> (damnsmalllinux.org) which comes with a _very_ basic perl
> installation (<450kb). Slimserver instantly crashes lack of the
> FindBin module. But build-perl-modules only compiles
> Compress::Zlib, DBI, DBD::SQLite, HTML::Parser, Template::Toolkit,
> Time::HiRes and XML::Parser.
>
> I did compile perl myself and got 27MB. But I'm sure, something
> between 450kb and 27MB should be more than enough.
>
> --
>
> Michael
>
> -----------------------------------------------------------
> Help translate SlimServer by using the
> StringEditor Plugin (http://www.herger.net/slim/)
>
>

mherger
2005-06-16, 14:27
>> I did compile perl myself and got 27MB. But I'm sure, something
>> between 450kb and 27MB should be more than enough.
>
> The unicode tables are 6 megs alone.

I know. This calmed down my first attempt to strip it down... Why hunt
that unneeded 20kB module if there's that fat table lying around? But
every byte counts!

--

Michael

-----------------------------------------------------------
Help translate SlimServer by using the
StringEditor Plugin (http://www.herger.net/slim/)