in reply to CPAN question on Module Build Preference

o conf prefer_installer MB

Other choices include: EUMM or MB or RAND

you can choose to o conf commit (or not). It's really up to you.

-Paul

Replies are listed 'Best First'.
Re^2: CPAN question on Module Build Preference
by syphilis (Archbishop) on Apr 23, 2009 at 23:54 UTC
    .. 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
      This is interesting. I wonder if increasing the line length would help building Gtk. I thought it was a microsoft "shell" limitation.

      -Paul