http://qs321.pair.com?node_id=971589


in reply to Problem installing Carp-1.25 under DWIM Perl

I had a similar problem see Ideas on more foolproof Makefile.PL and generated Makefile.

Realized after some days, when I saw  # dmake expands {{ to { and }} to }. in the file perl/lib/ExtUtils/MM_Win32.pm that I should have used dmake!!

Using wrong make program in Windows often results in difficult to interpret error messages. The time to find the real problem (using wrong makefile program) is often long.

I have proposed (with no success) to make the makefile generated by ExtUtils::MakeMaker more foolprof by:

  1. Add information about usage in the header of the generated makefiles. Something like:
    # Typical usage: # perl Makefile.PL # dmake # dmake test # dmake install
  2. If the makefile is used by the wrong make program generate an error message or other noise, so it is “impossible” to be foolish.