in reply to Re: Funny-business with Win32 extension module build
in thread Funny-business with Win32 extension module build
pryrt wrote:
Given It's Tuesday, so it must be the day for Trouble With Cpan, I am not convinced you have your Strawberry Perl build environment setup correctly yet with the standard cpan client. When you say you ran the make step, to be clear, did you mean you used some other make like the cygwin make in the other conversation, or are you 100% certain you are using the gmake from Strawberry Perl? Instead of using the standard client, with Strawberry, I've always used cpanm , because it's always "just worked" for me -- the builds are reliable, and there are no extra steps needed.
I can assure you all that I have the right 'make' now, after the debacle with "It's Tuesday, ..." ;-). When I said the make step I was speaking generically, what I actually typed was gmake. And I went through my Config.pm for CPAN to see that the options were set right for portable Strawberry v5.40.2 on my USB drive.
But your instincts were working fine. I ignored the .bat file that comes with portable Strawberry after taking a brief glance at it, and what I hadn't fixed was $PATH. I was working in a cygwin bash shell in a terminal emulator instead of being dropped into a CMD shell, with appropriate shell variables set, by the bat file. Long story shortened: that was cygwin's gcc running into trouble, not Strawberry's.
Your reply really helped me out and I successfully built Win32::Exe, 100% tests ok, and I think I am going to be having some clear sailing now (at least until the next time I do something foolish).
Jun 05, 2025 at 00:56 UTCA just machine to make big decisions
Programmed by fellows (and gals) with compassion and vision
We'll be clean when their work is done
We'll be eternally free yes, and eternally young
Donald Fagen —> I.G.Y.
(Slightly modified for inclusiveness)
|
|---|