Skip Menu |

This queue is for tickets about the ExtUtils-MakeMaker CPAN distribution.

Report information
The Basics
Id: 3275
Status: resolved
Priority: 0/
Queue: ExtUtils-MakeMaker

People
Owner: Nobody in particular
Requestors: muenalan [...] cpan.org
Cc:
AdminCc:

Bug Information
Severity: Normal
Broken in: 6.15
Fixed in: (no value)



Subject: [perl5.8.0/win32] (ExtUtils::Install) NMAKE : fatal error U1095: expanded command line '< a lot of filenames>' too long
This issue has come up with big distributions like XML::Schema (http://rt.cpan.org/NoAuth/Bug.html?id=3274) or Regexp::Common (http://rt.cpan.org/NoAuth/Bug.html?id=3272). I post this here because i suspect the problem anywhere in the ExtUtils::MakeMaker packages. The dists above installed well under my 5.6.1 enviroment (but i cannot remember which ExtUtils::MakeMaker version it was). Any ideas ? Murat CPAN.pm: Going to build A/AB/ABW/XML-Schema-0.07.tar.gz Checking if your kit is complete... Warning: the following files are missing in your kit: docs/lib/view/default/LIST Please inform the author. Writing Makefile for XML::Schema Microsoft (R) Program Maintenance Utility Version 1.50 Copyright (c) Microsoft Corp 1988-94. All rights reserved. NMAKE : fatal error U1095: expanded command line '@ C:\Programme\Perl\bin\perl.exe -MExtUtils::Install -e "pm_to_blib({@ARGV}, 'blib\lib\auto', '')" lib/XML/Schema/Particle/Choice.pm blib\lib\XML\Schema\Particle\Choice.pm lib/XML/Schema/Content.pm blib\lib\XML\Schema\Content.pm lib/XML/Schema/Element.pm blib\lib\XML\Schema\Element.pm lib/XML/Schema/Type/Simpl e.pm blib\lib\XML\Schema\Type\Simple.pm lib/XML/Schema/Type/List.pm blib\lib\XML\Schema\Type\List.pm lib/XML/Schema/Scheduler.pm blib\lib\XML\Schema\Scheduler.pm lib/XML/Schema/Pa rticle/Sequence.pm blib\lib\XML\Schema\Particle\Sequence.pm lib/XML/Schema/Handler.pm blib\lib\XML\Schema\Handler.pm lib/XML/Schema/Scope.pm blib\lib\XML\Schema\Scope.pm lib/XML/S chema/Wildcard.pm blib\lib\XML\Schema\Wildcard.pm lib/XML/Schema/Type.pm blib\lib\XML\Schema\Type.pm lib/XML/Schema/Constants.pm blib\lib\XML\Schema\Constants.pm lib/XML/Schema/Ha ndler/Simple.pm blib\lib\XML\Schema\Handler\Simple.pm lib/XML/Schema/Base.pm blib\lib\XML\Schema\Base.pm lib/XML/Schema/Parser.pm blib\lib\XML\Schema\Parser.pm lib/XML/Schema/Face t/Builtin.pm blib\lib\XML\Schema\Facet\Builtin.pm lib/XML/Schema/Attribute.pm blib\lib\XML\Schema\Attribute.pm lib/XML/Schema/Particle/Element.pm blib\lib\XML\Schema\Particle\Eleme nt.pm lib/XML/Schema.pm blib\lib\XML\Schema.pm lib/XML/Schema/Exception.pm blib\lib\XML\Schema\Exception.pm lib/XML/Schema/Type/Provider.pm blib\lib\XML\Schema\Type\Provider.pm l ib/XML/Schema/Type/Complex.pm blib\lib\XML\Schema\Type\Complex.pm lib/XML/Schema/Type/Builtin.pm blib\lib\XML\Schema\Type\Builtin.pm lib/XML/Schema/Handler/Schema.pm blib\lib\XML\S chema\Handler\Schema.pm lib/XML/Schema/Test.pm blib\lib\XML\Schema\Test.pm lib/XML/Schema/Scoped.pm blib\lib\XML\Schema\Scoped.pm lib/XML/Schema/Attribute/Group.pm blib\lib\XML\Sc hema\Attribute\Group.pm lib/XML/Schema/Facet.pm blib\lib\XML\Schema\Facet.pm lib/XML/Schema/Instance.pm blib\lib\XML\Schema\Instance.pm lib/XML/Schema/Handler/Complex.pm blib\lib\ XML\Schema\Handler\Complex.pm lib/XML/Schema/Factory.pm blib\lib\XML\Schema\Factory.pm lib/XML/Schema/Type/Union.pm blib\lib\XML\Schema\Type\Union.pm lib/XML/Schema/Particle.pm bl ib\lib\XML\Schema\Particle.pm lib/XML/Schema/Annotation.pm blib\lib\XML\Schema\Annotation.pm' too long Stop. w:\bin\nmake -- NOT OK Running make test Can't test without successful make Running make install make had returned bad status, install seems impossible --- Summary of my perl5 (revision 5 version 8 subversion 0) configuration: Platform: osname=MSWin32, osvers=4.0, archname=MSWin32-x86-multi-thread uname='' config_args='undef' hint=recommended, useposix=true, d_sigaction=undef usethreads=undef use5005threads=undef useithreads=define usemultiplicity=define useperlio=define d_sfio=undef uselargefiles=define usesocks=undef use64bitint=undef use64bitall=undef uselongdouble=undef usemymalloc=n, bincompat5005=undef Compiler: cc='cl', ccflags ='-nologo -Gf -W3 -MD -DNDEBUG -O1 -DWIN32 -D_CONSOLE -DNO_STRICT -DHAVE_DES_FCRYPT -DPERL_IMPLICIT_CONTEXT -DPERL_IMPLICIT_SYS -DUSE_PERLIO -DPERL_MSVCRT_READF IX', optimize='-MD -DNDEBUG -O1', cppflags='-DWIN32' ccversion='', gccversion='', gccosandvers='' intsize=4, longsize=4, ptrsize=4, doublesize=8, byteorder=1234 d_longlong=undef, longlongsize=8, d_longdbl=define, longdblsize=10 ivtype='long', ivsize=4, nvtype='double', nvsize=8, Off_t='__int64', lseeksize=8 alignbytes=8, prototype=define Linker and Libraries: ld='link', ldflags ='-nologo -nodefaultlib -libpath:"C:\Programme\Perl\lib\CORE" -machine:x86' libpth=\lib libs= oldnames.lib kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib netapi32.lib uuid.lib wsock32.lib mpr.lib winmm. lib version.lib odbc32.lib odbccp32.lib msvcrt.lib perllibs= oldnames.lib kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib netapi32.lib uuid.lib wsock32.lib mpr.lib wi nmm.lib version.lib odbc32.lib odbccp32.lib msvcrt.lib libc=msvcrt.lib, so=dll, useshrplib=yes, libperl=perl58.lib gnulibc_version='undef' Dynamic Linking: dlsrc=dl_win32.xs, dlext=dll, d_dlsymun=undef, ccdlflags=' ' cccdlflags=' ', lddlflags='-dll -nologo -nodefaultlib -libpath:"C:\Programme\Perl\lib\CORE" -machine:x86' Characteristics of this binary (from libperl): Compile-time options: MULTIPLICITY USE_ITHREADS USE_LARGE_FILES PERL_IMPLICIT_CONTEXT PERL_IMPLICIT_SYS Locally applied patches: ActivePerl Build 806 Built under MSWin32 Compiled at Apr 24 2003 20:37:33 @INC: C:/Programme/Perl/lib C:/Programme/Perl/site/lib . --- Microsoft Windows XP [Version 5.1.2600]
From: muenalan [...] cpan.org
[guest - Sun Aug 17 18:19:36 2003]: This is also true for 6.16 from cvs (18.08.2003 00:29) Greetings, Murat
Date: Sun, 17 Aug 2003 17:33:12 -0700
From: Michael G Schwern <schwern [...] pobox.com>
To: Guest via RT <bug-ExtUtils-MakeMaker [...] rt.cpan.org>
CC: "AdminCc of cpan Ticket #3275": ;
Subject: Re: [cpan #3275] [perl5.8.0/win32] (ExtUtils::Install) NMAKE : fatal error U1095: expanded command line '< a lot of filenames>' too long
RT-Send-Cc:
On Sun, Aug 17, 2003 at 06:19:37PM -0400, Guest via RT wrote: Show quoted text
> This issue has come up with big distributions like XML::Schema (http://rt.cpan.org/NoAuth/Bug.html?id=3274) or Regexp::Common (http://rt.cpan.org/NoAuth/Bug.html?id=3272). > > I post this here because i suspect the problem anywhere in the ExtUtils::MakeMaker packages. The dists above installed well under my 5.6.1 enviroment (but i cannot remember which ExtUtils::MakeMaker version it was).
<snip> Show quoted text
> ib\lib\XML\Schema\Particle.pm lib/XML/Schema/Annotation.pm blib\lib\XML\Schema\Annotation.pm' too long
<snip> Show quoted text
> Microsoft Windows XP [Version 5.1.2600]
The issue lies in MakeMaker's idea of how long a command can be in Windows. Currently the values are set at 2500 for Win9X and 31K for everything else. These values are based on experimentation with Win98 and Windows2000 respectively. Since XP falls into "everything else" XP can't handle a 31K long command line. Since I don't know where to find this information, it has to be derived experimentally. I don't have an XP machine to experiment with. Could you download and install ExtUtils::MakeMaker 6.15 and play with the value in ExtUtils::MM_Win32::max_exec_len() until you get the highest number which will work? -- Michael G Schwern schwern@pobox.com http://www.pobox.com/~schwern/ I need a SHOWER a BURGER and some ROBOTS, STAT! -- http://www.angryflower.com/allrigh.gif
Did 6.16 or 6.17 solve the problem?
Well, I tried it and it works.