
Yes, it seems installing latest cabal under ghc 7.8 first and upgrading to
7.10 afterwards is the way to go.
Thanks!
On Sat, Dec 27, 2014 at 2:09 AM, Doug Burke
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.
HTH, Doug
On Fri, Dec 26, 2014 at 7:05 PM, Konstantine Rybnikov
wrote: Installing dependencies fails with very same error, unfortunately.
On Fri, Dec 26, 2014 at 5:02 PM, Antoine Latter
wrote: I did the following to work around this:
I cloned this branch on GitHub: https://github.com/haskell/cabal/tree/1.22
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':
cd <folder which has cabal-install> ghc Setup.hs ./Setup.hs configure ./Seup.hs build dist/build/cabal/cabal install
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.
On Fri, Dec 26, 2014 at 2:29 AM, Konstantine Rybnikov
wrote: Hi!
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:
``` ... on the commandline: Warning: -package-name is deprecated: Use -this-package-key instead 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. Failed to install zlib-0.5.4.2 cabal: Error: some packages failed to install: HTTP-3001.0.4 depends on text-1.2.0.3 which failed to install. cabal-install-0.4.0 depends on zlib-0.5.4.2 which failed to install. mtl-2.2.1 failed during the building phase. The exception was: ExitFailure 1 network-2.6.0.2 failed during the building phase. The exception was: ExitFailure 1 parsec-3.1.7 depends on text-1.2.0.3 which failed to install. text-1.2.0.3 failed during the building phase. The exception was: ExitFailure 1 zlib-0.5.4.2 failed during the building phase. The exception was: ExitFailure 1 ```
Does anyone know a quick-fix?
Thanks!
_______________________________________________ Haskell-Cafe mailing list Haskell-Cafe@haskell.org http://www.haskell.org/mailman/listinfo/haskell-cafe
_______________________________________________ Haskell-Cafe mailing list Haskell-Cafe@haskell.org http://www.haskell.org/mailman/listinfo/haskell-cafe