in reply to Re: CPAN question on Module Build Preference
in thread CPAN question on Module Build Preference

.. the lines in the makefile exceed the length that can be handled by dmake.exe.

'dmake -V' will output the default MAXLINELENGTH value (32766 for me).That length limit *can* be increased using the -x switch. Instead of running simply dmake, one could run (eg):
dmake -x MAXLINELENGTH=100000
One could probably make that the default for $Config{make} by amending the value assigned to make in Config_heavy.pl accordingly. (This would, no doubt, create havoc with any Makefile.PL that tested the condition $Config{make} eq 'dmake' :-))

I also googled up the solution that the same could be achieved by adding MAXLINELENGTH = 100000 to strawberry/c/bin/startup.mk but I wonder if that really works. And it was also claimed that one could open up the Makefile and specify MAXLINELENGTH = 100000 (or whatever) in it.

Anyway, I just wanted to point out that there are other ways (well, one at least) around the problem - though I'm not suggesting they're any better than the solution chosen by the op.

Cheers,
Rob

Replies are listed 'Best First'.
Re^3: CPAN question on Module Build Preference
by jettero (Monsignor) on Apr 24, 2009 at 11:21 UTC
    This is interesting. I wonder if increasing the line length would help building Gtk. I thought it was a microsoft "shell" limitation.

    -Paul