Sunday, July 6, 2014

Installing Modules in Cygwin Perl

The following will install "File::Tail"

Run cygwin
Type

  • cpan
  • install File::Tail
Change "File::Tail" with the module name you want to install

NB:
If that fails you can try delete ~/.cpan/build directory or just the directory of the module you are trying to install and try again.

If that still fails try going to the downloaded directory of the module and do this
  • perl Makefile.PL
  • make
  • make test
  • make install