I am trying to build Encode on Win98 with perl-5.9.0, dmake and
MinGW-3, but the pm_to_blib action is 30 lines long and is choking
command com. I seem to be getting a divide overflow error in which the
MS IME is implicated.
This patch, defining max_exec_length in MM_Win95.pm,
and halving the number of lines, seems to solve that problem.
*** /win/perl/5.9.0/lib/ExtUtils/MM_Win95.pm.orig 2003-11-16 20:24:36.000000000
+0800
--- /win/perl/5.9.0/lib/ExtUtils/MM_Win95.pm 2003-11-16 20:59:56.000000000 +0800
***************
*** 206,211 ****
--- 206,225 ----
}
+ =item max_exec_len
+
+ nmake 1.50 limits command length to 2048 characters.
+ But command.com was choking on long lines less than that
+
+ =cut
+
+ sub max_exec_len {
+ my $self = shift;
+
+ return $self->{_MAX_EXEC_LEN} ||= 1 * 1024;
+ }
+
+
=back
--
Greg Matheson, Taiwan