Beefy Boxes and Bandwidth Generously Provided by pair Networks
Keep It Simple, Stupid
 
PerlMonks  

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

by gargle (Chaplain)
on Sep 21, 2018 at 09:05 UTC ( [id://1222788]=perlquestion: print w/replies, xml ) Need Help??

gargle has asked for the wisdom of the Perl Monks concerning the following question:

Fellow monks,

I can't install Win32::OLE 0.1712 on my cygwin64. I already changed stricmp into strcasecmp by means of look Win32::OLE, but make Win32::OLE now gives me an unexpected error:

OLE.xs:925:17: fout: formaat is geen stringconstante en er zijn geen f +ormaat-argumenten [-Werror=format-security] warn(SvPVX(sv));

As my cygwin64 is in dutch, it reads: error: format is no string constant and there are no format arguments.

Any ideas on how to proceed? Do I log a bug in cpan for this module or is there a depency on some sort of cygwin library that I am missing?

--
if ( 1 ) { $postman->ring() for (1..2); }

Replies are listed 'Best First'.
Re: Win32::OLE on cygwin64, can't make OLE.xs
by Anonymous Monk on Sep 21, 2018 at 22:25 UTC
    First thing to try is not use cygwin

      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

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: perlquestion [id://1222788]
Approved by marto
Front-paged by Corion
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others lurking in the Monastery: (2)
As of 2024-04-20 11:18 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found