search for "GetOpt" in given url. Reproducible: Always Steps to Reproduce: 1.emerge cabal wxhaskell 2.emerge gtk2hs 3. Actual Results: compilation breaks with ... tools/c2hs/base/general/GetOpt.hs:1:0: Module `GetOpt' is a member of package util-1.0 ... solution: ./configure --with-hcflags="-O -ignore-package util-1.0"
Your bugreports would be more helpful if you'd include all necessary information to reproduce the bug. In this case, the bug is known, so I can guess most of the relevant information. The problem you experience results from a combination of an inconvenience in cabal-0.5 and a bug in ghc-6.4. I don't think that wxhaskell has any part in it. The bug will be fixed in ghc-6.4.1, and cabal-0.5 will be removed from the tree soon. For now, the only workaround is not to use cabal-0.5. The solution you have given is not really a solution, because the -ignore flags that have to be passed depend on what's installed on your machine. This is, in general, quite tedious to determine ... I'm marking this as WONTFIX, because it will not be fixed until either the next ghc or cabal release is out. Cheers, ks