Note that there are some explanatory texts on larger screens.

plurals
  1. POGTK2HS fails to install with recent cabal versions
    primarykey
    data
    text
    <p>I'm starting a new project that will hopefully use gtk2hs. However, I can not get this package to install on my fairly typical Linux box. Here is the failure :</p> <pre><code>[1 of 2] Compiling SetupWrapper ( /tmp/cairo-0.12.4-4201/cairo-0.12.4/SetupWrapper.hs, /tmp/cairo-0.12.4-4201/cairo-0.12.4/dist/dist-sandbox-58b5f9c6/setup/SetupWrapper.o ) /tmp/cairo-0.12.4-4201/cairo-0.12.4/SetupWrapper.hs:94:45: Ambiguous occurrence `moreRecentFile' It could refer to either `SetupWrapper.moreRecentFile', defined at /tmp/cairo-0.12.4-4201/cairo-0.12.4/SetupWrapper.hs:149:1 or `Distribution.Simple.Utils.moreRecentFile', imported from `Distribution.Simple.Utils' at /tmp/cairo-0.12.4-4201/cairo-0.12.4/SetupWrapper.hs:8:1-32 /tmp/cairo-0.12.4-4201/cairo-0.12.4/SetupWrapper.hs:95:45: Ambiguous occurrence `moreRecentFile' It could refer to either `SetupWrapper.moreRecentFile', defined at /tmp/cairo-0.12.4-4201/cairo-0.12.4/SetupWrapper.hs:149:1 or `Distribution.Simple.Utils.moreRecentFile', imported from `Distribution.Simple.Utils' at /tmp/cairo-0.12.4-4201/cairo-0.12.4/SetupWrapper.hs:8:1-32 Failed to install cairo-0.12.4 [1 of 2] Compiling SetupWrapper ( /tmp/glib-0.12.4-4201/glib-0.12.4/SetupWrapper.hs, /tmp/glib-0.12.4-4201/glib-0.12.4/dist/dist-sandbox-58b5f9c6/setup/SetupWrapper.o ) /tmp/glib-0.12.4-4201/glib-0.12.4/SetupWrapper.hs:94:45: Ambiguous occurrence `moreRecentFile' It could refer to either `SetupWrapper.moreRecentFile', defined at /tmp/glib-0.12.4-4201/glib-0.12.4/SetupWrapper.hs:149:1 or `Distribution.Simple.Utils.moreRecentFile', imported from `Distribution.Simple.Utils' at /tmp/glib-0.12.4-4201/glib-0.12.4/SetupWrapper.hs:8:1-32 /tmp/glib-0.12.4-4201/glib-0.12.4/SetupWrapper.hs:95:45: Ambiguous occurrence `moreRecentFile' It could refer to either `SetupWrapper.moreRecentFile', defined at /tmp/glib-0.12.4-4201/glib-0.12.4/SetupWrapper.hs:149:1 or `Distribution.Simple.Utils.moreRecentFile', imported from `Distribution.Simple.Utils' at /tmp/glib-0.12.4-4201/glib-0.12.4/SetupWrapper.hs:8:1-32 Failed to install glib-0.12.4 </code></pre> <p>It seems to be related to recent cabal versions, since that used to work before. It seems to be a known bug (<a href="http://trac.haskell.org/gtk2hs/ticket/1292" rel="noreferrer">http://trac.haskell.org/gtk2hs/ticket/1292</a> , <a href="http://trac.haskell.org/gtk2hs/ticket/1291" rel="noreferrer">http://trac.haskell.org/gtk2hs/ticket/1291</a> and <a href="http://trac.haskell.org/gtk2hs/ticket/1289" rel="noreferrer">http://trac.haskell.org/gtk2hs/ticket/1289</a>), however it has not moved for weeks. I am not sufficiently competent to suggest a good fix, so I would like your advice. This is very annoying since I am stuck on this important project, and it pains me to think that the main GUI lib of our language has been broken for many weeks now.</p> <p>cabal-install version 1.18.0.2 using version 1.18.1.1 of the Cabal library / ghc 7.4.1</p> <p>Thanks for your help</p>
    singulars
    1. This table or related slice is empty.
    plurals
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
 

Querying!

 
Guidance

SQuiL has stopped working due to an internal error.

If you are curious you may find further information in the browser console, which is accessible through the devtools (F12).

Reload