
I was able to fix my previous errors by adding -I/usr/local/bin. However I
am getting more errors later in the build.
In stage 2 of the cross compiling build I am getting errors at this phase:
$ cd H/ghc/lib
$ make clean
$ make -k UseStage1=YES EXTRA_HC_OPTS='-O -fvia-C -keep-hc-files'
------------------------------------------------------------------------
===fptools== Recursively making `all' in compat ...
PWD = /devel/build/NetBSD/ghc/ghc-6.4-host/ghc/lib
------------------------------------------------------------------------
------------------------------------------------------------------------
==fptools== gmake all -rk;
in /devel/build/NetBSD/ghc/ghc-6.4-host/ghc/lib/compat
------------------------------------------------------------------------
../../../ghc/compiler/stage1/ghc-inplace -H16m -O -H32m -I. -Rghc-timing
-I../../../libraries -fglasgow-exts -no-recomp -O -fvia-C -keep-hc-files
-c System/Directory/Internals.hs -o System/Directory/Internals.o -ohi
System/Directory/Internals.hi
System/Directory/Internals.hs:1:0:
Module `System.Directory.Internals' is a member of package base-1.0.
To compile this module, please use -ignore-package base-1.0.
<