But be aware it's using imake so environment variables may be hardcoded into the generated Makefiles, so best to start with clean tree; perhaps 20 years since I used imake but maybe "make clean; make Makefiles" or something like that.
Try with LANG=C maybe? Or make -k and ignore.
What I meant was that /usr/bin/awk was broken in NetBSD-current and core dumped trying to build CDE. I fixed it in NetBSD-current. It's probably okay in 9.1.
Hi, I haven't tried it with NetBSD 9.x nor tried building CDE recently. CDE is old and not very active so there are bound to be issues. It does need ast-ksh from pkgsrc to compile; the pdksh that ships with NetBSD is not sufficient. Suggestions: maybe try an older release tag of CDE if available. Maybe try running make a few times, make -k if you can watch it and ignore one or two missing components, or start with a clean tree and try building it with LANG=C in your environment. Other than that you'll...
CDE builds again on NetBSD-current without any problems as of April 19th 2020. To build it needs the latest NetBSD base system containing a fix to /usr/bin/awk, and the latest pkgsrc which contains fixes to the ast-ksh package. So, with luck it'll build on NetBSD 10 without any problems too. http://www.netbsd.org/~ad/cde.png
CDE builds again on NetBSD without any problems as of April 19th 2020. To build it needs the latest NetBSD base system containing a fix to /usr/bin/awk, and the latest pkgsrc which contains fixes to the ast-ksh package. http://www.netbsd.org/~ad/cde.png