Cabal-1.18 was released very recently and packages that have custom build scripts are quite likely to be broken with it.
If you dont need any features that this version brings you should be good with installing cabal-install-1.16.0.2 instead.

You may also ask folks from GTK2HS about new version. I think most their packages will need a fix for Cabal-1.18.


On Tue, Sep 17, 2013 at 2:32 PM, Britt Anderson <britt.anderson@uwaterloo.ca> wrote:
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
_______________________________________________
Beginners mailing list
Beginners@haskell.org
http://www.haskell.org/mailman/listinfo/beginners