I am using Padre 0.94 on MSWin32(XP) and in the Past i installed CPAN packages manually.
But for more complicated packages which are not easily installed manually, i tried to use the install via make but it failed.
C:\Dwimperl\Number-Format-1.73>perl Makefile.PL Writing Makefile for Number::Format Writing MYMETA.yml and MYMETA.json
runs without warning or error, but make stops with error:
C:\Dwimperl\Number-Format-1.73>\Programme\GnuWin32<p><p>\bin\make to undefined at C:/Dwimperl/perl/lib/ExtUtils/Install.pm line 1198 make: *** [pm_to_blib] Fehler 2
obviously $to is undefined (see LINE 1198).
It comes via $fromto as 1.parameter of sub pm_to_blib which i can not trace as i can not start the debug from make.
It's not clear for me why and where it should have been defined.
Therfore i'm asking for advice how to fix this problem.
using Padre 0.94 with perl 5, version 14, subversion 2 (v5.14.2) built for MSWin32-x86-multi-thread
(running on Win XP)
below part of source related to message:
solved:C:\Dwimperl\Number-Format-1.73>\bin\head -n1201 c:/dwimperl/perl/lib/E +xtutils/install.pm|\bin\tail -22 sub pm_to_blib { my($fromto,$autodir,$pm_filter) = @_; _mkpath($autodir,0,0755); while(my($from, $to) = each %$fromto) { <<<< LINE 1184 if( -f $to && -s $from == -s $to && -M $to < -M $from ) { print "Skip $to (unchanged)\n" unless $INSTALL_QUIET; next; } # When a pm_filter is defined, we need to pre-process the sour +ce first # to determine whether it has changed or not. Therefore, only + perform # the comparison check when there's no filter to be ran. # -- RAM, 03/01/2001 my $need_filtering = defined $pm_filter && length $pm_filter & +& $from =~ /\.pm$/; if (!$need_filtering && 0 == compare($from,$to)) { < +<<< LINE 1198 print "Skip $to (unchanged)\n" unless $INSTALL_QUIET; next;
dmake does the job, just dmake;dmake test;dmake install;
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |