| [reply] |
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
| [reply] [d/l] |
Thanks, yeah. This is more what I was asking for. I wasn't sure if there might be some directive I could give cpan or cpanm to ignore this module. I'll dig around some more. But how did this module pass the tests for darwin machines? That's what I'm really wondering. What did those machines do to get this installed? I doubt an automated tester went through the trouble of modifying the Makefile. That's what leads me to believe there must be some kind of solution I'm missing.
| [reply] |