Skip Menu |

This queue is for tickets about the Class-C3-Adopt-NEXT CPAN distribution.

Report information
The Basics
Id: 41817
Status: resolved
Priority: 0/
Queue: Class-C3-Adopt-NEXT

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

Bug Information
Severity: (no value)
Broken in: 0.04
Fixed in: (no value)



Subject: install problem on Win32 / nmake
Hi, Automatic installation on Win32 failed. Reason : the Makefile.PL generates the following line in Makefile : test_dynamic :: pure_all $(FULLPERLRUN) "-Iinc" "-MModule::Install::ExtraTests" "-e" "Module::Install::ExtraTests::__harness('Test::Harness', (exists \$$ENV{AUTHOR_TESTING} ? \$$ENV{AUTHOR_TESTING} : 0), 'xt/author', '', '', $(TEST_VERBOSE), '$(INST_LIB)', '$(INST_ARCHLIB)')" $(TEST_FILES) which fails under win32 nmake : nmake test Microsoft (R) Program Maintenance Utility Version 1.50 Copyright (c) Microsoft Corp 1988-94. All rights reserved. D:\Perl\bin\perl.exe "-Iinc" "-MModule::Install::ExtraTests" "-e" "Module::Install::ExtraTests::__harness('Test::Harness', (exists \$ENV{AUTHOR_TESTING} ? \$ENV{AUTHOR_TESTING} : 0), 'xt/author', '', '', 0, 'blib\lib', 'blib\arch')" t/*.t exists argument is not a HASH or ARRAY element at -e line 1. NMAKE : fatal error U1077: 'C:\WINDOWS\system32\cmd.exe' : return code '0x9' I had to manually fix the Makefile, removing the backslashes before $$ENV, and then everything runs smoothly. $(FULLPERLRUN) "-Iinc" "-MModule::Install::ExtraTests" "-e" "Module::Install::ExtraTests::__harness('Test::Harness', (exists $$ENV{AUTHOR_TESTING} ? $$ENV{AUTHOR_TESTING} : 0), 'xt/author', '', '', $(TEST_VERBOSE), '$(INST_LIB)', '$(INST_ARCHLIB)')" $(TEST_FILES)
This was a problem I introduced in Module::Install::ExtraTests 0.005 and fixed in 0.006. I just uploaded Class::C3::Adopt::NEXT 0.05 with MI::ExtraTests upgraded to 0.006. Thanks for your report!