Note that there are some explanatory texts on larger screens.

plurals
  1. POhelp with cabal install package shadowing errors
    text
    copied!<p>I've run into the same error for two unrelated packages now, missingpy and monadiccp.</p> <pre><code>&gt; cabal install -p -v monadiccp </code></pre> <p>(after some output)</p> <pre><code>Creating dist/build (and its parents) /usr/local/haskell/bin/ghc --make -package-name monadiccp-0.7.0 -hide-all-packages -fbuilding-cabal-package -i -idist/build -i. -idist/build/autogen -Idist/build/autogen -Idist/build -Ilib -optP-include -optPdist/build/autogen/cabal_macros.h -odir dist/build -hidir dist/build -stubdir dist/build -package-id Monatron-0.3.1-360ddfdcf06bcd34f1ed9c1f1c375202 -package-id base-4.3.1.0-1554f26e1cc1c87f47464e927dddbd20 -package-id containers-0.4.0.0-8781485edb2ac0db733a9f9c72e27945 -package-id haskell98-1.1.0.1-0a04bcdb24934b6be516a3abfc033021 -package-id mtl-2.0.1.0-91f62d81c946aa60137dcc008e554a3a -package-id pretty-1.0.1.2-6970e62db724fea03caad23f58dd8f86 -package-id random-1.0.0.3-9024b40453c28359a37c49ce4e776f6e -O -XHaskell98 Data.Expr.Sugar Control.CP.SearchTree Control.CP.Transformers Control.CP.ComposableTransformers Control.CP.Solver Control.CP.PriorityQueue Control.CP.Queue Control.CP.FD.Interface Control.CP.FD.OvertonFD.OvertonFD Control.CP.FD.OvertonFD.Sugar Control.CP.EnumTerm Control.CP.FD.Solvers Control.CP.FD.Gecode.CodegenSolver Control.CP.FD.Model Control.CP.FD.Example Data.Expr.Data Data.Expr.Util Data.Linear Control.CP.FD.Gecode.Common Control.CP.FD.OvertonFD.Domain Control.CP.FD.SimpleFD Control.CP.FD.Graph Control.CP.FD.Decompose Control.CP.FD.FD Control.CP.Debug Control.Mixin.Mixin Control.CP.SearchSpec.Language Control.CP.SearchSpec.Generator Language.CPP.Syntax.AST Language.CPP.Pretty &lt;command line&gt;: cannot satisfy -package-id random-1.0.0.3-9024b40453c28359a37c49ce4e776f6e: random-1.0.0.3-9024b40453c28359a37c49ce4e776f6e is shadowed by package random-1.0.0.3-15ae8b1458485ee9647f74174e442c33 (use -v for more information) World file is already up to date. </code></pre> <p>For <code>missingpy</code>, ghc will work if the <code>-package-id random...</code> is changed to the correct version, but I don't know how to install it after that.</p> <p>Any workarounds would be much appreciated. I deleted all of <code>~/.cabal</code> and <code>~/.ghc</code>, but no luck.</p> <h3>additional info</h3> <ul> <li>ghc info is here, [ <a href="http://pastebin.com/jk40VPgw" rel="nofollow">http://pastebin.com/jk40VPgw</a> ]. This is my SuSE machine, where I built ghc 7.0.4 from source using ghc 6.12, as well as the latest Haskell Platform. (which was made for ghc 7.0.3, but I think that's okay).</li> <li>also tried this on another machine [ <a href="http://pastebin.com/Digntv4K" rel="nofollow">http://pastebin.com/Digntv4K</a> ]. that one had the Haskell Platform installed via system packages I think.</li> </ul>
 

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