Eric Wilhelm wrote:
> I think CPAN has a bug which causes it to pass make_arg to ./Build 
> install.  (I seem to remember having some grief with -j recently.)

Further studying makes it obvious that, since this box doesn't have
Module::Build installed, CPAN is using the compatibility Makefile.PL, which is
what is emitting the above message.  So it isn't anything to do with CPAN, as I
can recreate the same bad behavior outside of CPAN:

$ make install INSTALLDIRS=vendor DESTDIR=/tmp/mbtest
/usr/bin/perl Build --makefile_env_macros 1 install
Odd number of elements in hash assignment at lib/Module/Build/Base.pm line 1693.
Installing /tmp/mbtest/usr/share/man/man1/config_data.1
Installing /tmp/mbtest/usr/lib/perl5/site_perl/5.8.8/Module/Build.pm
Installing /tmp/mbtest/usr/lib/perl5/site_perl/5.8.8/Module/Build/Base.pm
Installing /tmp/mbtest/usr/lib/perl5/site_perl/5.8.8/Module/Build/Dumper.pm
Installing /tmp/mbtest/usr/lib/perl5/site_perl/5.8.8/Module/Build/ConfigData.pm
Installing /tmp/mbtest/usr/lib/perl5/site_perl/5.8.8/Module/Build/Authoring.pod
Installing /tmp/mbtest/usr/lib/perl5/site_perl/5.8.8/Module/Build/PodParser.pm
Installing /tmp/mbtest/usr/lib/perl5/site_perl/5.8.8/Module/Build/API.pod
Installing /tmp/mbtest/usr/lib/perl5/site_perl/5.8.8/Module/Build/ModuleInfo.pm
...

And indeed, it is the INSTALLDIRS=vendor that is the problem.  I'm running that
through a debugger now...

John

Reply via email to