Changes between Version 11 and Version 12 of Building/Troubleshooting


Ignore:
Timestamp:
May 11, 2009 1:26:10 PM (6 years ago)
Author:
simonpj
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • Building/Troubleshooting

    v11 v12  
    66 
    77We don't expect anyone to read this page from beginning to end.  The only way you get here is by searching, so remember when adding a new entry the most important thing to do is to '''include the error message verbatim''', so searches will find it.  If a build failure is caused by a bug in GHC or the build system, please link to the ticket number so we can tell when it's safe to remove the entry and keep this page from getting too crufty. 
     8 
     9=== Missing ghc.mk files (distclean) === 
     10 
     11If you try {{{make distclean}}} or {{{sh validate}}} and get something like 
     12{{{ 
     13ghc.mk:534: libraries/dph/dph-base/ghc.mk: No such file or directory 
     14}}} 
     15it's probably because (alas) `make distclean` only works on a [wiki:Building/Using#Bootingconfiguringcleaning configured tree]. 
     16 
     17Solution:  
     18{{{ 
     19sh boot 
     20./configure 
     21}}} 
    822 
    923=== Using autoconf by mistake ===