Re: Error while installing new packages with GHC 7.4.1

2012-03-05 Thread Albert Y. C. Lai
On 12-02-29 09:30 PM, Brent Yorgey wrote: I wonder about the possibility of making a simple tool to parse the output of cabal install -v3 and visualize/organize it in some sort of way to make this process easier. What might such visualization/organization look like? The most useful

Re: Error while installing new packages with GHC 7.4.1

2012-03-02 Thread Antoras
You are right. When I try to install parsec by myself I get the same error message. But neither ghc-pkg list nor ghc-pkg check prints any error messages. The latter only prints some warnings because of missing haddock files. Complete output of the error message: $cabal install parsec -v

Re: Error while installing new packages with GHC 7.4.1

2012-03-02 Thread Antoras
Ok, I got Hoogle to work with GHC 7.0.3. I abandoned my try to update to the newest version of GHC, due to some other things which don't work. For example I can't import Data.Map any more. As long as these errors occur I see no reason to switch to a newer version. With Hoogle 4.2.9 I could

Re: Error while installing new packages with GHC 7.4.1

2012-03-01 Thread Antoras
Ok, interesting info. But how to solve the problem now? Should I contact the author of Hoogle and ask him about how solving this? On 03/01/2012 02:02 AM, Albert Y. C. Lai wrote: On 12-02-29 06:04 AM, Antoras wrote: I don't know where the dependency to array-0.3.0.3 comes from. Is it possible

Re: Error while installing new packages with GHC 7.4.1

2012-03-01 Thread Neil Mitchell
Hi Antoras, The darcs version of Hoogle has had a more permissive dependency for a few weeks. Had I realised the dependency caused problems I'd have released a new version immediately! As it stands, I'll release a new version in about 4 hours. If you can't wait that long, try darcs get

Re: Error while installing new packages with GHC 7.4.1

2012-03-01 Thread Neil Mitchell
Hi Antoras, I've just released Hoogle 4.2.9, which allows Cabal 1.15, so hopefully will install correctly for you. Thanks, Neil On Thu, Mar 1, 2012 at 5:02 PM, Neil Mitchell ndmitch...@gmail.com wrote: Hi Antoras, The darcs version of Hoogle has had a more permissive dependency for a few

Re: Error while installing new packages with GHC 7.4.1

2012-03-01 Thread Neil Mitchell
Hi Antoras, My suspicion is you've ended up with corrupted packages in your package database - nothing to do with Hoogle. I suspect trying to install parsec-3.1.2 directly would give the same error message. Can you try ghc-pkg list, and at the bottom it will probably say something like: The

Error while installing new packages with GHC 7.4.1

2012-02-29 Thread Antoras
I updated my GHC version from 7.0.3 to 7.4.1. But after that GHC is unable to install some required packages. For example when I type in 'cabal install -v hoogle' I get a lot of errors (see end of message). Even after reinstalling the newest packages the errors still occurs. I use Linux-x86_64

Re: Error while installing new packages with GHC 7.4.1

2012-02-29 Thread Malcolm Wallace
On 29 Feb 2012, at 09:53, Antoras wrote: I updated my GHC version from 7.0.3 to 7.4.1. But after that GHC is unable to install some required packages. containers-0.4.2.1 (reinstall) changes: array-0.4.0.0 - 0.3.0.3 binary-0.5.1.0 (reinstall) changes: array-0.4.0.0 - 0.3.0.3 I believe

Re: Error while installing new packages with GHC 7.4.1

2012-02-29 Thread Antoras
I don't know where the dependency to array-0.3.0.3 comes from. Is it possible to get more info from cabal than -v? On Wed 29 Feb 2012 11:09:14 AM CET, Malcolm Wallace wrote: On 29 Feb 2012, at 09:53, Antoras wrote: I updated my GHC version from 7.0.3 to 7.4.1. But after that GHC is unable

Re: Error while installing new packages with GHC 7.4.1

2012-02-29 Thread Albert Y. C. Lai
On 12-02-29 06:04 AM, Antoras wrote: I don't know where the dependency to array-0.3.0.3 comes from. Is it possible to get more info from cabal than -v? hoogle-4.2.8 has Cabal = 1.8 1.13, this brings in Cabal-1.12.0. Cabal-1.12.0 has array = 0.1 0.4, this brings in array-0.3.0.3. It is a

Re: Error while installing new packages with GHC 7.4.1

2012-02-29 Thread Brent Yorgey
On Wed, Feb 29, 2012 at 08:02:11PM -0500, Albert Y. C. Lai wrote: It is possible to fish the output of cabal install --dry-run -v3 hoogle for why array-0.3.0.3 is brought in. It really is fishing, since the output is copious and of low information density. Chinese idiom: needle in ocean