HEAD build fails with problem in InteractiveUI.hs

Max Bolingbroke batterseapower at hotmail.com
Wed Jan 23 13:18:48 EST 2008


Hi,

I seem to be having problem with building GHC, possibly due to the
recent patches to compiler/ghci/InteractiveUI.hs

The error is as follows:
""
ghci/InteractiveUI.hs:367:37: Not in scope: `</>'

ghci/InteractiveUI.hs:373:39: Not in scope: `</>'

ghci/InteractiveUI.hs:388:28: Not in scope: `takeDirectory'
<<ghc: 461754368 bytes, 56 GCs, 4925849/12431360 avg/max bytes
residency (5 samples), 23M in use, 0.00 INIT (0.00 elapsed), 0.66 MUT
(0.72 elapsed), 0.18 GC (0.19 elapsed) :ghc>>
make[1]: *** [stage2/ghci/InteractiveUI.o] Error 1
make: *** [stage2] Error 2
""

It seems to be caused by the fact that this file does not import
FilePath unless mingw32_HOST_OS is defined. If I move the FilePath
import after the corresponding #endif it compiles fine.

Am I the only one with this problem?

Cheers,
Max



More information about the Cvs-ghc mailing list