How to Install Perl CPAN Module
From the root prompt on your server, invoke the CPAN shell:
#perl -MCPAN -e shell
Once the Perl interpreter has loaded (and been configured), you can install modules with: install .MODULENAME
The first thing you should do is upgrade your CPAN:
cpan>install Bundle::CPAN
Once it is completed, type:
cpan>reload cpan
Now, enter the following command to retrieve all of the required modules:
cpan> install DateTime
Note
Be aware that after freshly installing make / gcc, your perl installation will not necessarily detect it. This means module installation will still fail during the 'make' stage. You may need to invoke the CPAN shell and run the setup routine again, to point to the location of make:
# perl -MCPAN -e shell CPAN
cpan> o conf make /usr/bin/make
cpan> o conf commit