Skip to content

Instantly share code, notes, and snippets.

@zzzzzzzzz
Created October 29, 2011 01:52
Show Gist options
  • Save zzzzzzzzz/1323982 to your computer and use it in GitHub Desktop.
Save zzzzzzzzz/1323982 to your computer and use it in GitHub Desktop.
Win32::GUI on Strawberry 5.12.2
Excerpt from README:
MinGW and ExtUtils::FakeConfig
perl -MConfig_m Makefile.PL
nmake
nmake test
nmake install <---------- Should be dmake here
Built this way the GUI.dll extension can be very large (~3MB). There is
a module in the build_tools directory that works with Config_m and
Extutils::FakeConfig to set the MinGW compiler flags more optimally. If
you want to try this, then replace the first command with:
perl -Ibuild_tools -MConfig_mO Makefile.PL
C:\Home\temp\test>cd Win32-GUI-1.06
C:\Home\temp\test\Win32-GUI-1.06>
C:\Home\temp\test\Win32-GUI-1.06>perl Makefile.PL
BUILDENV=mingw Used build environment is: MSWin32 and MinGW
NOTE: Makefile.PL will add the instruction to use the Resource Compiler to
your Makefile; if you don't want to compile resources with your extension,
call this script with this additional argument:
perl Makefile.PL USERESOURCE=0
Checking if your kit is complete...
Looks good
Win32::GUI::AxWindow can only be built using MSVC, not 'gcc',
as it depends on the Microsoft Active Template Library (ATL).
Win32::GUI::AxWindow will be skipped during the current build process.
Writing Makefile for Win32::GUI::BitmapInline
Writing MYMETA.yml and MYMETA.json
Writing Makefile for Win32::GUI::Constants - perfect.exe
Writing Makefile for Win32::GUI::Constants
Writing MYMETA.yml and MYMETA.json
At this time Win32::GUI::DIBitmap cannot be build using gcc.
Win32::GUI::DIBitmap will be skipped during the current build process.
Writing Makefile for Win32::GUI::DropFiles
Writing MYMETA.yml and MYMETA.json
Win32::GUI::Grid can only be built using MSVC, not 'gcc',
as it requires the MFC framework.
Win32::GUI::Grid will be skipped during the current build process.
Writing Makefile for Win32::GUI::ReleaseNotes
Writing MYMETA.yml and MYMETA.json
Writing Makefile for Win32::GUI::Scintilla
Writing MYMETA.yml and MYMETA.json
Writing Makefile for Win32::GUI
Writing MYMETA.yml and MYMETA.json
C:\Home\temp\test\Win32-GUI-1.06>
C:\Home\temp\test\Win32-GUI-1.06>
C:\Home\temp\test\Win32-GUI-1.06>dmake test
cp GridLayout.pm blib\lib\Win32/GUI/GridLayout.pm
cp GUI.pm blib\lib\Win32/GUI.pm
cp BitmapInline.pm ..\blib\lib\Win32\GUI\BitmapInline.pm
cp Tags.pm ..\blib\lib\Win32\GUI/Constants/Tags.pm
AutoSplitting ..\blib\lib\Win32\GUI/Constants/Tags.pm (..\blib\lib\auto\Win32\GU
I\Constants\Tags)
cp Constants.pm ..\blib\lib\Win32\GUI/Constants.pm
gcc -O -fno-builtin-log2 -c lookupa.c
gcc: CreateProcess: No such file or directory
dmake: Error code 129, while making 'lookupa.o'
dmake: Error code 255, while making 'subdirs'
dmake: Error code 255, while making 'subdirs'
C:\Home\temp\test\Win32-GUI-1.06>
<<<<<<< same with perl -Ibuild_tools -MConfig_mO Makefile.PL >>>>>>>>>>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment