I had to make some adjustments to Makefile.PL.
Following are my notes and need some polishing.
1. 'DEFINE' => '-D_WIN32_IE=0x0300'
If that DEFINE does not exist, some control constant
will not be defined by the Win32 headers.
2. rename dibsect.cpp|h DibSect.cpp|h
Otherwise make won't find them - filenames are case
sensistive in Cygwin. These are just additional
renames to the ones already present in makefile.PL.
3. 'LIBS' =>
['-L/lib/gcc/i686-pc-cygwin/3.4.4
-L/usr/lib/w32api -lgdi32 -lstdc++'],
It is bad that above path includes the current gcc
version... libstdc++ is required because gcc is used
to compile c++ files. libgdi32 is required by
DibSect. Possibly a check whether the package w32api
is installed could be done: cygcheck -c w32api | grep
OK
Patch with above explained changes
was fixed in 1.54
was fixed in 1.54