Ticket #1190 (closed defect: fixed)
cabalized gtk fails to install on Windows
| Reported by: | guest | Owned by: | somebody |
|---|---|---|---|
| Priority: | normal | Milestone: | 0.11.0 |
| Component: | general (Gtk+, Glib) | Version: | 0.11.0 |
| Keywords: | Cc: |
Description
After successfully installing cairo, gio, glib and pango, I get the following error when trying to install gtk on windows:
cabal install gtk --prefix=c:\bin\haskell\libs --enable-documentation Resolving dependencies... C:\Users\pepeg\AppData?\Local\Temp\gtk-0.11.08752\gtk-0.11.0\Gtk2HsSetup.hs:25: warning: #warning Setup.hs is guessing the version of Cabal. If compilation of Setup.hs fails use -DCABAL_VERSION_MINOR=x for Cabal version 1.x.0 when building (prefixed by --ghc-option= when using the 'cabal' command)
[1 of 2] Compiling Gtk2HsSetup ( C:\Users\pepeg\AppData?\Local\Temp\gtk-0.11.08752\gtk-0.11.0\Gtk2HsSetup.hs, C:\Users\pepeg\AppData?\Local\Temp\gtk-0.11.08752\gtk-0.11.0\dist\setup\Gtk2HsSetup.o )
[2 of 2] Compiling Main ( C:\Users\pepeg\AppData?\Local\Temp\gtk-0.11.08752\gtk-0.11.0\Setup.hs, C:\Users\pepeg\AppData?\Local\Temp\gtk-0.11.08752\gtk-0.11.0\dist\setup\Main.o ) Linking C:\Users\pepeg\AppData?\Local\Temp\gtk-0.11.08752\gtk-0.11.0\dist\setup\setup.exe ...
Configuring gtk-0.11.0...
setup.exe: .\Graphics\UI\Gtk\General\IconTheme?.chs: invalid argument
cabal: Error: some packages failed to install: gtk-0.11.0 failed during the building phase. The exception was: ExitFailure? 1