
I sent this yesterday, but it never showed up on the list. I apologize in advance if a repeated post appears, but I am rather stuck. I am looking for help to figure out my problem with cabal install glib I am starting fresh with ghc 7.6.3 built from source and cabal-install 1.18 downloaded from hackage and installed using the sh bootstrap.sh command. All works fine, as far as I can tell (e.g ghci runs and cabal install gtk2hs-buildtools worked). However in trying to cabal-install packages that depend on glib I am having problems. I think I fixed the first problem which was a conflict for the function name moreRecentFile. This exists in the SetupWrapper.hs file, but is also now a part of Distribution.Simple.Utils. I edited the SetupWrapper.hs and renamed its version of the function. The next problem to appear was with the processing of Gtk2HsSetup.hs file. The error is that constructor libraryConfig is not visible. I think that this is because as of Cabal-1.18 this constructor is not a part of Distribution.Simple.LocalBuildInfo. Is there some new accessor function or other work around that is known, or is the problems something else entirely? Thank you, /Britt