<div dir="auto">Hi Sam, I have some good news, but mostly bad news.</div><pre style="white-space:pre-wrap;background-color:rgb(255,255,255)"><div dir="auto">>
> Please do let me know if anybody can figure out how to compile the</div><div dir="auto">> missing library!
</div></pre><div dir="auto">To answer your last point first, Franklin Chen figured out how to compile the library</div><div dir="auto">-- it's a two-line fix, that gets three .dlls to compile.</div><div dir="auto">See around line 220 in here: <div><a href="https://github.com/FranklinChen/hugs98-plus-Sep2006/blob/master/packages/base/include/HsBase.h">https://github.com/FranklinChen/hugs98-plus-Sep2006/blob/master/packages/base/include/HsBase.h</a>;</div><div dir="auto">also see the git change history for that header file.</div><div dir="auto"><br></div><div dir="auto">One piece of bad news is you can't simply apply that patch and continue the make:</div><div dir="auto">the make had already got three compile fails: Ptr.dll, Alloc.dll, Error.dll.</div><div dir="auto">So the error you report is somewhat later when something tries to grab</div><div dir="auto">Ptr.dll and it isn't there.</div><div dir="auto">You'd need to compile those three by hand, then restart the make.</div><div dir="auto">Given your goals, I think you'd do better to blow away what you have,</div><div dir="auto">unzip from the distro and start again. But wait!</div><div dir="auto"><br></div><div dir="auto">There are heaps more patches that Franklin applied, including some to other header files</div><div dir="auto">that are very similar to the fix to HsBase.h. So I'm nowhere near getting the make to finish.</div><div dir="auto"><br></div><div dir="auto">Furthermore I'm getting tripped up by bits of earlier installs hanging around.</div><div dir="auto">On Windows, Hugs holds stuff in Registry HKEY_CURRENT_USER.</div><div dir="auto">My attempted make keeps picking up directory names from there, then getting banjaxed.</div><div dir="auto"><br></div><div dir="auto">I haven't looked at the Mac install process to see if you'd run into that.</div></div><div dir="auto"><br></div><div dir="auto">> <span style="white-space:pre-wrap;background-color:rgb(255,255,255)">I had considered doing that [grabbibg binaries from elsewhere],</span></div><div dir="auto"><span style="white-space:pre-wrap;background-color:rgb(255,255,255)">> but I didn't want to start downloading</span></div><div dir="auto"><span style="white-space:pre-wrap;background-color:rgb(255,255,255)">> binaries because my entire interest in hugs is driven by a compulsion to</span></div><div dir="auto"><span style="background-color:rgb(253,253,253)">> </span><span style="white-space:pre-wrap;background-color:rgb(255,255,255)">be able to bootstrap a Haskell compiler with nothing but a C compiler to</span></div><div dir="auto"><span style="white-space:pre-wrap;background-color:rgb(255,255,255)">> hand and relying on pre-built binaries is as sinful as just using a</span></div><div dir="auto"><span style="background-color:rgb(253,253,253)">> </span><span style="white-space:pre-wrap;background-color:rgb(255,255,255)">pre-built ghc in that frame of mind.</span></div><pre style="white-space:pre-wrap;background-color:rgb(255,255,255)"><div dir="auto">Well the make uses a great variety of tools, not just gcc,</div><div dir="auto"> and including sed, grep and perl (I think).</div><div dir="auto"><br></div><div dir="auto">If you're worried about provenance,take a look in the top-level Makefile.</div><div dir="auto">It accesses two repos over the interwebs and seems to download stuff from them </div><div dir="auto">using 'darcs get'.</div><div dir="auto">Clearly a vector to introduce malware.</div><div dir="auto">(Not that I'm suggesting anybody's malicious, probably those repos are dead;</div><div dir="auto"> Joachim was particularly anxious to avoid any chance of Trojans getting into the build.)</div><div dir="auto"><br></div><div dir="auto">Please do have another crack. It'll be handy if you can turn up more fails.</div><div dir="auto"><br></div><div dir="auto">AntC</div></pre>