Blame INSTALL

Packit a4893e
Installation Instructions
Packit a4893e
Packit a4893e
The instructions are basically as per any Perl module.
Packit a4893e
Packit a4893e
Packit a4893e
INSTALLING AUTOMATICALLY
Packit a4893e
------------------------
Packit a4893e
Packit a4893e
The easiest way to install is via CPAN or CPANPLUS:
Packit a4893e
Packit a4893e
CPAN:
Packit a4893e
Packit a4893e
    % perl -MCPAN -e shell                    [as root]
Packit a4893e
    > install DateTime::Format::IBeat
Packit a4893e
    > quit
Packit a4893e
Packit a4893e
CPANPLUS:
Packit a4893e
Packit a4893e
    % cpanp
Packit a4893e
    > i DateTime::Format::IBeat
Packit a4893e
    > q
Packit a4893e
Packit a4893e
See your local 'perldoc CPAN' or 'perldoc CPANPLUS' for
Packit a4893e
instructions on setting up and configuring CPAN or CPANPLUS.
Packit a4893e
Packit a4893e
Packit a4893e
OBTAINING THE MODULE
Packit a4893e
--------------------
Packit a4893e
Packit a4893e
The latest release version of DateTime::Format::IBeat can be downloaded
Packit a4893e
from any CPAN site:
Packit a4893e
Packit a4893e
    http://search.cpan.org/~emartin/DateTime-Format-IBeat/
Packit a4893e
    http://search.cpan.org/dist/DateTime-Format-IBeat/
Packit a4893e
Packit a4893e
DateTime::Format::IBeat is distributed as a gzipped tar archive file:
Packit a4893e
Packit a4893e
    DateTime-Format-IBeat-<version>.tar.gz
Packit a4893e
Packit a4893e
where <version> represents the current version number.
Packit a4893e
Packit a4893e
To install the module, unpack the distribution archive to
Packit a4893e
create an installation directory.  Something like this:
Packit a4893e
Packit a4893e
    tar zxf DateTime-Format-IBeat-0.16.tar.gz
Packit a4893e
or
Packit a4893e
    gunzip DateTime-Format-IBeat-0.16.tar.gz
Packit a4893e
    tar xf DateTime-Format-IBeat-0.16.tar
Packit a4893e
Packit a4893e
You can then 'cd' into the directory created,
Packit a4893e
Packit a4893e
    cd DateTime-Format-IBeat-0.16
Packit a4893e
Packit a4893e
Packit a4893e
Packit a4893e
INSTALLING MANUALLY
Packit a4893e
-------------------
Packit a4893e
Packit a4893e
The 'make install' (done later) will install the modules and scripts on
Packit a4893e
your system. You may need administrator privileges to perform this task.
Packit a4893e
Alternately you can install the module to a local directory (see
Packit a4893e
ExtUtils::MakeMaker for full details), e.g.
Packit a4893e
Packit a4893e
    % perl Makefile.PL PREFIX=/home/fred
Packit a4893e
Packit a4893e
Don't forget to update your PERL5LIB environment variable if you do
Packit a4893e
this, or add a line to your script to tell Perl where to find the files,
Packit a4893e
e.g.
Packit a4893e
Packit a4893e
    use lib qw( /home/fred/lib/perl5/site_perl/5.6.0 );
Packit a4893e
Packit a4893e
If you're not after a custom location, just do:
Packit a4893e
Packit a4893e
    % perl Makefile.PL
Packit a4893e
Packit a4893e
If you are lacking any of the prerequisite modules, running that
Packit a4893e
program will tell you. All prerequisites are available from CPAN.
Packit a4893e
Packit a4893e
When you have them all:
Packit a4893e
Packit a4893e
    % make && make test
Packit a4893e
Packit a4893e
If there are any failures, it's best if you contact me. It may help
Packit a4893e
other people who have the same problem.  I don't tend to read the Perl
Packit a4893e
newsgroups or PerlMonks, so it's no use posting there.
Packit a4893e
Packit a4893e
When you report your trouble, be sure to send me the following
Packit a4893e
information;
Packit a4893e
    + result of `perl -V'
Packit a4893e
    + output from 'make test' - ideally do 'make test TEST_VERBOSE=1 >& errs'
Packit a4893e
Packit a4893e
Send those to bug-DateTime-Format-IBeat@rt.cpan.org and I'll get
Packit a4893e
back to you as soon as I'm able.
Packit a4893e
Packit a4893e
If it worked, then become root and type:
Packit a4893e
Packit a4893e
    # make install
Packit a4893e
Packit a4893e
Congratulations. You've just installed DateTime::Format::IBeat.
Packit a4893e
Packit a4893e
If you have a copy of cpantest installed, type:
Packit a4893e
Packit a4893e
    % cpantest -g pass -nc -p `basename \`pwd\`` -auto
Packit a4893e
Packit a4893e
Or:
Packit a4893e
    % cpantest -g pass -nc -p DateTime-Format-IBeat-0.16 -auto
Packit a4893e
Packit a4893e
That will tell both me and other potential users that the module
Packit a4893e
built correctly on your machine.
Packit a4893e
Packit a4893e
Thanks,
Packit a4893e
Earle (current maintainer of this module).