in reply to Win32::OLE on cygwin64, can't make OLE.xs

First thing to try is not use cygwin
  • Comment on Re: Win32::OLE on cygwin64, can't make OLE.xs

Replies are listed 'Best First'.
Re^2: Win32::OLE on cygwin64, can't make OLE.xs ( Can't locate object method "new" via package "ExtUtils::ParseXS" at site\lib\ExtUtils\xsubpp line 51. )
by Anonymous Monk on Sep 21, 2018 at 23:39 UTC

    Well, I try to see if I can build it on win32 I get

    Can't locate object method "new" via package "ExtUtils::ParseXS" at si +te\lib\ExtUtils\xsubpp line 51.

    Which is weird, but turns out its same Makefile.PL issue as Re^3: Building Win32::GuiTest for perl 5.14 or higher

    sub MY::xs_c { return ' .xs.cpp: $(PERLRUNINST) $(XSUBPP) $(XSPROTOARG) $(XSUBPPARGS) $*.xs >xstmp. +c && $(MV) xstmp.c $*.cpp '; }

    After that it builds

    So there is your path gargle, skip cygwin :) or complain rt://Win32-OLE