[Haskell-beginners] Help getting glib installed

Krzysztof Skrzętnicki gtener at gmail.com
Tue Sep 17 14:53:08 CEST 2013


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 at 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 at haskell.org
> http://www.haskell.org/mailman/listinfo/beginners
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.haskell.org/pipermail/beginners/attachments/20130917/329a6541/attachment.htm>


More information about the Beginners mailing list