Subject: Problems building tools re: groff
To: None <current-users@netbsd.org>
From: Glendon Gross <gross@xinetd.ath.cx>
List: current-users
Date: 10/16/2003 11:39:40
Here's my latest problem after running /usr/src/build.sh tools.  Does
anyone know a quick fix?  This happened after a cvs update -dP in
/usr/src.  Thanks in Advance.

[...]
dependall ===> groff
checking for gcc... cc
checking for C compiler default output... a.out
checking whether the C compiler works... yes
checking whether we are cross compiling... no
checking for suffix of executables...
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether cc accepts -g... yes
checking for cc option to accept ANSI C... none needed
checking whether we are using the GNU C++ compiler... no
checking whether c++ accepts -g... no
checking that C++ compiler can compile simple program... no
configure: error: a working C++ compiler is required

*** Failed target:  .configure_done
*** Failed command: (cd build && CC=cc CFLAGS=-O CPPFLAGS= CXX=c++ CXXFLAGS=-O INSTALL=/usr/src/obj/tooldir.NetBSD-1.6ZC-i386/bin/nbinstall\ -c\ \ -r LDFLAGS= LEX=/usr/src/obj/tooldir.NetBSD-1.6ZC-i386/bin/nblex PATH="/usr/src/obj/tooldir.NetBSD-1.6ZC-i386/bin:$PATH" YACC=/usr/src/obj/tooldir.NetBSD-1.6ZC-i386/bin/nbyacc sh /usr/src/tools/groff/../../gnu/dist/groff/configure --prefix=/usr/src/obj/tooldir.NetBSD-1.6ZC-i386 --disable-shared)
*** Error code 1

Stop.
nbmake: stopped in /usr/src/tools/groff

*** Failed target:  dependall
*** Failed command: cd /usr/src/tools/groff; /usr/src/obj/tooldir.NetBSD-1.6ZC-i386/bin/nbmake realall
*** Error code 1

Stop.
nbmake: stopped in /usr/src/tools/groff

*** Failed target:  dependall-groff
*** Failed command: targ=dependall;dir=groff; case "$dir" in /*) echo "$targ ===> $dir"; cd "$dir"; /usr/src/obj/tooldir.NetBSD-1.6ZC-i386/bin/nbmake "_THISDIR_=$dir/" $targ; ;; *) echo "$targ ===> $dir"; cd "/usr/src/tools/$dir"; /usr/src/obj/tooldir.NetBSD-1.6ZC-i386/bin/nbmake "_THISDIR_=$dir/" $targ; ;; esac
*** Error code 1

Stop.
nbmake: stopped in /usr/src/tools

ERROR: Failed to make tools
*** BUILD ABORTED ***
root@gospel:/usr/src > exit
exit
Script done on Thu Oct 16 10:27:21 2003