11.2. Installation

Mason is not installed on many distributions, including Red Hat (yet), so we’ll go through the the drill of installing it manually. First though, two other modules must be installed: MLDBM (Multi-Level DataBase Manager) and Params::Validate. MLDBM is a Perl module that allows the storage and retrieval of multidimensional data structures. Mason uses MLDBM to store its cache files.

To install MLDBM, get the latest version (as of the writing of this book, 2.00) from www.cpan.org/modules/by-module/MLDBM/. Save MLDBM-2.00.tar.gz to /tmp. Then, as root:

# cd /tmp 
# tar xzvf MLDBM-2.00.tar.gz 
# cd MLDBM-2.00 
# perl Makefile.PL 
# make 
# make test 
# make install
					

Next install Params::Validate. Mason uses this module to validate function ...

Get Open Source Web Development with LAMP: Using Linux, Apache, MySQL, Perl, and PHP now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.