03) Install Perl Modules
Check and install perl modules required by bounceHammer
If there is any missing perl module which is required by bounceHammer (the configure scirpt reported),
Use the ./Modules.PL script (places in the top directory of source distribution) to list missing module names.
/usr/local/bin/perl Modules.PL
You can check missing module names by using the ./Modules.PL script (it is called from running configure script)
without running the configure script.
# /usr/local/bin/perl ./Modules.PL check ⏎
*[ NG ] Perl6::Slurp [ OK ] List::Util VERSION = 1.18 *[ NG ] Email::AddressParser [ OK ] Errno VERSION = 1.0901 [ OK ] File::Copy VERSION = 2.09 *[WARN] Switch VERSION = 2.1001 is older than 2.13 ...List missing modules only
# /usr/local/bin/perl ./Modules.PL missing ⏎
*[ NG ] Perl6::Slurp *[ NG ] Email::AddressParser *[ NG ] DBIx::Skinny ... #
cpan Module::Name
Update: 2011/06/21 If you want to install perl modules using cpanm command, please refer Install perl modules using cpanm command .
If there is any missing perl module, you should install all of the missing modules (marked *[NG])
by using the cpan command or the perl command.
# /usr/local/bin/perl -MCPAN -e 'install Perl6::Slurp' ⏎
...
Install with cpan command
# /usr/local/bin/cpan Email::AddressParser ⏎
...
Install multiple modules
# /usr/local/bin/cpan DBIx::Skinny Path::Class JSON::Syck ⏎
...
Old version module
If there is any module name begin with *[WARN],
that is an installed module but is old version. The newer version module is required to run bounceHammer properly.
Please upgrade to the latest version if you possible.
# /usr/local/bin/perl -MCPAN -e 'CPAN::Shell->install(CPAN::Shell->r(q{IO::Compress::Gzip}))' ⏎
...
Upgrade with cpan command
# /usr/local/bin/cpan -if IO::Compress::Bzip2 ⏎
...
Module for database
If you use a database (Most people may use a database to storing data),
you should install perl module for the database which you will use.
The perl module for the database is NOT checked by the Modules.PL script (and the configure script).
# /usr/local/bin/cpan DBD::mysql ⏎
...
Install the moudle for PostgreSQL with cpan command
# /usr/local/bin/cpan DBD::Pg ⏎
...
Install the moudle for SQLite with cpan command
# /usr/local/bin/cpan DBD::SQLite ⏎
CPAN: Storable loaded ok (v2.20)
Going to read '/root/.cpan/Metadata'
Database was generated on Tue, 02 Mar 2010 23:47:15 GMT
DBD::SQLite is up to date (1.29). <- DBD::SQLite is already installed
After you have installed required perl modules, Run the configure script AGAIN. If there is no error on running configure script, proceed to make && make install page.
No TrackBacks
TrackBack URL: http://bouncehammer.jp/cgi-bin/mt/mt-tb.cgi/115

Leave a comment