<html xmlns:v="urn:schemas-microsoft-com:vml" xmlns:o="urn:schemas-microsoft-com:office:office" xmlns:w="urn:schemas-microsoft-com:office:word" xmlns:m="http://schemas.microsoft.com/office/2004/12/omml" xmlns="http://www.w3.org/TR/REC-html40">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=us-ascii">
<meta name="Generator" content="Microsoft Word 15 (filtered medium)">
<style><!--
/* Font Definitions */
@font-face
{font-family:"Cambria Math";
panose-1:2 4 5 3 5 4 6 3 2 4;}
@font-face
{font-family:Calibri;
panose-1:2 15 5 2 2 2 4 3 2 4;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
{margin-top:6.0pt;
margin-right:0cm;
margin-bottom:6.0pt;
margin-left:0cm;
font-size:11.0pt;
font-family:"Calibri",sans-serif;
mso-fareast-language:EN-US;}
a:link, span.MsoHyperlink
{mso-style-priority:99;
color:#0563C1;
text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
{mso-style-priority:99;
color:#954F72;
text-decoration:underline;}
p.MsoListParagraph, li.MsoListParagraph, div.MsoListParagraph
{mso-style-priority:34;
margin-top:6.0pt;
margin-right:0cm;
margin-bottom:6.0pt;
margin-left:36.0pt;
font-size:11.0pt;
font-family:"Calibri",sans-serif;
mso-fareast-language:EN-US;}
span.EmailStyle15
{mso-style-type:personal-compose;
font-family:"Calibri",sans-serif;
color:windowtext;}
p.Code, li.Code, div.Code
{mso-style-name:Code;
mso-style-link:"Code Char";
margin-top:0cm;
margin-right:0cm;
margin-bottom:0cm;
margin-left:36.0pt;
margin-bottom:.0001pt;
font-size:9.0pt;
font-family:"Courier New";
mso-fareast-language:EN-US;}
span.CodeChar
{mso-style-name:"Code Char";
mso-style-link:Code;
font-family:"Courier New";}
.MsoChpDefault
{mso-style-type:export-only;
font-family:"Calibri",sans-serif;
mso-fareast-language:EN-US;}
@page WordSection1
{size:612.0pt 792.0pt;
margin:72.0pt 72.0pt 72.0pt 72.0pt;}
div.WordSection1
{page:WordSection1;}
--></style><!--[if gte mso 9]><xml>
<o:shapedefaults v:ext="edit" spidmax="1026" />
</xml><![endif]--><!--[if gte mso 9]><xml>
<o:shapelayout v:ext="edit">
<o:idmap v:ext="edit" data="1" />
</o:shapelayout></xml><![endif]-->
</head>
<body lang="EN-GB" link="#0563C1" vlink="#954F72">
<div class="WordSection1">
<p class="MsoNormal">Tamar<o:p></o:p></p>
<p class="MsoNormal">I think your suggestion of adding<o:p></o:p></p>
<p class="Code"># Set user-<span class="CodeChar">defined locale<br>
export LANG=$(</span>locale -uU)<o:p></o:p></p>
<p class="MsoNormal">worked. No more perl messages.<o:p></o:p></p>
<p class="MsoNormal">Still having various troubles…<o:p></o:p></p>
<p class="MsoNormal">Here’s the current one (log below). I’m getting lots of<o:p></o:p></p>
<p class="Code"> ./configure: line 2534: cannot create temp file for here-document: Device or resource busy<o:p></o:p></p>
<p class="MsoNormal">And finally<o:p></o:p></p>
<p class="Code">checking whether the C compiler works... no<o:p></o:p></p>
<p class="Code">sed: can't read conftest.c: No such file or directory<o:p></o:p></p>
<p class="Code">configure: error: in `/c/code/HEAD':<o:p></o:p></p>
<p class="Code">configure: error: C compiler cannot create executables<o:p></o:p></p>
<p class="MsoNormal">I have environment variables TEMP and TMP set. <o:p></o:p></p>
<p class="MsoNormal">Oddly, re-running configure gets further – see second log below.<o:p></o:p></p>
<p class="MsoNormal">All deeply strange. <o:p></o:p></p>
<p class="MsoNormal">Thanks<o:p></o:p></p>
<p class="MsoNormal">Simon<o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal"><b>Log 1: first run of ‘sh validate –fast’<o:p></o:p></b></p>
<p class="Code">Creating libraries/array/ghc.mk<o:p></o:p></p>
<p class="Code">Creating libraries/base/ghc.mk<o:p></o:p></p>
<p class="Code">Creating libraries/binary/ghc.mk<o:p></o:p></p>
<p class="Code">Creating libraries/bytestring/ghc.mk<o:p></o:p></p>
<p class="Code">Creating libraries/Cabal/Cabal/ghc.mk<o:p></o:p></p>
<p class="Code">Creating libraries/containers/ghc.mk<o:p></o:p></p>
<p class="Code">Creating libraries/deepseq/ghc.mk<o:p></o:p></p>
<p class="Code">Creating libraries/directory/ghc.mk<o:p></o:p></p>
<p class="Code">Creating libraries/dph/dph-base/ghc.mk<o:p></o:p></p>
<p class="Code">Creating libraries/dph/dph-prim-interface/ghc.mk<o:p></o:p></p>
<p class="Code">Creating libraries/dph/dph-prim-seq/ghc.mk<o:p></o:p></p>
<p class="Code">Creating libraries/dph/dph-prim-par/ghc.mk<o:p></o:p></p>
<p class="Code">Creating libraries/dph/dph-lifted-base/ghc.mk<o:p></o:p></p>
<p class="Code">Creating libraries/dph/dph-lifted-boxed/ghc.mk<o:p></o:p></p>
<p class="Code">Creating libraries/dph/dph-lifted-copy/ghc.mk<o:p></o:p></p>
<p class="Code">Creating libraries/dph/dph-lifted-vseg/ghc.mk<o:p></o:p></p>
<p class="Code">Creating libraries/filepath/ghc.mk<o:p></o:p></p>
<p class="Code">Creating libraries/ghc-boot/ghc.mk<o:p></o:p></p>
<p class="Code">Creating libraries/ghc-boot-th/ghc.mk<o:p></o:p></p>
<p class="Code">Creating libraries/ghc-compact/ghc.mk<o:p></o:p></p>
<p class="Code">Creating libraries/ghc-prim/ghc.mk<o:p></o:p></p>
<p class="Code">Creating libraries/ghci/ghc.mk<o:p></o:p></p>
<p class="Code">Creating libraries/haskeline/ghc.mk<o:p></o:p></p>
<p class="Code">Creating libraries/hpc/ghc.mk<o:p></o:p></p>
<p class="Code">Creating libraries/integer-gmp/ghc.mk<o:p></o:p></p>
<p class="Code">Creating libraries/integer-simple/ghc.mk<o:p></o:p></p>
<p class="Code">Creating libraries/mtl/ghc.mk<o:p></o:p></p>
<p class="Code">Creating libraries/parallel/ghc.mk<o:p></o:p></p>
<p class="Code">Creating libraries/parsec/ghc.mk<o:p></o:p></p>
<p class="Code">Creating libraries/pretty/ghc.mk<o:p></o:p></p>
<p class="Code">Creating libraries/primitive/ghc.mk<o:p></o:p></p>
<p class="Code">Creating libraries/process/ghc.mk<o:p></o:p></p>
<p class="Code">Creating libraries/random/ghc.mk<o:p></o:p></p>
<p class="Code">Creating libraries/stm/ghc.mk<o:p></o:p></p>
<p class="Code">Creating libraries/template-haskell/ghc.mk<o:p></o:p></p>
<p class="Code">Creating libraries/terminfo/ghc.mk<o:p></o:p></p>
<p class="Code">Creating libraries/text/ghc.mk<o:p></o:p></p>
<p class="Code">Creating libraries/time/ghc.mk<o:p></o:p></p>
<p class="Code">Creating libraries/transformers/ghc.mk<o:p></o:p></p>
<p class="Code">Creating libraries/unix/ghc.mk<o:p></o:p></p>
<p class="Code">Creating libraries/vector/ghc.mk<o:p></o:p></p>
<p class="Code">Creating libraries/Win32/ghc.mk<o:p></o:p></p>
<p class="Code">Creating libraries/xhtml/ghc.mk<o:p></o:p></p>
<p class="Code">Booting .<o:p></o:p></p>
<p class="Code">Booting libraries/base/<o:p></o:p></p>
<p class="Code">Booting libraries/directory/<o:p></o:p></p>
<p class="Code">Booting libraries/ghc-prim/<o:p></o:p></p>
<p class="Code">Booting libraries/integer-gmp/<o:p></o:p></p>
<p class="Code">Booting libraries/process/<o:p></o:p></p>
<p class="Code">Booting libraries/terminfo/<o:p></o:p></p>
<p class="Code">Booting libraries/time/<o:p></o:p></p>
<p class="Code">Booting libraries/unix/<o:p></o:p></p>
<p class="Code"><b><span style="color:red">./configure: line 2534: cannot create temp file for here-document: Device or resource busy<o:p></o:p></span></b></p>
<p class="Code">checking for gfind... no<o:p></o:p></p>
<p class="Code">checking for find... /usr/bin/find<o:p></o:p></p>
<p class="Code">checking for sort... /usr/bin/sort<o:p></o:p></p>
<p class="Code">checking for GHC version date... inferred 8.5.20180402<o:p></o:p></p>
<p class="Code">checking for GHC Git commit id... inferred 6ae53e4f4af1a156a875e05a2c12efeaa2e7d902<o:p></o:p></p>
<p class="Code">checking for ghc... /c/fp/HP-8.2.2/bin/ghc<o:p></o:p></p>
<p class="Code">checking version of ghc... 8.2.2<o:p></o:p></p>
<p class="Code">GHC path canonicalised to: c:/fp/HP-8.2.2/bin/ghc<o:p></o:p></p>
<p class="Code">checking build system type... x86_64-pc-mingw64<o:p></o:p></p>
<p class="Code">checking host system type... x86_64-pc-mingw64<o:p></o:p></p>
<p class="Code">checking target system type... x86_64-pc-mingw64<o:p></o:p></p>
<p class="Code">Build platform inferred as: x86_64-unknown-mingw32<o:p></o:p></p>
<p class="Code">Host platform inferred as: x86_64-unknown-mingw32<o:p></o:p></p>
<p class="Code">Target platform inferred as: x86_64-unknown-mingw32<o:p></o:p></p>
<p class="Code">GHC build : x86_64-unknown-mingw32<o:p></o:p></p>
<p class="Code">GHC host : x86_64-unknown-mingw32<o:p></o:p></p>
<p class="Code">GHC target : x86_64-unknown-mingw32<o:p></o:p></p>
<p class="Code">LLVM target: x86_64-unknown-windows<o:p></o:p></p>
<p class="Code">checking for path to top of build tree... C:/code/HEAD<o:p></o:p></p>
<p class="Code">configure: Checking for Windows toolchain tarballs...<o:p></o:p></p>
<p class="Code">configure: Extracting Windows toolchain from archives (may take a while)...<o:p></o:p></p>
<p class="Code">configure: In-tree MingW-w64 tree created<o:p></o:p></p>
<p class="Code">checking for genlib... no<o:p></o:p></p>
<p class="Code">configure: Making in-tree perl tree<o:p></o:p></p>
<p class="Code">configure: In-tree perl tree created<o:p></o:p></p>
<p class="Code">checking for -windres... no<o:p></o:p></p>
<p class="Code">checking for windres... windres<o:p></o:p></p>
<p class="Code">checking for -dllwrap... no<o:p></o:p></p>
<p class="Code">checking for dllwrap... dllwrap<o:p></o:p></p>
<p class="Code">checking for -objdump... C:/code/HEAD/inplace/mingw/bin/objdump.exe<o:p></o:p></p>
<p class="Code">./configure: line 5421: cannot create temp file for here-document: Device or resource busy<o:p></o:p></p>
<p class="Code"><b><span style="color:red">checking whether the C compiler works... no<o:p></o:p></span></b></p>
<p class="Code">sed: can't read conftest.c: No such file or directory<o:p></o:p></p>
<p class="Code">configure: error: in `/c/code/HEAD':<o:p></o:p></p>
<p class="Code">configure: error: C compiler cannot create executables<o:p></o:p></p>
<p class="Code">See `config.log' for more details<o:p></o:p></p>
<p class="MsoNormal">$<o:p></o:p></p>
<p class="MsoNormal"><b>Log 2: run of “./configure”<o:p></o:p></b></p>
<p class="Code">$ ./configure <o:p></o:p></p>
<p class="Code"><b><span style="color:red">./configure: line 2542: cannot create temp file for here-document: Device or resource busy<o:p></o:p></span></b></p>
<p class="Code">configure: loading site script /usr/local/etc/config.site<o:p></o:p></p>
<p class="Code">checking for gfind... no<o:p></o:p></p>
<p class="Code">checking for find... /usr/bin/find<o:p></o:p></p>
<p class="Code">checking for sort... /usr/bin/sort<o:p></o:p></p>
<p class="Code">checking for GHC version date... inferred 8.5.20180402<o:p></o:p></p>
<p class="Code">checking for GHC Git commit id... inferred 6ae53e4f4af1a156a875e05a2c12efeaa2e7d902<o:p></o:p></p>
<p class="Code">checking for ghc... /c/fp/HP-8.2.2/bin/ghc<o:p></o:p></p>
<p class="Code">checking version of ghc... 8.2.2<o:p></o:p></p>
<p class="Code">GHC path canonicalised to: c:/fp/HP-8.2.2/bin/ghc<o:p></o:p></p>
<p class="Code">checking build system type... x86_64-w64-mingw32<o:p></o:p></p>
<p class="Code">checking host system type... x86_64-w64-mingw32<o:p></o:p></p>
<p class="Code">checking target system type... x86_64-w64-mingw32<o:p></o:p></p>
<p class="Code">Host platform inferred as: x86_64-unknown-mingw32<o:p></o:p></p>
<p class="Code">Target platform inferred as: x86_64-unknown-mingw32<o:p></o:p></p>
<p class="Code">GHC build : x86_64-unknown-mingw32<o:p></o:p></p>
<p class="Code">GHC host : x86_64-unknown-mingw32<o:p></o:p></p>
<p class="Code">GHC target : x86_64-unknown-mingw32<o:p></o:p></p>
<p class="Code">LLVM target: x86_64-unknown-windows<o:p></o:p></p>
<p class="Code">checking for path to top of build tree... C:/code/HEAD<o:p></o:p></p>
<p class="Code">configure: Checking for Windows toolchain tarballs...<o:p></o:p></p>
<p class="Code">checking for genlib... no<o:p></o:p></p>
<p class="Code">checking for -windres... no<o:p></o:p></p>
<p class="Code">checking for -dllwrap... no<o:p></o:p></p>
<p class="Code">checking for -objdump... C:/code/HEAD/inplace/mingw/bin/objdump.exe<o:p></o:p></p>
<p class="Code"><b><span style="color:red">checking whether the C compiler works... yes<o:p></o:p></span></b></p>
<p class="Code">checking for C compiler default output file name... a.exe<o:p></o:p></p>
<p class="Code">checking for suffix of executables... .exe<o:p></o:p></p>
<p class="Code">checking whether we are cross compiling... no<o:p></o:p></p>
<p class="Code">checking for suffix of object files... o<o:p></o:p></p>
<p class="Code">checking whether we are using the GNU C compiler... yes<o:p></o:p></p>
<p class="Code"><b><span style="color:red">checking whether C:/code/HEAD/inplace/mingw/bin/gcc.exe accepts -g... ./configure: line 5717: cannot create temp file for here-document: Device or resource busy<o:p></o:p></span></b></p>
<p class="Code"><b><span style="color:red">sed: can't read conftest.c: No such file or directory<o:p></o:p></span></b></p>
<p class="Code"><b><span style="color:red">no<o:p></o:p></span></b></p>
<p class="Code">checking for C:/code/HEAD/inplace/mingw/bin/gcc.exe option to accept ISO C89... ./configure: line 5793: cannot create temp file for here-document: Device or resource busy<o:p></o:p></p>
<p class="Code">sed: can't read conftest.c: No such file or directory<o:p></o:p></p>
<p class="Code">sed: can't read conftest.c: No such file or directory<o:p></o:p></p>
<p class="Code">sed: can't read conftest.c: No such file or directory<o:p></o:p></p>
<p class="Code">sed: can't read conftest.c: No such file or directory<o:p></o:p></p>
<p class="Code">sed: can't read conftest.c: No such file or directory<o:p></o:p></p>
<p class="Code">sed: can't read conftest.c: No such file or directory<o:p></o:p></p>
<p class="Code">sed: can't read conftest.c: No such file or directory<o:p></o:p></p>
<p class="Code">unsupported<o:p></o:p></p>
<p class="Code">checking how to run the C preprocessor... C:/code/HEAD/inplace/mingw/bin/gcc.exe -E<o:p></o:p></p>
<p class="Code">checking for grep that handles long lines and -e... /usr/bin/grep<o:p></o:p></p>
<p class="Code">checking for egrep... /usr/bin/grep -E<o:p></o:p></p>
<p class="Code">checking for ANSI C header files... yes<o:p></o:p></p>
<p class="Code">checking for sys/types.h... yes<o:p></o:p></p>
<p class="Code">checking for sys/stat.h... yes<o:p></o:p></p>
<p class="Code">checking for stdlib.h... yes<o:p></o:p></p>
<p class="Code">checking for string.h... yes<o:p></o:p></p>
<p class="Code">checking for memory.h... yes<o:p></o:p></p>
<p class="Code">checking for strings.h... yes<o:p></o:p></p>
<p class="Code">checking for inttypes.h... yes<o:p></o:p></p>
<p class="Code">checking for stdint.h... yes<o:p></o:p></p>
<p class="Code">checking for unistd.h... yes<o:p></o:p></p>
<p class="Code">checking minix/config.h usability... no<o:p></o:p></p>
<p class="Code">checking minix/config.h presence... ./configure: line 1796: cannot create temp file for here-document: Device or resource busy<o:p></o:p></p>
<p class="Code">sed: can't read conftest.c: No such file or directory<o:p></o:p></p>
<p class="Code">no<o:p></o:p></p>
<p class="Code">checking for minix/config.h... no<o:p></o:p></p>
<p class="Code">checking whether it is safe to define __EXTENSIONS__... yes<o:p></o:p></p>
<p class="Code">checking how to run the C preprocessor... C:/code/HEAD/inplace/mingw/bin/gcc.exe -E<o:p></o:p></p>
<p class="Code">checking for C:/code/HEAD/inplace/mingw/bin/gcc.exe option to accept ISO C99... none needed<o:p></o:p></p>
<p class="Code">checking for C:/fp/HP-8.2.2/lib/../mingw/bin/gcc.exe option to accept ISO C99... none needed<o:p></o:p></p>
<p class="Code">checking for C:/code/HEAD/inplace/mingw/bin/gcc.exe option to accept ISO C99... none needed<o:p></o:p></p>
<p class="Code">checking for C:/code/HEAD/inplace/mingw/bin/gcc.exe option to accept ISO C99... none needed<o:p></o:p></p>
<p class="Code">checking for -ld... C:/code/HEAD/inplace/mingw/bin/ld.exe<o:p></o:p></p>
<p class="Code">checking whether ld is GNU ld... YES<o:p></o:p></p>
<p class="Code">checking whether ld understands --build-id... yes<o:p></o:p></p>
<p class="Code">checking whether ld understands -no_compact_unwind... yes<o:p></o:p></p>
<p class="Code">checking whether ld understands -filelist... no<o:p></o:p></p>
<p class="Code">checking for -objdump... (cached) C:/code/HEAD/inplace/mingw/bin/objdump.exe<o:p></o:p></p>
<p class="Code">checking for ranlib... C:/code/HEAD/inplace/mingw/bin/ranlib.exe<o:p></o:p></p>
<p class="Code">checking for -strip... no<o:p></o:p></p>
<p class="Code">checking for libtool... /usr/bin/libtool<o:p></o:p></p>
<p class="Code">checking for -clang... no<o:p></o:p></p>
<p class="Code">checking for llc-5.0... no<o:p></o:p></p>
<p class="Code">checking for llc... no<o:p></o:p></p>
<p class="Code">checking for opt-5.0... no<o:p></o:p></p>
<p class="Code">checking for opt... no<o:p></o:p></p>
<p class="Code">configure: Creating links for in-tree file handling routines.<o:p></o:p></p>
<p class="Code">'utils/lndir/fs.c' => 'utils/fs/fs.c'<o:p></o:p></p>
<p class="Code">'utils/lndir/fs.h' => 'utils/fs/fs.h'<o:p></o:p></p>
<p class="Code">'utils/unlit/fs.c' => 'utils/fs/fs.c'<o:p></o:p></p>
<p class="Code">'utils/unlit/fs.h' => 'utils/fs/fs.h'<o:p></o:p></p>
<p class="Code">'rts/fs.c' => 'utils/fs/fs.c'<o:p></o:p></p>
<p class="Code">'rts/fs.h' => 'utils/fs/fs.h'<o:p></o:p></p>
<p class="Code">'libraries/base/include/fs.h' => 'utils/fs/fs.h'<o:p></o:p></p>
<p class="Code">'libraries/base/cbits/fs.c' => 'utils/fs/fs.c'<o:p></o:p></p>
<p class="Code">configure: Routines in place. Packages can now be build normally.<o:p></o:p></p>
<p class="Code">checking whether #! works in shell scripts... yes<o:p></o:p></p>
<p class="Code">checking version of gcc... 7.2.0<o:p></o:p></p>
<p class="Code">checking whether GCC supports -no-pie... yes<o:p></o:p></p>
<p class="Code">checking for extra options to pass gcc when compiling via C... -fwrapv -fno-builtin<o:p></o:p></p>
<p class="Code">checking whether C compiler is clang... no<o:p></o:p></p>
<p class="Code">checking whether C compiler has an LLVM back end... no<o:p></o:p></p>
<p class="Code">checking Setting up CFLAGS, LDFLAGS, IGNORE_LINKER_LD_FLAGS and CPPFLAGS... done<o:p></o:p></p>
<p class="Code">checking Setting up CONF_CC_OPTS_STAGE0, CONF_GCC_LINKER_OPTS_STAGE0, CONF_LD_LINKER_OPTS_STAGE0 and CONF_CPP_OPTS_STAGE0... done<o:p></o:p></p>
<p class="Code">checking Setting up CONF_CC_OPTS_STAGE1, CONF_GCC_LINKER_OPTS_STAGE1, CONF_LD_LINKER_OPTS_STAGE1 and CONF_CPP_OPTS_STAGE1... done<o:p></o:p></p>
<p class="Code">checking Setting up CONF_CC_OPTS_STAGE2, CONF_GCC_LINKER_OPTS_STAGE2, CONF_LD_LINKER_OPTS_STAGE2 and CONF_CPP_OPTS_STAGE2... done<o:p></o:p></p>
<p class="Code">checking for .subsections_via_symbols... no<o:p></o:p></p>
<p class="Code">checking whether your assembler supports .ident directive... yes<o:p></o:p></p>
<p class="Code">checking for GNU non-executable stack support... no<o:p></o:p></p>
<p class="Code">checking for a working context diff... diff -U 1<o:p></o:p></p>
<p class="Code">checking for a BSD-compatible install... /usr/bin/install -c<o:p></o:p></p>
<p class="Code">checking whether C:/code/HEAD/inplace/mingw/bin/ar.exe is GNU ar... yes<o:p></o:p></p>
<p class="Code">checking for ar arguments... q<o:p></o:p></p>
<p class="Code">checking whether C:/code/HEAD/inplace/mingw/bin/ar.exe supports @file... yes<span style="font-size:11.0pt;font-family:"Calibri",sans-serif"><o:p></o:p></span></p>
</div>
</body>
</html>