Subject: problems compiling groff?
To: None <current-users@netbsd.org>
From: Hisashi T Fujinaka <htodd@twofifty.com>
List: current-users
Date: 02/23/2004 21:59:51
I'm sure I saw someone else with this problem lately, but I'm not sure
I've seen any answers. I get this odd error trying to "build.sh tools".

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... yes
checking whether c++ accepts -g... yes
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=\
-I/usr/src/tools/compat/obj.i386\
-I/usr/src/tools/compat/obj.i386/include\ \
-I/usr/src/tools/groff/../compat\ -DHAVE_NBTOOL_CONFIG_H=1\ \
-D_FILE_OFFSET_BITS=64\ -D_NETBSD_SOURCE CXX=c++ CXXFLAGS=-O
INSTALL=/usr/src/obj.i386/tooldir.NetBSD-1.6ZK-i386/bin/nbinstall\ -c\ \
-r LDFLAGS= LEX=/usr/src/obj.i386/tooldir.NetBSD-1.6ZK-i386/bin/nblex
PATH="/usr/src/obj.i386/tooldir.NetBSD-1.6ZK-i386/bin:$PATH"
YACC=/usr/src/obj.i386/tooldir.NetBSD-1.6ZK-i386/bin/nbyacc sh
/usr/src/tools/groff/../../gnu/dist/groff/configure
--prefix=/usr/src/obj.i386/tooldir.NetBSD-1.6ZK-i386)
*** Error code 1

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

*** Failed target:  dependall
*** Failed command: cd /usr/src/tools/groff;
/usr/src/obj.i386/tooldir.NetBSD-1.6ZK-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.i386/tooldir.NetBSD-1.6ZK-i386/bin/nbmake "_THISDIR_=$dir/"
$targ; ;; *) echo "$targ ===> $dir"; cd "/usr/src/tools/$dir";
/usr/src/obj.i386/tooldir.NetBSD-1.6ZK-i386/bin/nbmake "_THISDIR_=$dir/"
$targ; ;; esac
*** Error code 1

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

ERROR: Failed to make tools
*** BUILD ABORTED ***


-- 
Hisashi T Fujinaka - htodd@twofifty.com
BSEE(6/86) + BSChem(3/95) + BAEnglish(8/95) + MSCS(8/03) + $2.50 = latte