develooper Front page | perl.win32.vanilla | Postings from February 2011

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

Thread Next
Gabor Szabo
February 22, 2011 11:47
dmake.EXE: Error: -- Input line too long, increase MAXLINELENGTH
Message ID:
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

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

..................................------------------------------------------DONE 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,


  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.


Thread Next Perl Programming lists via nntp and http.
Comments to Ask Bjørn Hansen at | Group listing | About