perldebuggingstrawberry-perlpadrecarp

Can't install Carp-1.25


I have installed Strawberry Perl for Windows, "DWIM Perl" from: http://dwimperl.com/. I would like to use Carp. So I have downloaded Carp-1.25 from CPAN, un-TAR-ed it, and ran nmake.

I get:

Microsoft (R) Program Maintenance Utility Version 10.00.30319.01
Copyright (C) Microsoft Corporation.  All rights reserved.

to undefined at F:/Dwimperl/perl/lib/ExtUtils/Install.pm line 1208
NMAKE : fatal error U1077: 'F:\Dwimperl\perl\bin\perl.exe' : return code '0x2'
Stop.

Note that it's not a Windows nmake problem, I get a similar error when running make in cygwin.

My system: MS Windows 7.

(By the way, I have been running ActiveState Perl fine, and there, PPM downloads and installs Carp with no problem. The reason I've switched to Strawberry/DWIM Perl, is that I'd like to run a debugger, and Padre's latest version on ActiveState is 0.86, which is buggy. So I've installed DWIM Perl since I'd like to use Padre 0.92).


Solution

  • Carp is a core module so it be included with your Perl installation. Just try use Carp in your code.