Hi David,
On Fri Apr 28 07:24:49 2006, DAGOLDEN wrote:
Show quoted text> DateTime-Locale creates a Makefile that has some extremely long
> continuation lines. dmake fails with the message:
>
> dmake: makefile: line 441: Error: -- Input line too long, increase
> MAXLINELENGTH
>
> Sample Makefile attached.
Thanks for the bug report.
I've already had the default MAXLINELENGTH in dmake increased from 2046
to 8190 in the OpenOffice sources that I built my version from (see
http://www.openoffice.org/issues/show_bug.cgi?id=47137), but it looks
like DateTime-Locale needs an even larger value: something like 21000 or
above does the trick.
You can actually specify MAXLINELENGTH in the startup.mk file, and this
will override the built-in (C coded) default. I have attached a patch
here showing you how to do this. The patch increases the value to
32766. (A buffer 2 bytes larger than this value is allocated by dmake,
as described in man/dmake.nc.) If you apply this to your dmake
installation then DateTime-Locale should now build OK for you.
However, it would be better for my CPAN distribution of dmake to be able
to build DateTime-Locale without any changes like this being necessary,
so I will release a new version in the next week or two containing a
larger default MAXLINELENGTH. I just need to check with the OpenOffice
people first to see if they want to make the change to their sources; if
not then I'll just do it in mine.
Cheers,
- Steve