dmake.EXE: Error: -- Input line too long, increase MAXLINELENGTH

[email protected] (Gabor Szabo)
Newsgroups perl.win32.vanilla
Message-ID <[email protected]>
On Strawberry Perl that comes with Padre you might encounter the above error.


========================================

cpan> install DateTime::TimeZone

Database was generated on Mon, 21 Feb 2011 14:08:55 GMT

Running install for module 'DateTime::TimeZone'

Running make for D/DR/DROLSKY/DateTime-TimeZone-1.28.tar.gz

Checksum for C:\strawberry\cpan\sources\authors\id\D\DR\DROLSKY\DateTime-TimeZone-1.28.tar.gz
ok

Scanning cache C:\strawberry\cpan\build for sizes

..................................------------------------------------------DONE


  CPAN.pm: Going to build D/DR/DROLSKY/DateTime-TimeZone-1.28.tar.gz



Checking if your kit is complete...

Looks good

Writing Makefile for DateTime::TimeZone

dmake.EXE:  makefile:  line 1312:  Error: -- Input line too long,
increase MAXLINELENGTH

  DROLSKY/DateTime-TimeZone-1.28.tar.gz

  C:\strawberry\c\bin\dmake.EXE -- NOT OK

Running make test

  Can't test without successful make

Running make install

  Make had returned bad status, install seems impossible

Failed during this command:

DROLSKY/DateTime-TimeZone-1.28.tar.gz        : make NO


========================================


The solution,

c:> cpan
cpan> look DateTime::TimeZone
> perl Makefile.PL
> dmake MAXLINELENGTH=300000 make
> dmake MAXLINELENGTH=300000 make test
> dmake MAXLINELENGTH=300000 make install


I don't know if this can be changed in the next releases of Strawberry Perl
but this might help some others.

Gabor
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.