in reply to Re^7: Perl XS binding to a struct with an array of chars*
in thread Perl XS binding to a struct with an array of chars*

I looked at tester matrix: 5.32.1 Win32 and I don't see any red flags.

The main CPAN Inline::C page lists:
- ExtUtils::MakeMaker
- File::Spec
- Inline
- Parse::RecDescent
- Pegex
as dependencies. I would suggest making sure each of those are installed by doing them one at a time. Could be some dependency is missing and build of Inline::C doesn't quite handle the error case quite right? Dunno.

  • Comment on Re^8: Perl XS binding to a struct with an array of chars*

Replies are listed 'Best First'.
Re^9: Perl XS binding to a struct with an array of chars*
by syphilis (Archbishop) on Nov 24, 2022 at 23:47 UTC
    The main CPAN Inline::C page lists ... as dependencies

    There's a module missing from that list. Win32::Mutex, which is part of the Win32::IPC distro, is also a dependency (on Windows only, of course).
    This bug in Inline::C is not normally an issue on Strawberry Perl because that dependency usually gets picked up anyway.
    But you can't be certain if/when/how it will manifest itself and, if it bites, then you just have to cpanm -i Win32::IPC.

    Cheers,
    Rob