Hi Mauricio, 2009/12/5 Maurício CA <mauricio.antu...@gmail.com>: > > Problem is: I don't have a Windows machine where I could test > this. So, if you need USB in windows, please keep in touch. I > wouldn't ask you to write any code, but I need to know what builds > and what doesn't. >
I don't need usb and I can't say I'm a windows user, but I'd be glad to test it since I have it on a virtual machine. In my case, installation fails on "bindings-common". Is there something I need to do first? I do have mingw32 and msys installed, if that's necessary. Log attached. Take care, Paulo
c:\tools\haskell-platform\2009.2.0.2\bin\ghc.exe --numeric-version looking for package tool: ghc-pkg near compiler in c:\tools\haskell-platform\2009.2.0.2\bin found package tool in c:\tools\haskell-platform\2009.2.0.2\bin\ghc-pkg.exe c:\tools\haskell-platform\2009.2.0.2\bin\ghc-pkg.exe --version c:\tools\haskell-platform\2009.2.0.2\bin\ghc.exe --supported-languages Reading installed packages... c:\tools\haskell-platform\2009.2.0.2\bin\ghc-pkg.exe dump --global Reading available packages... Resolving dependencies... selecting usb-0.2.0.1 (hackage) and discarding bindings-libusb-0.0.1, 0.0.2, 0.0.3, 0.0.4, 0.0.5, 0.0.6, 0.0.7, 1.0, 1.1, 1.2, 1.4, text-0.1, 0.2, 0.3, 0.4, usb-0.1, 0.1.0.1 and 0.2 selecting bindings-libusb-1.3 (hackage) and discarding bindings-common-0.1, 0.1.1, 0.1.2, 0.1.3, 0.1.4, 0.2, 0.2.1, 0.2.2, 0.2.3, 0.2.4, 0.2.5, 0.2.6, 1.0, 1.1, 1.2, bindings-posix-0.0.1, 0.0.2, 1.0, 1.0.1 and 1.1 selecting bindings-posix-1.2 (hackage) selecting text-0.5 (installed or hackage) selecting ghc-prim-0.1.0.0 (installed) selecting rts-1.0 (installed) selecting bytestring-0.9.1.4 (installed or hackage) and discarding bytestring-0.9, 0.9.0.1, 0.9.0.2, 0.9.0.3, 0.9.0.4, 0.9.1.0, 0.9.1.1, 0.9.1.2, 0.9.1.3 and 0.9.1.5 selecting bindings-common-1.3.4 (hackage) and discarding bindings-common-1.3, 1.3.1, 1.3.2 and 1.3.3 selecting base-3.0.3.1 (installed) and 4.1.0.0 (installed) and discarding syb-0.1.0.0 and 0.1.0.1 selecting integer-0.1.0.1 (installed) selecting syb-0.1.0.1 (installed) In order, the following would be installed: bindings-common-1.3.4 (new package) bindings-posix-1.2 (new package) bindings-libusb-1.3 (new package) usb-0.2.0.1 (new package) bindings-common-1.3.4 has already been downloaded. Extracting C:\Documents and Settings\tanimoto\Application Data\cabal\packages\hackage.haskell.org\bindings-common\1.3.4\bindings-common-1.3.4.tar.gz to C:\DOCUME~1\tanimoto\LOCALS~1\Temp\bindings-common-1.3.43288... Configuring bindings-common-1.3.4... Dependency base >=3 && <5 && ==3.0.3.1: using base-3.0.3.1 Using Cabal-1.6.0.3 compiled by ghc-6.10 Using compiler: ghc-6.10.4 Using install prefix: C:\Program Files\Haskell Binaries installed in: C:\Program Files\Haskell\bin Libraries installed in: C:\Program Files\Haskell\bindings-common-1.3.4\ghc-6.10.4 Private binaries installed in: C:\Program Files\Haskell\bindings-common-1.3.4 Data files installed in: C:\Program Files\Haskell\bindings-common-1.3.4 Documentation installed in: C:\Program Files\Haskell\doc\bindings-common-1.3.4 Using alex version 2.3.1 found on system at: c:\tools\haskell-platform\2009.2.0.2\extralibs\bin\alex.exe Using ar found on system at: c:\MinGW\bin\ar.exe No c2hs found No cpphs found No ffihugs found Using gcc version 3.4.5 found on system at: c:\tools\haskell-platform\2009.2.0.2\gcc.exe Using ghc version 6.10.4 found on system at: c:\tools\haskell-platform\2009.2.0.2\bin\ghc.exe Using ghc-pkg version 6.10.4 found on system at: c:\tools\haskell-platform\2009.2.0.2\bin\ghc-pkg.exe No greencard found Using haddock version 2.4.2 found on system at: c:\tools\haskell-platform\2009.2.0.2\bin\haddock.exe Using happy version 1.18.4 found on system at: c:\tools\haskell-platform\2009.2.0.2\extralibs\bin\happy.exe No hmake found Using hsc2hs version 0.67 found on system at: c:\tools\haskell-platform\2009.2.0.2\bin\hsc2hs.exe No hscolour found No hugs found No jhc found Using ld found on system at: c:\tools\haskell-platform\2009.2.0.2\gcc-lib\ld.exe No nhc98 found Using pkg-config version 0.23 found on system at: c:\tools\gtk2hs\0.10.1\bin\pkg-config.exe Using ranlib found on system at: c:\MinGW\bin\ranlib.exe Using strip found on system at: c:\MinGW\bin\strip.exe Using tar found on system at: C:\msys\1.0\bin\tar.exe c:\tools\haskell-platform\2009.2.0.2\gcc.exe -Bc:\tools\haskell-platform\2009.2.0.2\gcc-lib -Ic:\tools\haskell-platform\2009.2.0.2\include\mingw C:\DOCUME~1\tanimoto\LOCALS~1\Temp\3288.c -o C:\DOCUME~1\tanimoto\LOCALS~1\Temp\3288 -Bc:\tools\haskell-platform\2009.2.0.2\gcc-lib -Ic:\tools\haskell-platform\2009.2.0.2\include\mingw -D__GLASGOW_HASKELL__=610 -Isrc -I. -D_ISOC99_SOURCE -Ic:\tools\haskell-platform\2009.2.0.2\base-4.1.0.0\include -Ic:\tools\haskell-platform\2009.2.0.2/include Creating dist\build (and its parents) Creating dist\build\autogen (and its parents) Preprocessing library bindings-common-1.3.4... Creating dist\build\Bindings\C (and its parents) c:\tools\haskell-platform\2009.2.0.2\bin\hsc2hs.exe --cc=c:\tools\haskell-platform\2009.2.0.2\gcc.exe --ld=c:\tools\haskell-platform\2009.2.0.2\gcc.exe --cflag=-Bc:\tools\haskell-platform\2009.2.0.2\gcc-lib --cflag=-Ic:\tools\haskell-platform\2009.2.0.2\include\mingw --lflag=-Bc:\tools\haskell-platform\2009.2.0.2\gcc-lib --lflag=-Ic:\tools\haskell-platform\2009.2.0.2\include\mingw --cflag=-D__GLASGOW_HASKELL__=610 --cflag=-Isrc --cflag=-D_ISOC99_SOURCE --cflag=-Ic:\tools\haskell-platform\2009.2.0.2\base-4.1.0.0\include --cflag=-Ic:\tools\haskell-platform\2009.2.0.2/include --lflag=-Lc:\tools\haskell-platform\2009.2.0.2\base-3.0.3.1 --lflag=-Lc:\tools\haskell-platform\2009.2.0.2\syb-0.1.0.1 --lflag=-Lc:\tools\haskell-platform\2009.2.0.2\base-4.1.0.0 --lflag=-lwsock32 --lflag=-luser32 --lflag=-lshell32 --lflag=-Lc:\tools\haskell-platform\2009.2.0.2\integer-0.1.0.1 --lflag=-Lc:\tools\haskell-platform\2009.2.0.2\ghc-prim-0.1.0.0 --lflag=-Lc:\tools\haskell-platform\2009.2.0.2 --lflag=-Lc:\tools\haskell-platform\2009.2.0.2/gcc-lib --lflag=-lm --lflag=-lffi --lflag=-lgmp --lflag=-lwsock32 -o dist\build\Bindings\C\Ctype.hs src\Bindings\C\Ctype.hsc Creating dist\build\Bindings\C (and its parents) c:\tools\haskell-platform\2009.2.0.2\bin\hsc2hs.exe --cc=c:\tools\haskell-platform\2009.2.0.2\gcc.exe --ld=c:\tools\haskell-platform\2009.2.0.2\gcc.exe --cflag=-Bc:\tools\haskell-platform\2009.2.0.2\gcc-lib --cflag=-Ic:\tools\haskell-platform\2009.2.0.2\include\mingw --lflag=-Bc:\tools\haskell-platform\2009.2.0.2\gcc-lib --lflag=-Ic:\tools\haskell-platform\2009.2.0.2\include\mingw --cflag=-D__GLASGOW_HASKELL__=610 --cflag=-Isrc --cflag=-D_ISOC99_SOURCE --cflag=-Ic:\tools\haskell-platform\2009.2.0.2\base-4.1.0.0\include --cflag=-Ic:\tools\haskell-platform\2009.2.0.2/include --lflag=-Lc:\tools\haskell-platform\2009.2.0.2\base-3.0.3.1 --lflag=-Lc:\tools\haskell-platform\2009.2.0.2\syb-0.1.0.1 --lflag=-Lc:\tools\haskell-platform\2009.2.0.2\base-4.1.0.0 --lflag=-lwsock32 --lflag=-luser32 --lflag=-lshell32 --lflag=-Lc:\tools\haskell-platform\2009.2.0.2\integer-0.1.0.1 --lflag=-Lc:\tools\haskell-platform\2009.2.0.2\ghc-prim-0.1.0.0 --lflag=-Lc:\tools\haskell-platform\2009.2.0.2 --lflag=-Lc:\tools\haskell-platform\2009.2.0.2/gcc-lib --lflag=-lm --lflag=-lffi --lflag=-lgmp --lflag=-lwsock32 -o dist\build\Bindings\C\Errno.hs src\Bindings\C\Errno.hsc Creating dist\build\Bindings\C (and its parents) c:\tools\haskell-platform\2009.2.0.2\bin\hsc2hs.exe --cc=c:\tools\haskell-platform\2009.2.0.2\gcc.exe --ld=c:\tools\haskell-platform\2009.2.0.2\gcc.exe --cflag=-Bc:\tools\haskell-platform\2009.2.0.2\gcc-lib --cflag=-Ic:\tools\haskell-platform\2009.2.0.2\include\mingw --lflag=-Bc:\tools\haskell-platform\2009.2.0.2\gcc-lib --lflag=-Ic:\tools\haskell-platform\2009.2.0.2\include\mingw --cflag=-D__GLASGOW_HASKELL__=610 --cflag=-Isrc --cflag=-D_ISOC99_SOURCE --cflag=-Ic:\tools\haskell-platform\2009.2.0.2\base-4.1.0.0\include --cflag=-Ic:\tools\haskell-platform\2009.2.0.2/include --lflag=-Lc:\tools\haskell-platform\2009.2.0.2\base-3.0.3.1 --lflag=-Lc:\tools\haskell-platform\2009.2.0.2\syb-0.1.0.1 --lflag=-Lc:\tools\haskell-platform\2009.2.0.2\base-4.1.0.0 --lflag=-lwsock32 --lflag=-luser32 --lflag=-lshell32 --lflag=-Lc:\tools\haskell-platform\2009.2.0.2\integer-0.1.0.1 --lflag=-Lc:\tools\haskell-platform\2009.2.0.2\ghc-prim-0.1.0.0 --lflag=-Lc:\tools\haskell-platform\2009.2.0.2 --lflag=-Lc:\tools\haskell-platform\2009.2.0.2/gcc-lib --lflag=-lm --lflag=-lffi --lflag=-lgmp --lflag=-lwsock32 -o dist\build\Bindings\C\Locale.hs src\Bindings\C\Locale.hsc src\Bindings\C\Locale.hsc: In function `main': src\Bindings\C\Locale.hsc:16: error: structure has no member named `int_n_cs_precedes' src\Bindings\C\Locale.hsc:17: error: structure has no member named `int_n_sep_by_space' src\Bindings\C\Locale.hsc:18: error: structure has no member named `int_n_sign_posn' src\Bindings\C\Locale.hsc:19: error: structure has no member named `int_p_cs_precedes' src\Bindings\C\Locale.hsc:20: error: structure has no member named `int_p_sep_by_space' src\Bindings\C\Locale.hsc:21: error: structure has no member named `int_p_sign_posn' compiling dist\build\Bindings\C\Locale_hsc_make.c failed command was: c:\tools\haskell-platform\2009.2.0.2\gcc.exe -c -Bc:\tools\haskell-platform\2009.2.0.2\gcc-lib -Ic:\tools\haskell-platform\2009.2.0.2\include\mingw -D__GLASGOW_HASKELL__=610 -Isrc -D_ISOC99_SOURCE -Ic:\tools\haskell-platform\2009.2.0.2\base-4.1.0.0\include -Ic:\tools\haskell-platform\2009.2.0.2/include -Ic:/tools/haskell-platform/2009.2.0.2/include/ dist\build\Bindings\C\Locale_hsc_make.c -o dist\build\Bindings\C\Locale_hsc_make.o cabal.exe: Error: some packages failed to install: bindings-common-1.3.4 failed during the building phase. The exception was: exit: ExitFailure 1 bindings-libusb-1.3 depends on bindings-common-1.3.4 which failed to install. bindings-posix-1.2 depends on bindings-common-1.3.4 which failed to install. usb-0.2.0.1 depends on bindings-common-1.3.4 which failed to install.
_______________________________________________ Haskell-Cafe mailing list Haskell-Cafe@haskell.org http://www.haskell.org/mailman/listinfo/haskell-cafe