You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
setup-Cabal-1.18.1.3-i386-windows-ghc-7.8.3.exe: The pkg-config package x11 is required but it could not be found
The following workaround works on both Vista and Wine (in the latter case, the binary, obtained after a few more workarounds, is confirmed to run correctly; for Vista, I've lost patience).
Do you know which of the gtk2hs packages it was installing at the time? Gtk2hs runs pkg-config to get the C flags and linker flags to use (it looks up the packages that are in the pkgconfig-depends in the cabal file). I suspect it is looking for the flags for gtk+-3.0 and that there might be a dependancy (perhaps indirectly) in gtk+-3.0.pc on x11.pc.
When compiling the following on Vista or on Wine (details for Wine at http://www.haskell.org/haskellwiki/GHC_under_Wine#Code_that_uses_gtk2hs)
cabal reports
The following workaround works on both Vista and Wine (in the latter case, the binary, obtained after a few more workarounds, is confirmed to run correctly; for Vista, I've lost patience).
I'm only guessing it's a gtk2hs bug, and not GHC's nor cabal's.
The text was updated successfully, but these errors were encountered: