next up previous
Next: 2.2 Installing Apache/mod_perl/MySQL Up: 2 Installation Previous: 2 Installation

Subsections


2.1 Requirements

Scoop requires several different programs and modules in order to run. Listed below are the requirements, the minimal version that each has been tested with, and where to get each. Where applicable, recommended version is noted.


2.1.1 Perl

Perl, or Practical Extraction and Report Language, is the underlying language which Scoop is written in. The current stable version is 5.6.1 and is available from CPAN. Scoop requires at least perl 5.005_03 in order to run (note that the versioning system used for Perl changed between 5.005 and 5.6).


2.1.2 Apache/mod_perl

Apache is an HTTP server, and the only one Scoop supports. The current stable tree is 1.3.x, which is available from the Apache website. The first stable version of Apache 2.0 was recently released, but is not supported by Scoop. Just about any version of Apache 1.3 should work with Scoop, though the most recent will always include bug and security fixes

In addition to Apache, Scoop also requires mod_perl, which is an Apache module. The stable tree is 1.x, and you can get it from the mod_perl website at http://perl.apache.org/. Note that if you get, or already have, an older version of Apache, then you may need to get an older version of mod_perl to work with it.


2.1.3 MySQL

MySQL is a database management system (DBMS), and is currently the only one Scoop supports, though support for Postgres is in the works. The current stable tree for MySQL is 3.23.x, which you can get from the MySQL site. Earlier 3.22 versions of MySQL will also work, though you'll need to indicate during config that you're using 3.22 instead of 3.23.


2.1.4 Perl Modules

Scoop uses several Perl modules, all of which are available from CPAN. Scoop uses so many modules so that it doesn't constantly re-invent the wheel, so to say. Below is a list of modules that are currently required by Scoop. There are several ways to install them. You could go to CPAN, get each tarball, and install by hand, but that takes time and effort. You could also use the CPAN shell (more on this later) to install each one, but that still requires typing it all out. So Scoop includes a Bundle::Scoop, which you can use with the CPAN shell to install all of them. The install script uses this to install modules, which is the easiest way. But if you'd like to manually use it, here's how (note that you'll probably want to be root for this):

% perl -MCPAN -e shell;
(if CPAN starts to configure, make sure you set Follow Prerequisites to 'Ask')
cpan> ! use lib qw( /path/to/scoop/lib/ );
cpan> install Bundle::Scoop
(there will be a lot of output, try to watch for errors)
cpan> exit
Note that, before you do this, make sure you have expat installed. If you don't, then installation of XML::Parser will fail, and a few modules which depends on it will too. Also, DBD::mysql will most likely fail, because the tests don't work well. You can either ``force install DBD::mysql'' from the CPAN shell, or ``install DBD::mSQL'', then choose to only build MySQL support.

Module Current Version Minimum Version Notes
DBI 1.30 1.14  
DBD::mysql 2.1020 2.0414 or try DBD::mSQL
Digest::MD5 2.20 2.11  
Apache::DBI 0.89 0.87  
Apache::Request 1.0 0.31  
Apache::Session 1.54 1.51  
Class::Singleton 1.03 1.03  
Crypt::UnixCrpyt 1.0 1.0  
Mail::Sendmail 0.78 0.77  
String::Random 0.198 0.198  
Time::CTime 99.062201 99.062201  
Time::Timezone 101.062101 99.062401  
XML::Parser 2.31 2.30 must have expat installed
LWP 5.65 5.53  
Crypt::CBC 2.08 1.25  
Crypt::Blowfish 2.09 2.06  
XML::RSS 0.97 0.8  


next up previous
Next: 2.2 Installing Apache/mod_perl/MySQL Up: 2 Installation Previous: 2 Installation