It's not obvious to me
Looking at the File::Repl-2.3 source, the cpan utility attempts to install Win32::API because the Makefile.PL tells it to do so.
Line 32 of the Makefile.PL is:
Win32::API => 0, # 0.2000.07.08,
For installing with cpan, that line needs to be made invisible (eg by removing it) to all systems except Windows - or cpan needs to be ordered to not install missing dependencies (I think cpan can be configured to do that).
Another alternative is to download and unpack the File-Repl source, cd to the top level folder and build manually - ie run "perl Makefile.PL", then "make test", then "make install".
The "perl Makefile.PL" command will produce a warning that Win32::API is not installed. You can ignore that warning.
Any other bugs relating to File::Repl-2.3 on a non-Windows system should become evident during the "make test" stage.
Cheers,
Rob
Posts are HTML formatted. Put <p> </p> tags around your paragraphs. Put <code> </code> tags around your code and data!
Titles consisting of a single word are discouraged, and in most cases are disallowed outright.
Read Where should I post X? if you're not absolutely sure you're posting in the right place.
Please read these before you post! —
Posts may use any of the Perl Monks Approved HTML tags:
- a, abbr, b, big, blockquote, br, caption, center, col, colgroup, dd, del, details, div, dl, dt, em, font, h1, h2, h3, h4, h5, h6, hr, i, ins, li, ol, p, pre, readmore, small, span, spoiler, strike, strong, sub, summary, sup, table, tbody, td, tfoot, th, thead, tr, tt, u, ul, wbr
You may need to use entities for some characters, as follows. (Exception: Within code tags, you can put the characters literally.)
| |
For: |
|
Use: |
| & | | & |
| < | | < |
| > | | > |
| [ | | [ |
| ] | | ] |
Link using PerlMonks shortcuts! What shortcuts can I use for linking?
See Writeup Formatting Tips and other pages linked from there for more info.