Subject: Re: bin/14160: you can't build src/tools with an normal user and even NOT as the root user
To: None <netbsd-bugs@netbsd.org>
From: Bernd Ernesti <netbsd@arresum.inka.de>
List: netbsd-bugs
Date: 10/05/2001 15:51:35
On Fri, Oct 05, 2001 at 02:22:28PM +0200, bernd@arresum.inka.de wrote:
[..]
> Ok, another try after install all the previous build programms:
>
> all ===> toolchain
> [..]
> mkdir .libs
> cc -W -Wall -O -o ld-new ldgram.o ldlex.o lexsup.o ldlang.o mri.o ldctor.o ldmain.o ldwrite.o ldexp.o ldemul.o ldver.o ldmisc.o ldfile.o ldcref.o eelf_i386.o ei386nbsd.o ../bfd/.libs/libbfd.a ../libiberty/libiberty.a
> gperf -L C -F ', 0, 0' -p -j1 -i 1 -g -o -t -G -N is_reserved_word -k1,3,$ /home/source/src/tools/toolchain/../../gnu/dist/toolchain/gcc/c-parse.gperf >tmp-gperf.h
> gperf: not found
> *** Error code 127
>
> A make install doesn't install a 'gperf' so this build has NO chance to ever
> finish.
Ok, I think the problem is in gnu/dist/toolchain/gcc/Makefile.in:
$(srcdir)/c-gperf.h: c-parse.gperf
gperf -L C -F ', 0, 0' -p -j1 -i 1 -g -o -t -G -N is_reserved_word \
-k1,3,$$ $(srcdir)/c-parse.gperf >tmp-gperf.h
$(srcdir)/move-if-change tmp-gperf.h $(srcdir)/c-gperf.h
[bernd@arresum]/src/gnu/dist/toolchain/gcc> ls -altT c-parse.* c-gperf.h
-rw-r--r-- 1 bernd wheel 154346 Mar 8 07:56:23 2001 c-parse.c
-rw-r--r-- 1 bernd wheel 1318 Mar 8 07:56:23 2001 c-parse.h
-rw-r--r-- 1 bernd wheel 2393 Jul 26 14:55:39 2000 c-parse.gperf
-rw-r--r-- 1 bernd wheel 86826 Jul 26 14:55:39 2000 c-parse.in
-rw-r--r-- 1 bernd wheel 67991 Jul 26 14:55:39 2000 c-parse.y
-rw-r--r-- 1 bernd wheel 6715 Jul 26 14:55:37 2000 c-gperf.h