 You will need the following Perl modules:
  DBI
  CGI
  CGI::Cookie
  DBD::mysql
  Digest::MD5

 To try and automate the process of checking and installing these modules,
 simply run the ./check_pms.pl script that is in /usr/local/demarc/install

 NOTE: In order for the DBD::MySQL module to build correctly, you MUST
 have the MySQL header files. They should have been installed for you if
 you followed the supplied instructions for installing the mysql client/server.
 If you are uncertain, you can usually determine if you have this
 by typing "locate MySQL.h", if you get a response back, such as
 "/usr/local/include/MySQL/MySQL.h", then you should be fine. If not, you'll
 need to get them.

 ------------------

 The DBD::mysql module rarely compiles automatically using the CPAN module as is 
 used by the "check_pms.pl" script, so here's the instructions for installing
 it manually if it does in fact fail:

 Source:  http://www.cpan.org/authors/id/JWIED/DBD-mysql-2.0902.tar.gz
 Linux RPM:  http://www.rpmfind.net/linux/rpm2html/search.php?query=mysql-devel

 In your shell:
 ------------------

  tar zxvf DBD-mysql-2.0902.tar.gz
  cd DBD-mysql-2.0902
  perl Makefile.PL
    If this step fails with one (or both) of the following errors:

        Failed to determine directory of mysql.h.
        Failed to determine directory of libmysqlclient.a|libmysqlclient.so

    rerun the previous command specifying the directories as follows:

        perl Makefile.PL \
        --cflags=-I/usr/local/mysql/include/mysql/ \
        --libs=-L/usr/local/mysql/lib/mysql/

  make && make install

Note: Even if mysql.h is installed, the automatic "make test" that CPAN runs has
      a tendency to timeout. If this happens, simply install this module manually
      without the "make test" command.


 -------------------

If any of the required perl modules fail to build or install, you should try one of the following two steps:

1) Try to have them built automatically by the CPAN module by executing the following:

   # perl -MCPAN -e 'install <MODULE_NAME>'

   (ie. "perl -MCPAN -e 'install Digest::MD5'")

   Note: The beauty of the CPAN module is that it will automatically fetch and install 
         dependencies for you, so it is the preferred and suggested method for installing
         perl modules.

2) Search for the source and install them manually:

   You can get the latest module at http://search.cpan.org/ and most modules can be built using the following syntax:
   # tar zxvf <module_name>.tar.gz
   # cd <module_name>
   # perl Makefile.PL
   # make
   # make install

