Subject: Build fails (gettext/texinfo)
To: None <current-users@netbsd.org>
From: =?ISO-8859-15?Q?Andreas_M=F6ller?= <andreas-moeller@gmx.net>
List: current-users
Date: 03/31/2003 16:52:43
Hello!

I have got some difficulties building -current as of today (updated via
cvs at 16:00 CEST):

# ./build.sh tools kernel=GENERIC
[...]
cat: /usr/src/tools/texinfo/../../gnu/dist/texinfo/config.h.in: No such
file or directory
linking /usr/src/tools/texinfo/../../gnu/dist/texinfo/intl/libgettext.h
to intl/libintl.h
configure: error:
/usr/src/tools/texinfo/../../gnu/dist/texinfo/intl/libgettext.h: File
not found
*** Error code 1

Stop.
nbmake: stopped in /usr/src/tools/texinfo
*** Error code 1

Stop.
nbmake: stopped in /usr/src/tools/texinfo
*** Error code 1

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

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

I tried the procedure described in src/UPDATING, but without success:

# cd gnu/usr.bin/texinfo
# make MKINFO=no dependall install
dependall ===> common
CC=/usr/src/tools/obj/tools.NetBSD-1.6P-i386/bin/i386--netbsdelf-gcc
/usr/src/tools/obj/tools.NetBSD-1.6P-i386/bin/nbmkdep -a
-DGNULOCALEDIR=\"/usr/share/locale\"
-DLOCALE_ALIAS_PATH=\"/usr/share/locale:.\"
-I/usr/src/gnu/usr.bin/texinfo/common/../common
-I/usr/src/gnu/dist/texinfo/lib  -DLOCALEDIR=\"/usr/share/locale\"
-DHAVE_CONFIG_H -DENABLE_NLS=1 -DHAVE_GETTEXT=1 -DHAVE_LIBINTL_H=1
-nostdinc -isystem /usr/include
/usr/src/gnu/dist/texinfo/lib/substring.c
/usr/src/gnu/dist/texinfo/lib/xexit.c
/usr/src/gnu/dist/texinfo/lib/xmalloc.c
/usr/src/gnu/dist/texinfo/lib/xstrdup.c
/usr/src/tools/obj/tools.NetBSD-1.6P-i386/bin/nbmkdep: not found
*** Error code 127

Stop.
make: stopped in /usr/src/gnu/usr.bin/texinfo/common
*** Error code 1

Stop.
make: stopped in /usr/src/gnu/usr.bin/texinfo

I think that I need to build mkdep (and perhaps other tools)
first before I can update texinfo. Unfortunately I am unable to build
the tools (see first error).
So I guess that I have to build certain tools separately, but I don't 
know exactly how. Any help would be appreciated.

Thanks mutch in advance,

-Andreas

PS: The system is currently running NetBSD 1.6P from March 14th. I was
also unable to build gcc for the last couple of days (the build failed 
in toplev.c) but I don't have any logs at the moment.