[rt.cpan.org #74780] Make failure for Win32::Pipe on Win XP - Perl 5.14.2
[email protected] ("Manoj Kumar via RT")
| Newsgroups | perl.libwin32 |
|---|---|
| Message-ID | <[email protected]> |
Wed Feb 08 10:11:05 2012: Request 74780 was acted upon. Transaction: Ticket created by [email protected] Queue: Win32-Pipe Subject: Make failure for Win32::Pipe on Win XP - Perl 5.14.2 Broken in: (no value) Severity: (no value) Owner: Nobody Requestors: [email protected] Status: new Ticket <URL: https://rt.cpan.org/Ticket/Display.html?id=74780 > Hi, I am trying to install Win32::Pipe using CPAN. The installation fails during make step with following message - ----- Microsoft (R) Program Maintenance Utility Version 8.00.50727.762 Copyright (C) Microsoft Corporation. All rights reserved. cp Pipe.pm blib\lib\Win32\Pipe.pm cl -c -GX -nologo -GF -W3 -MD -Zi -DNDEBUG -O1 -DWIN32 -D_CONSOLE -DNO_STRICT -D_CRT_SECURE_NO_DEPRECATE -D_CRT_NONSTDC_NO_DEPRECATE -DPERL_TEXTMOD E_SCRIPTS -DPERL_IMPLICIT_CONTEXT -DPERL_IMPLICIT_SYS -DUSE_PERLIO -MD -Zi -DNDEBUG -O1 -DVERSION=\"0.024\" -DXS_VERSION=\"0.024\" "-ID:\PROGRAMS\perl\5 .14.2\lib\CORE" Cpipe.cpp cl : Command line warning D9035 : option 'GX' has been deprecated and will be removed in a future release cl : Command line warning D9036 : use 'EHsc' instead of 'GX' Cpipe.cpp D:\PROGRAMS\perl\5.14.2\bin\perl.exe -ID:\PROGRAMS\perl\5.14.2\lib -ID:\PROGRAMS\perl\5.14.2\lib D:\PROGRAMS\perl\site\5.14.2\lib\ExtUtils\xsubpp -t ypemap D:\PROGRAMS\perl\5.14.2\lib\ExtUtils\typemap Pipe.xs >xstmp.c && D:\PROGRAMS\perl\5.14.2\bin\perl.exe -MExtUtils::Command -e mv -- xstmp.c Pipe.cpp Failed to load or import from ExtUtils::ParseXS (version 2.2210). Please check that ExtUtils::ParseXS is installed correctly and that the newest version will be found in your @INC path: "report_error_count" is not exported by the ExtUtils::ParseXS module Can't continue after import errors at D:\PROGRAMS\perl\site\5.14.2\lib\ExtUtils\xsubpp line 6 NMAKE : fatal error U1077: 'D:\PROGRAMS\perl\5.14.2\bin\perl.exe' : return code '0xff' Stop. (C:\Programs\Microsoft_Visual_Studio_8\VC\BIN\nmake.EXE exited with 512) ----- The problem comes from Makefile.PL. The patch for correct Makefile.PL is attached. Regards,
Win32_Pipe_0_024_Makefile.patch
(application/octet-stream, 382 B)
--- Makefile_old.PL 2008-02-23 00:43:42.000000000 +0100
+++ Makefile.PL 2012-02-08 15:51:42.401875000 +0100
@@ -20,6 +20,6 @@
sub MY::xs_c {
'
.xs.cpp:
- $(PERL) -I$(PERL_ARCHLIB) -I$(PERL_LIB) $(XSUBPP) $(XSPROTOARG) $(XSUBPPARGS) $*.xs >xstmp.c && $(MV) xstmp.c $*.cpp
+ $(PERL) $(XSUBPP) $(XSPROTOARG) $(XSUBPPARGS) $*.xs >xstmp.c && $(MV) xstmp.c $*.cpp
';
}