*** setup configure Creating dist/setup (and its parents) /usr/local/bin/ghc --make Setup.hs -o dist/setup/setup -odir dist/setup -hidir dist/setup [1 of 1] Compiling Main ( Setup.hs, dist/setup/Main.o ) Linking dist/setup/setup ... dist/setup/setup configure --ghc --user --prefix=/usr/local/tmp/archive/install --haddock-option=--use-contents=http://hackage.haskell.org/cgi-bin/hackage-scripts/package/Win32-2.1 --verbose Configuring Win32-2.1... Warning: No 'build-type' specified. If you do not need a custom Setup.hs or ./configure script then use 'build-type: Simple'. Warning: 'include-dirs: include' directory does not exist. Dependency base-any: using base-3.0.1.0 Using Cabal-1.4.0.1 compiled by ghc-6.8 Using compiler: ghc-6.8.2 Using install prefix: /usr/local/tmp/archive/install Binaries installed in: /usr/local/tmp/archive/install/bin Libraries installed in: /usr/local/tmp/archive/install/lib/Win32-2.1/ghc-6.8.2 Private binaries installed in: /usr/local/tmp/archive/install/libexec Data files installed in: /usr/local/tmp/archive/install/share/Win32-2.1 Documentation installed in: /usr/local/tmp/archive/install/share/doc/Win32-2.1 Using alex version 2.0.1 found on system at: /usr/local/bin/alex Using ar found on system at: /usr/bin/ar Using c2hs version 0.15.1 found on system at: /usr/local/bin/c2hs Using cpphs version 0.7 found on system at: /usr/bin/cpphs Using ffihugs found on system at: /usr/local/bin/ffihugs Using ghc version 6.8.2 found on system at: /usr/local/bin/ghc Using ghc-pkg version 6.8.2 found on system at: /usr/local/bin/ghc-pkg No greencard found Using haddock version 2.1.0 found on system at: /usr/local/bin/haddock Using happy version 1.17 found on system at: /usr/local/bin/happy No hmake found Using hsc2hs version 0.66 found on system at: /usr/local/bin/hsc2hs Using hscolour version 1.9 found on system at: /usr/local/bin/HsColour Using hugs found on system at: /usr/local/bin/hugs No jhc found Using ld found on system at: /usr/bin/ld No nhc98 found Using pkg-config version 0.22 found on system at: /usr/bin/pkg-config Using ranlib found on system at: /usr/bin/ranlib Using strip found on system at: /usr/bin/strip Using tar found on system at: /bin/tar *** setup build dist/setup/setup build --verbose Creating dist/build (and its parents) Creating dist/build/autogen (and its parents) Preprocessing library Win32-2.1... Creating dist/build/Graphics/Win32/GDI (and its parents) /usr/local/bin/hsc2hs --cc=/usr/local/bin/ghc --ld=/usr/local/bin/ghc --cflag=-optc-DUNICODE --cflag=-package --cflag=base-3.0.1.0 --cflag=-Iinclude --lflag=-optl-luser32 --lflag=-optl-lgdi32 --lflag=-optl-lwinmm --lflag=-optl-lkernel32 --lflag=-optl-ladvapi32 -o dist/build/Graphics/Win32/GDI/Bitmap.hs Graphics/Win32/GDI/Bitmap.hsc Bitmap.hsc:88:22: error: Win32Aux.h: No such file or directory Bitmap.hsc:89:21: error: windows.h: No such file or directory Bitmap.hsc: In function 'main': Bitmap.hsc:147:0: error: 'SRCCOPY' undeclared (first use in this function) Bitmap.hsc:147:0: error: (Each undeclared identifier is reported only once Bitmap.hsc:147:0: error: for each function it appears in.) Bitmap.hsc:150:0: error: 'SRCPAINT' undeclared (first use in this function) Bitmap.hsc:153:0: error: 'SRCAND' undeclared (first use in this function) Bitmap.hsc:156:0: error: 'SRCINVERT' undeclared (first use in this function) Bitmap.hsc:159:0: error: 'SRCERASE' undeclared (first use in this function) Bitmap.hsc:162:0: error: 'NOTSRCCOPY' undeclared (first use in this function) Bitmap.hsc:165:0: error: 'NOTSRCERASE' undeclared (first use in this function) Bitmap.hsc:168:0: error: 'MERGECOPY' undeclared (first use in this function) Bitmap.hsc:171:0: error: 'MERGEPAINT' undeclared (first use in this function) Bitmap.hsc:174:0: error: 'PATCOPY' undeclared (first use in this function) Bitmap.hsc:177:0: error: 'PATPAINT' undeclared (first use in this function) Bitmap.hsc:180:0: error: 'PATINVERT' undeclared (first use in this function) Bitmap.hsc:183:0: error: 'DSTINVERT' undeclared (first use in this function) Bitmap.hsc:186:0: error: 'BLACKNESS' undeclared (first use in this function) Bitmap.hsc:189:0: error: 'WHITENESS' undeclared (first use in this function) Bitmap.hsc:181:0: error: expected specifier-qualifier-list before 'BITMAP' Bitmap.hsc:181:0: error: expected ';' before ')' token Bitmap.hsc:181:0: error: expected statement before ')' token Bitmap.hsc:182:0: error: expected specifier-qualifier-list before 'BITMAP' Bitmap.hsc:182:0: error: expected ';' before ')' token Bitmap.hsc:182:0: error: expected statement before ')' token Bitmap.hsc:183:0: error: expected specifier-qualifier-list before 'BITMAP' Bitmap.hsc:183:0: error: expected ';' before ')' token Bitmap.hsc:183:0: error: expected statement before ')' token Bitmap.hsc:184:0: error: expected specifier-qualifier-list before 'BITMAP' Bitmap.hsc:184:0: error: expected ';' before ')' token Bitmap.hsc:184:0: error: expected statement before ')' token Bitmap.hsc:185:0: error: expected specifier-qualifier-list before 'BITMAP' Bitmap.hsc:185:0: error: expected ';' before ')' token Bitmap.hsc:185:0: error: expected statement before ')' token Bitmap.hsc:186:0: error: expected specifier-qualifier-list before 'BITMAP' Bitmap.hsc:186:0: error: expected ';' before ')' token Bitmap.hsc:186:0: error: expected statement before ')' token Bitmap.hsc:187:0: error: expected specifier-qualifier-list before 'BITMAP' Bitmap.hsc:187:0: error: expected ';' before ')' token Bitmap.hsc:187:0: error: expected statement before ')' token Bitmap.hsc:192:0: error: expected specifier-qualifier-list before 'BITMAP' Bitmap.hsc:192:0: error: expected ';' before ')' token Bitmap.hsc:192:0: error: expected statement before ')' token Bitmap.hsc:193:0: error: expected specifier-qualifier-list before 'BITMAP' Bitmap.hsc:193:0: error: expected ';' before ')' token Bitmap.hsc:193:0: error: expected statement before ')' token Bitmap.hsc:194:0: error: expected specifier-qualifier-list before 'BITMAP' Bitmap.hsc:194:0: error: expected ';' before ')' token Bitmap.hsc:194:0: error: expected statement before ')' token Bitmap.hsc:195:0: error: expected specifier-qualifier-list before 'BITMAP' Bitmap.hsc:195:0: error: expected ';' before ')' token Bitmap.hsc:195:0: error: expected statement before ')' token Bitmap.hsc:196:0: error: expected specifier-qualifier-list before 'BITMAP' Bitmap.hsc:196:0: error: expected ';' before ')' token Bitmap.hsc:196:0: error: expected statement before ')' token Bitmap.hsc:197:0: error: expected specifier-qualifier-list before 'BITMAP' Bitmap.hsc:197:0: error: expected ';' before ')' token Bitmap.hsc:197:0: error: expected statement before ')' token Bitmap.hsc:198:0: error: expected specifier-qualifier-list before 'BITMAP' Bitmap.hsc:198:0: error: expected ';' before ')' token Bitmap.hsc:198:0: error: expected statement before ')' token Bitmap.hsc:275:0: error: 'BI_RGB' undeclared (first use in this function) Bitmap.hsc:278:0: error: 'BI_RLE8' undeclared (first use in this function) Bitmap.hsc:281:0: error: 'BI_RLE4' undeclared (first use in this function) Bitmap.hsc:284:0: error: 'BI_BITFIELDS' undeclared (first use in this function) Bitmap.hsc:284:0: error: 'DIB_PAL_COLORS' undeclared (first use in this function) Bitmap.hsc:287:0: error: 'DIB_RGB_COLORS' undeclared (first use in this function) Bitmap.hsc:315:0: error: expected specifier-qualifier-list before 'BITMAPINFOHEADER' Bitmap.hsc:315:0: error: expected ';' before ')' token Bitmap.hsc:315:0: error: expected statement before ')' token Bitmap.hsc:316:0: error: expected specifier-qualifier-list before 'BITMAPINFOHEADER' Bitmap.hsc:316:0: error: expected ';' before ')' token Bitmap.hsc:316:0: error: expected statement before ')' token Bitmap.hsc:317:0: error: expected specifier-qualifier-list before 'BITMAPINFOHEADER' Bitmap.hsc:317:0: error: expected ';' before ')' token Bitmap.hsc:317:0: error: expected statement before ')' token Bitmap.hsc:318:0: error: expected specifier-qualifier-list before 'BITMAPINFOHEADER' Bitmap.hsc:318:0: error: expected ';' before ')' token Bitmap.hsc:318:0: error: expected statement before ')' token Bitmap.hsc:319:0: error: expected specifier-qualifier-list before 'BITMAPINFOHEADER' Bitmap.hsc:319:0: error: expected ';' before ')' token Bitmap.hsc:319:0: error: expected statement before ')' token Bitmap.hsc:320:0: error: expected specifier-qualifier-list before 'BITMAPINFOHEADER' Bitmap.hsc:320:0: error: expected ';' before ')' token Bitmap.hsc:320:0: error: expected statement before ')' token Bitmap.hsc:321:0: error: expected specifier-qualifier-list before 'BITMAPINFOHEADER' Bitmap.hsc:321:0: error: expected ';' before ')' token Bitmap.hsc:321:0: error: expected statement before ')' token Bitmap.hsc:322:0: error: expected specifier-qualifier-list before 'BITMAPINFOHEADER' Bitmap.hsc:322:0: error: expected ';' before ')' token Bitmap.hsc:322:0: error: expected statement before ')' token Bitmap.hsc:323:0: error: expected specifier-qualifier-list before 'BITMAPINFOHEADER' Bitmap.hsc:323:0: error: expected ';' before ')' token Bitmap.hsc:323:0: error: expected statement before ')' token Bitmap.hsc:324:0: error: expected specifier-qualifier-list before 'BITMAPINFOHEADER' Bitmap.hsc:324:0: error: expected ';' before ')' token Bitmap.hsc:324:0: error: expected statement before ')' token Bitmap.hsc:325:0: error: expected specifier-qualifier-list before 'BITMAPINFOHEADER' Bitmap.hsc:325:0: error: expected ';' before ')' token Bitmap.hsc:325:0: error: expected statement before ')' token Bitmap.hsc:348:0: error: expected specifier-qualifier-list before 'BITMAPFILEHEADER' Bitmap.hsc:348:0: error: expected ';' before ')' token Bitmap.hsc:348:0: error: expected statement before ')' token Bitmap.hsc:349:0: error: expected specifier-qualifier-list before 'BITMAPFILEHEADER' Bitmap.hsc:349:0: error: expected ';' before ')' token Bitmap.hsc:349:0: error: expected statement before ')' token Bitmap.hsc:350:0: error: expected specifier-qualifier-list before 'BITMAPFILEHEADER' Bitmap.hsc:350:0: error: expected ';' before ')' token Bitmap.hsc:350:0: error: expected statement before ')' token Bitmap.hsc:351:0: error: expected specifier-qualifier-list before 'BITMAPFILEHEADER' Bitmap.hsc:351:0: error: expected ';' before ')' token Bitmap.hsc:351:0: error: expected statement before ')' token Bitmap.hsc:352:0: error: expected specifier-qualifier-list before 'BITMAPFILEHEADER' Bitmap.hsc:352:0: error: expected ';' before ')' token Bitmap.hsc:352:0: error: expected statement before ')' token Bitmap.hsc:361:0: error: 'BITMAP' undeclared (first use in this function) Bitmap.hsc:363:0: error: 'BITMAPINFO' undeclared (first use in this function) Bitmap.hsc:365:0: error: 'BITMAPINFOHEADER' undeclared (first use in this function) Bitmap.hsc:367:0: error: 'BITMAPFILEHEADER' undeclared (first use in this function) Bitmap.hsc:390:0: error: 'CBM_INIT' undeclared (first use in this function) compiling dist/build/Graphics/Win32/GDI/Bitmap_hsc_make.c failed command was: /usr/local/bin/ghc -c -optc-DUNICODE -package base-3.0.1.0 -Iinclude dist/build/Graphics/Win32/GDI/Bitmap_hsc_make.c -o dist/build/Graphics/Win32/GDI/Bitmap_hsc_make.o