Re: Unable to compile ghc from darcs

2009-04-01 Thread Colin Paul Adams
> "Colin" == Colin Paul Adams writes: > "Simon" == Simon Marlow writes: Simon> "Incorporated ESC/Haskell", perhaps that made some changes? I found it. maybeParen was added to the export list for HsTypes. I've added a hiding clause for it when importing HsSyn unqualified into GHC.

Re: Unable to compile ghc from darcs

2009-04-01 Thread Colin Paul Adams
> "Simon" == Simon Marlow writes: Simon> start with 'darcs w' - I noticed you had a 1-line change to Simon> GHC.hs, what was that? Also you had a local patch You can see it in the diff below. But as the diff is not complete, it's not very informative. Simon> "Incorporated ESC/H

Re: Unable to compile ghc from darcs

2009-04-01 Thread Simon Marlow
Colin Paul Adams wrote: "Simon" == Simon Marlow writes: Simon> Is it possible that you changed the exports of the GHC Simon> module, perhaps? Haddock is complaining about a name class Simon> with maybeParen from the GHC module, but I can't see how Simon> maybeParen is exported

Re: Unable to compile ghc from darcs

2009-04-01 Thread Colin Paul Adams
> "Simon" == Simon Marlow writes: Simon> Is it possible that you changed the exports of the GHC Simon> module, perhaps? Haddock is complaining about a name class Simon> with maybeParen from the GHC module, but I can't see how Simon> maybeParen is exported from GHC, unless that

Re: Unable to compile ghc from darcs

2009-04-01 Thread Simon Marlow
Colin Paul Adams wrote: "Simon" == Simon Marlow writes: Simon> $ ./darcs-all w -s Only: == running darcs w -s --repodir . M ./compiler/ghc.cabal.in -5 +6 M ./compiler/main/DynFlags.hs +4 M ./compiler/main/GHC.hs +1 M ./compiler/main/HscTypes.lhs -1 +1 M ./compiler/rename/RnSource.lhs +

Re: Unable to compile ghc from darcs

2009-04-01 Thread Colin Paul Adams
> "Simon" == Simon Marlow writes: Simon> $ ./darcs-all w -s Only: == running darcs w -s --repodir . M ./compiler/ghc.cabal.in -5 +6 M ./compiler/main/DynFlags.hs +4 M ./compiler/main/GHC.hs +1 M ./compiler/main/HscTypes.lhs -1 +1 M ./compiler/rename/RnSource.lhs +3 M ./compiler/simplCo

Re: Unable to compile ghc from darcs

2009-04-01 Thread Simon Marlow
Colin Paul Adams wrote: "Simon" == Simon Marlow writes: Simon> Colin Paul Adams wrote: >>> "Simon" == Simon Marlow writes: >> >> >> 6.11.20090319 (formerly bootstrapped from 6.10.1). >> Simon> Ah, there's your problem. In general you can't bootstrap Simon>

Re: Unable to compile ghc from darcs

2009-03-31 Thread Colin Paul Adams
> "Simon" == Simon Marlow writes: Simon> Colin Paul Adams wrote: >>> "Simon" == Simon Marlow writes: >> >> >> 6.11.20090319 (formerly bootstrapped from 6.10.1). >> Simon> Ah, there's your problem. In general you can't bootstrap Simon> GHC using a developmen

Re: Unable to compile ghc from darcs

2009-03-31 Thread Simon Marlow
Colin Paul Adams wrote: "Simon" == Simon Marlow writes: >> 6.11.20090319 (formerly bootstrapped from 6.10.1). Simon> Ah, there's your problem. In general you can't bootstrap Simon> GHC using a development snapshot, we only support building Simon> using fixed released versions

Re: Unable to compile ghc from darcs

2009-03-31 Thread Simon Marlow
Donnie Jones wrote: Hello Simon and Colin, This information is available on the Prequisites page of the GHC wiki; however, it's buried at the bottom of the page. I have updated the page to mention that a stable release version of GHC is needed when setting up for Linux and Windows, and I have c

Re: Unable to compile ghc from darcs

2009-03-31 Thread Colin Paul Adams
> "Simon" == Simon Marlow writes: >> 6.11.20090319 (formerly bootstrapped from 6.10.1). Simon> Ah, there's your problem. In general you can't bootstrap Simon> GHC using a development snapshot, we only support building Simon> using fixed released versions. So I re-installed

Re: Unable to compile ghc from darcs

2009-03-31 Thread Donnie Jones
Hello Simon and Colin, This information is available on the Prequisites page of the GHC wiki; however, it's buried at the bottom of the page. I have updated the page to mention that a stable release version of GHC is needed when setting up for Linux and Windows, and I have changed the "Other" sec

Re: Unable to compile ghc from darcs

2009-03-31 Thread Simon Marlow
Colin Paul Adams wrote: "Simon" == Simon Marlow writes: Simon> Are you using a build tree made with lndir? If you, you Simon> probably want to link the _darcs directory from your source Simon> tree into your build tree. This will enable configure to Simon> generate a more acc

Re: Unable to compile ghc from darcs

2009-03-31 Thread Colin Paul Adams
> "Simon" == Simon Marlow writes: Simon> Are you using a build tree made with lndir? If you, you Simon> probably want to link the _darcs directory from your source Simon> tree into your build tree. This will enable configure to Simon> generate a more accurate version number,

Re: Unable to compile ghc from darcs

2009-03-31 Thread Simon Marlow
Colin Paul Adams wrote: "Simon" == Simon Marlow writes: >> src/Haddock/Backends/Html.hs:1532:4: Ambiguous occurrence >> `maybeParen' It could refer to either >> `Haddock.Backends.Html.maybeParen', defined at >> src/Haddock/Backends/Html.hs:1462:0 or `GHC.maybeParen', >> imp

Re: Unable to compile ghc from darcs

2009-03-31 Thread Colin Paul Adams
> "Simon" == Simon Marlow writes: >> src/Haddock/Backends/Html.hs:1532:4: Ambiguous occurrence >> `maybeParen' It could refer to either >> `Haddock.Backends.Html.maybeParen', defined at >> src/Haddock/Backends/Html.hs:1462:0 or `GHC.maybeParen', >> imported from GHC at src

Re: Unable to compile ghc from darcs

2009-03-31 Thread Simon Marlow
Colin Paul Adams wrote: "Donnie" == Donnie Jones writes: Donnie> Hello Colin, In my working with GHC, I have found this Donnie> page very helpful since it succinctly outlines the steps Donnie> for Rebuilding GHC and ensuring you are up-to-date with Donnie> everything GHC needs:

Re: Unable to compile ghc from darcs

2009-03-30 Thread Colin Paul Adams
> "Donnie" == Donnie Jones writes: Donnie> Hello Colin, In my working with GHC, I have found this Donnie> page very helpful since it succinctly outlines the steps Donnie> for Rebuilding GHC and ensuring you are up-to-date with Donnie> everything GHC needs: Donnie> http://h

Re: Unable to compile ghc from darcs

2009-03-30 Thread Donnie Jones
Hello Colin, In my working with GHC, I have found this page very helpful since it succinctly outlines the steps for Rebuilding GHC and ensuring you are up-to-date with everything GHC needs: http://hackage.haskell.org/trac/ghc/wiki/Building/Rebuilding Best of luck! -- Donnie Jones On Mon, Mar 3

RE: Unable to compile ghc from darcs

2009-03-30 Thread Simon Peyton-Jones
The HEAD and several other packages travel together: if you update one you must update the others. http://hackage.haskell.org/trac/ghc/wiki/Commentary/Libraries In this case you need to update template-haskell. Simon | -Original Message- | From: glasgow-haskell-users-boun...@haskell.o

Re: Unable to compile ghc from darcs

2009-03-30 Thread Colin Paul Adams
> "Austin" == Austin Seipp writes: Austin> Excerpts from Colin Paul Adams's message of Sun Mar 29 Austin> 09:29:43 -0500 2009: >> I was getting errors somewhere in haddock about some ambiguous >> function, so I did a darcs pull to see if that would pull in a >> fix for the

Re: Unable to compile ghc from darcs

2009-03-29 Thread Austin Seipp
Excerpts from Colin Paul Adams's message of Sun Mar 29 09:29:43 -0500 2009: > I was getting errors somewhere in haddock about some ambiguous > function, so I did a darcs pull to see if that would pull in a fix for > the problem (unfortunately I didn't make a note of the errors). > > But now the co