For some time I haven't been able to compile ghc from cvs.  Presumably
it is due to some local artefact in my cvs copy, but as a ghc learner
I don't really know where to start looking.

On my Linux Redhat 6.2 box, I have ghc-current, and am compiling with:

        gcc version egcs-2.91.66 19990314/Linux (egcs-1.1.2 release)

and have ghc-4.06 installed.

"make clean" (or "make distclean") followed by "make boot" gives
output ending as below.

What's going wrong?

Thanks in advance, Jens


% make boot
:
===fptools== Finished making `boot' in hp2ps hscpp mkdependHS parallel stat2resid prof 
unlit ...
PWD = /home/juhp/haskell/ghc/ghc/utils
------------------------------------------------------------------------
------------------------------------------------------------------------
==fptools== make boot - --no-print-directory -r;
 in /home/juhp/haskell/ghc/ghc/driver
------------------------------------------------------------------------
Creating Config.hs ... done.
------------------------------------------------------------------------
===fptools== Recursively making `boot' in mangler split stats ...
PWD = /home/juhp/haskell/ghc/ghc/driver
------------------------------------------------------------------------
------------------------------------------------------------------------
==fptools== make boot - --no-print-directory -r;
 in /home/juhp/haskell/ghc/ghc/driver/mangler
------------------------------------------------------------------------
------------------------------------------------------------------------
==fptools== make boot - --no-print-directory -r;
 in /home/juhp/haskell/ghc/ghc/driver/split
------------------------------------------------------------------------
------------------------------------------------------------------------
==fptools== make boot - --no-print-directory -r;
 in /home/juhp/haskell/ghc/ghc/driver/stats
------------------------------------------------------------------------
------------------------------------------------------------------------
===fptools== Finished making `boot' in mangler split stats ...
PWD = /home/juhp/haskell/ghc/ghc/driver
------------------------------------------------------------------------
/usr/bin/ghc -M -optdep-f -optdep.depend  -osuf o    -fglasgow-exts -cpp -syslib 
concurrent -syslib posix -syslib text    Config.hs Main.hs PackageSrc.hs
/usr/bin/ghc -fglasgow-exts -cpp -syslib concurrent -syslib posix -syslib text    -c 
Config.hs -o Config.o -osuf o

Config.hs:2: Data constructor not in scope: `_ProjectName'

Config.hs:3: Data constructor not in scope: `_ProjectVersion'

Config.hs:4: Data constructor not in scope: `_ProjectVersionInt'

Config.hs:5: Data constructor not in scope: `_ProjectPatchLevel'

Config.hs:6: Data constructor not in scope: `_HOSTPLATFORM'

Config.hs:7: Data constructor not in scope: `_TARGETPLATFORM'

Config.hs:8: Data constructor not in scope: `_CURRENT_DIR'

Config.hs:9: Data constructor not in scope: `_GHC_LIB_DIR'

Config.hs:10: Data constructor not in scope: `_GHC_RUNTIME_DIR'

Config.hs:11: Data constructor not in scope: `_GHC_UTILS_DIR'

Config.hs:12: Data constructor not in scope: `_GHC_INCLUDE_DIR'

Config.hs:13: Data constructor not in scope: `_GHC_DRIVER_DIR'

Config.hs:14: Data constructor not in scope: `_GCC'

Config.hs:15:
    Data constructor not in scope: `_GhcWithNativeCodeGen'

Config.hs:16: Data constructor not in scope: `_LeadingUnderscore'

Config.hs:17: Data constructor not in scope: `_GHC_MKDEPENDHS'

Config.hs:18: Data constructor not in scope: `_GHC_UNLIT'

Config.hs:19: Data constructor not in scope: `_GHC_HSCPP'

Config.hs:20: Data constructor not in scope: `_GHC_HSC'

Config.hs:21: Data constructor not in scope: `_GHC_MANGLER'

Config.hs:22: Data constructor not in scope: `_GHC_SPLIT'

Config.hs:23: Data constructor not in scope: `_GHC_STATS'

Config.hs:24: Data constructor not in scope: `_GHC_SYSMAN'

Config.hs:25: Data constructor not in scope: `_EnableWin32DLLs'

Config.hs:26: Data constructor not in scope: `_CP'

Config.hs:27: Data constructor not in scope: `_RM'

Config.hs:28: Data constructor not in scope: `_CONTEXT_DIFF'

Config.hs:29: Data constructor not in scope: `_HaveLibGmp'

Config.hs:30: Data constructor not in scope: `_GhcWithRegisterised'

Config.hs:31: Data constructor not in scope: `_USER_WAY_NAMES'

Config.hs:32: Data constructor not in scope: `_USER_WAY_OPTS'

Config.hs:37: Data constructor not in scope: `_TMPDIR'

Config.hs:38: Data constructor not in scope: `_FPTOOLS_TOP_ABS'

Compilation had errors

make[2]: *** [Config.o] Error 1
make[1]: *** [boot] Error 1
make: *** [boot] Error 1


Reply via email to