<span style="color:rgb(34,34,34);font-size:13px;font-family:Arial,Helvetica,sans-serif">I&#39;m attempting to build ghc on NetBSD/amd64 by following the instructions at </span><a href="http://hackage.haskell.org/trac/ghc/wiki/Building/Porting" style="vertical-align:baseline;color:rgb(102,17,204);font-size:13px;font-family:Arial,Helvetica,sans-serif;text-decoration:none;margin:0px;border:0px;padding:0px" target="_blank">http://hackage.haskell.org/trac/ghc/wiki/Building/Porting</a><span style="color:rgb(34,34,34);font-size:13px;font-family:Arial,Helvetica,sans-serif">, but I haven&#39;t been able to get past the configure step on the target (see errors below). Where am I going wrong here? Alternatively, any ideas on where I can find pre-built binaries for this system? NetBSD/i386 would be easy, but I&#39;ve had no luck finding a 64-bit version.</span><div style="vertical-align:baseline;color:rgb(34,34,34);font-size:13px;font-family:Arial,Helvetica,sans-serif;margin:0px;border:0px;padding:0px">

<br></div><div style="vertical-align:baseline;color:rgb(34,34,34);font-size:13px;font-family:Arial,Helvetica,sans-serif;margin:0px;border:0px;padding:0px">Here&#39;s the configure error:<br>
<div style="margin:0px;padding:0px;border:0px;vertical-align:baseline"><br></div><div style="margin:0px;padding:0px;border:0px;vertical-align:baseline"><div style="margin:0px;padding:0px;border:0px;vertical-align:baseline">

./configure --enable-hc-boot --build=x86_64-unknown-netbsd --host=x86_64-unknown-netbsd --target=x86_64-unknown-netbsd</div><div style="margin:0px;padding:0px;border:0px;vertical-align:baseline">checking for gfind... no</div>

<div style="margin:0px;padding:0px;border:0px;vertical-align:baseline">checking for find... /usr/bin/find</div><div style="margin:0px;padding:0px;border:0px;vertical-align:baseline">checking for sort... /usr/bin/sort</div>

<div style="margin:0px;padding:0px;border:0px;vertical-align:baseline">checking for ghc... no</div><div style="margin:0px;padding:0px;border:0px;vertical-align:baseline">checking build system type... x86_64-unknown-netbsd</div>

<div style="margin:0px;padding:0px;border:0px;vertical-align:baseline">checking host system type... x86_64-unknown-netbsd</div><div style="margin:0px;padding:0px;border:0px;vertical-align:baseline">checking target system type... x86_64-unknown-netbsd</div>

<div style="margin:0px;padding:0px;border:0px;vertical-align:baseline">HOST: x86_64-unknown-netbsd</div><div style="margin:0px;padding:0px;border:0px;vertical-align:baseline">GHC build  : x86_64-unknown-netbsd</div><div style="margin:0px;padding:0px;border:0px;vertical-align:baseline">

GHC host   : x86_64-unknown-netbsd</div><div style="margin:0px;padding:0px;border:0px;vertical-align:baseline">GHC target : x86_64-unknown-netbsd</div><div style="margin:0px;padding:0px;border:0px;vertical-align:baseline">

configure: Building in-tree ghc-pwd</div><div style="margin:0px;padding:0px;border:0px;vertical-align:baseline">./configure[3900]: : cannot execute - Is a directory</div><div style="margin:0px;padding:0px;border:0px;vertical-align:baseline">

configure: error: Building ghc-pwd failed</div></div></div>