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

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

Thread Next
From:
Gabor Szabo
Date:
February 22, 2011 11:47
Subject:
dmake.EXE: Error: -- Input line too long, increase MAXLINELENGTH
Message ID:
AANLkTi=mc=2zK0qj8NEvQUK4GGKBbMSfFW3K3ZoDf8UG@mail.gmail.com
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

Thread Next


nntp.perl.org: Perl Programming lists via nntp and http.
Comments to Ask Bjørn Hansen at ask@perl.org | Group listing | About