in reply to Funny-business with Win32 extension module build
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.
To give more details, I will use the cpanm-enabled version of the "standard incantation":
cpanm --look Win32::Exe perl Makefile.PL gmake gmake test
The --look puts me into the download-and-build directory, so I can manually run the other steps. Otherwise, cpanm Win32::Exe would have just built and installed the module for me, without any difficulty, and without having to remember which make/dmake/gmake to use (there was some confusion briefly when Strawberry switched from dmake to gmake, but it's been highly consistent since then, and I doubt that will change again anytime soon), or any such thing.
That incantation builds and tests just fine for me, as seen in the spoiler below. Since you chose not to share the other information from your build, which may have given more clues as to your problem, I will just say "make sure your build environment is right and you are using the right executables; especially check to make sure that you are running the Strawberry Perl versions of various executables rather than something in your cygwin setup; where cpan and where cpanm and where gmake and the like are your friend."
|
---|
Replies are listed 'Best First'. | |
---|---|
Re^2: Funny-business with Win32 extension module build
by Intrepid (Curate) on Jun 05, 2025 at 00:57 UTC |