ANN: ghc 6.8.2 from MacPorts
Bjorn Bringert
bjorn at bringert.net
Thu Apr 24 06:41:38 EDT 2008
On Thu, Mar 6, 2008 at 7:57 PM, Wouter Swierstra <wss at cs.nott.ac.uk> wrote:
> Hi Greg,
>
> Thanks again for maintaining ghc in macports!
>
> I tried installing ghc through macports. Unfortunately, the build failed
> with the following error message below. I'd be happy to send you a complete
> log, if you think it would help. Many thanks,
>
> Wouter
>
>
>
> main/ParsePkgConf.hs:296:35: Not in scope: `extraLibraries'
>
> main/ParsePkgConf.hs:297:35: Not in scope: `extraGHCiLibraries'
>
> main/ParsePkgConf.hs:298:35: Not in scope: `includeDirs'
>
> main/ParsePkgConf.hs:299:35: Not in scope: `includes'
>
> main/ParsePkgConf.hs:300:35: Not in scope: `hugsOptions'
>
> main/ParsePkgConf.hs:301:35: Not in scope: `ccOptions'
>
> main/ParsePkgConf.hs:302:35: Not in scope: `ldOptions'
>
> main/ParsePkgConf.hs:303:35: Not in scope: `frameworkDirs'
>
> main/ParsePkgConf.hs:304:35: Not in scope: `frameworks'
>
> main/ParsePkgConf.hs:305:35: Not in scope: `haddockInterfaces'
>
> main/ParsePkgConf.hs:306:35: Not in scope: `haddockHTMLs'
>
> main/ParsePkgConf.hs:307:34: Not in scope: `depends'
>
> main/ParsePkgConf.hs:320:43: Not in scope: `depends'
> <<ghc: 73406780 bytes, 11 GCs, 759125/1814528 avg/max bytes residency (3
> samples), 18M in use, 0.00 INIT (0.00 elapsed), 0.09 MUT (0.13 elapsed),
> 0.06 GC (0.07 elapsed) :ghc>>
> make[2]: *** [stage2/main/ParsePkgConf.o] Error 1
> make[1]: *** [stage2] Error 2
> make: *** [bootstrap2] Error 2
>
> Warning: the following items did not execute (for ghc):
> org.macports.activate org.macports.build org.macports.destroot
> org.macports.install
> Error: Status 1 encountered during processing.
I got the same error when trying to install ghc 6.8.2 from MacPorts on
OS X 10.4.11/Intel. It seems like the stage2 build is picking up the
wrong version of Cabal from my user packages left over from a previous
GHC 6.8.2 installation. Deleting ~/.ghc fixes the problem. Maybe the
GHC build should be changed to make sure that it doesn't use user
packages?
/Björn
More information about the Glasgow-haskell-users
mailing list