Install perl module through source package on cygwin by using cpanm

  |   Source

I failed to install package "Template" by running `cpanm Template'.

It's because the binary package requires gcc4 while on my cygwin only gcc3 available.

So I install it from source package (with some hack, of course),

cpanm --look Template # Download and unpack the distribution and then open the directory with your shellI
cpanm . #install from local directory

Updated: I found the simpler solution was to install gcc4 at cygwin.

Comments powered by Disqus