Menu

#5 build of 1.50.5. under cygwin fails

closed-fixed
nobody
None
5
2008-10-04
2006-03-09
No

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

Discussion

  • Michael Bunk

    Michael Bunk - 2006-04-20

    Patch with above explained changes

     
  • Dmitry Karasik

    Dmitry Karasik - 2008-10-04

    was fixed in 1.54

     
  • Dmitry Karasik

    Dmitry Karasik - 2008-10-04
    • status: open --> open-fixed
     
  • Dmitry Karasik

    Dmitry Karasik - 2008-10-04

    was fixed in 1.54

     
  • Dmitry Karasik

    Dmitry Karasik - 2008-10-04
    • status: open-fixed --> closed-fixed