<div dir="ltr"><div>Yes, it seems installing latest cabal under ghc 7.8 first and upgrading to 7.10 afterwards is the way to go.<br><br></div>Thanks!<br></div><div class="gmail_extra"><br><div class="gmail_quote">On Sat, Dec 27, 2014 at 2:09 AM, Doug Burke <span dir="ltr"><<a href="mailto:dburke.gw@gmail.com" target="_blank">dburke.gw@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr"><div><br></div>I ended up installing both Cabal and cabal-install (from GitHub) using ghc 7.8.4. After that things seemed to get better with ghc 7.10 RC1 (which was using my newly created cabal-install command-line tool with the Cabal libs from ghc 7.10). Or at least, I think that's how I got it working.<br><br>HTH,<br>Doug<br><br></div><div class="HOEnZb"><div class="h5"><div class="gmail_extra"><br><div class="gmail_quote">On Fri, Dec 26, 2014 at 7:05 PM, Konstantine Rybnikov <span dir="ltr"><<a href="mailto:k-bx@k-bx.com" target="_blank">k-bx@k-bx.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr">Installing dependencies fails with very same error, unfortunately.<br></div><div><div><div class="gmail_extra"><br><div class="gmail_quote">On Fri, Dec 26, 2014 at 5:02 PM, Antoine Latter <span dir="ltr"><<a href="mailto:aslatter@gmail.com" target="_blank">aslatter@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr"><div><div><div><div><div>I did the following to work around this:<br><br>I cloned this branch on GitHub: <a href="https://github.com/haskell/cabal/tree/1.22" target="_blank">https://github.com/haskell/cabal/tree/1.22</a><br></div><div><br></div><div>Then, in the cabal-install folder I built the 'cabal-install' binary *without* using the existing version of cabal-install, then used the newly built 'cabal-install' to actually install the new 'cabal-install':<br></div><div><br></div><div>cd <folder which has cabal-install><br></div>ghc Setup.hs<br></div>./Setup.hs configure<br></div>./Seup.hs build<br></div>dist/build/cabal/cabal install<br><br></div>You may need to install some dependencies first - using the old cabal-install worked fine for me for this, but maybe it secretly corrupted something behind the scenes. I haven't had trouble so far.<br></div><div class="gmail_extra"><br><div class="gmail_quote"><div><div>On Fri, Dec 26, 2014 at 2:29 AM, Konstantine Rybnikov <span dir="ltr"><<a href="mailto:k-bx@k-bx.com" target="_blank">k-bx@k-bx.com</a>></span> wrote:<br></div></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div><div><div dir="ltr"><div>Hi!<br><br>I just did `sudo make install` on ghc 7.10.1-rc1, removed ~/.ghc and did `cabal update`. I'm now trying to upgrade to latest cabal by issuing `cabal install cabal-install`. I get the following:<br><br>```<br>...<br>on the commandline: Warning:<br>    -package-name is deprecated: Use -this-package-key instead<br>ghc: ghc no longer supports single-file style package databases (dist/package.conf.inplace) use 'ghc-pkg init' to create the database with the correct format.<br>Failed to install zlib-0.5.4.2<br>cabal: Error: some packages failed to install:<br>HTTP-3001.0.4 depends on text-1.2.0.3 which failed to install.<br>cabal-install-0.4.0 depends on zlib-0.5.4.2 which failed to install.<br>mtl-2.2.1 failed during the building phase. The exception was:<br>ExitFailure 1<br>network-2.6.0.2 failed during the building phase. The exception was:<br>ExitFailure 1<br>parsec-3.1.7 depends on text-1.2.0.3 which failed to install.<br>text-1.2.0.3 failed during the building phase. The exception was:<br>ExitFailure 1<br>zlib-0.5.4.2 failed during the building phase. The exception was:<br>ExitFailure 1<br>```<br><br></div>Does anyone know a quick-fix?<br><br>Thanks!<br></div>
<br></div></div><span>_______________________________________________<br>
Haskell-Cafe mailing list<br>
<a href="mailto:Haskell-Cafe@haskell.org" target="_blank">Haskell-Cafe@haskell.org</a><br>
<a href="http://www.haskell.org/mailman/listinfo/haskell-cafe" target="_blank">http://www.haskell.org/mailman/listinfo/haskell-cafe</a><br>
<br></span></blockquote></div><br></div>
</blockquote></div><br></div>
</div></div><br>_______________________________________________<br>
Haskell-Cafe mailing list<br>
<a href="mailto:Haskell-Cafe@haskell.org" target="_blank">Haskell-Cafe@haskell.org</a><br>
<a href="http://www.haskell.org/mailman/listinfo/haskell-cafe" target="_blank">http://www.haskell.org/mailman/listinfo/haskell-cafe</a><br>
<br></blockquote></div><br></div>
</div></div></blockquote></div><br></div>