Subject: More groff problems in ./build.sh distribution
To: None <current-users@netbsd.org>
From: Louis Guillaume <lguillaume@berklee.edu>
List: current-users
Date: 08/22/2003 17:55:33
Hello,

Today's patches to groff helped with the "./build.sh tools" problem I 
had earlier.

But now, when we try to build groff in the "distribution" target, it 
looks for eqn_tab.h and pic_tab.h (and I assume other preprocessing tool 
headers) in /usr/src/gnu/dist/groff/src/preproc/ rather than in 
/usr/src/gnu/usr.bin/groff/src/preproc/

Here's the error:


dependall ===> gnu/usr.bin/groff/src/preproc/pic
CC=/usr/src/obj/tooldir.NetBSD-1.6W-i386/bin/i386--netbsdelf-gcc 
/usr/src/obj/tooldir.NetBSD-1.6W-i386/bin/nbmkdep -f common.d 
-I/usr/src/gnu/dist/groff/src/preproc/pic -I. -DHAVE_CONFIG_H 
-I/usr/src/gnu/dist/groff/src/include -I/usr/src/gnu/usr.bin/grof
f/src/include  -nostdinc++ -isystem  /usr/src/dest.i386/usr/include/g++ 
   -nostdinc -isystem /usr/src/dest.i386/usr/include 
/usr/src/gnu/dist/groff/src/preproc/pic/common.cpp
CC=/usr/src/obj/tooldir.NetBSD-1.6W-i386/bin/i386--netbsdelf-gcc 
/usr/src/obj/tooldir.NetBSD-1.6W-i386/bin/nbmkdep -f lex.d 
-I/usr/src/gnu/dist/groff/src/preproc/pic -I. -DHAVE_CONFIG_H 
-I/usr/src/gnu/dist/groff/src/include -I/usr/src/gnu/usr.bin/groff/s
rc/include  -nostdinc++ -isystem  /usr/src/dest.i386/usr/include/g++ 
-nostdinc -isystem /usr/src/dest.i386/usr/include 
/usr/src/gnu/dist/groff/src/preproc/pic/lex.cpp
/usr/src/gnu/dist/groff/src/preproc/pic/lex.cpp:27: pic_tab.h: No such 
file or directory
nbmkdep: compile failed.
*** Error code 1

Stop.
nbmake: stopped in /usr/src/gnu/usr.bin/groff/src/preproc/pic



This was after I soft-linked 
/usr/src/gnu/usr.bin/groff/src/preproc/eqn/eqn_tab.h to 
/usr/src/gnu/dist/groff/src/preproc/eqn/eqn_tab.h (it gets through the 
eqn bit). Sorry about the ugly text wrapping


Louis