Subject: Problem building libobj w/ today's sup & DESTDIR
To: None <current-users@NetBSD.ORG>
From: Bill Studenmund <skippy@macro.stanford.edu>
List: current-users
Date: 10/26/1997 18:14:33
When doing a make build UPDATE=1 -m /altroot/usr/share/mk within
a DESTDIR (= /altroot) environment, in src/gnu/usr.bin/gcc I get the
following.
===> common
===> cc1
===> cc1plus
===> cc1obj
===> libgcc
===> libobjc
cc -c -O -I/y2/cur.build/src/gnu/usr.bin/gcc/libobjc/../common -I/y2/cur.build/src/gnu/usr.bin/gcc/libobjc/../arch -I/y2/cur.build/src/gnu/usr.bin/gcc/libobjc/../arch/i386 -Werror -o NXConstStr.o NXConstStr.m
NXConstStr.m:22: objc/NXConstStr.h: No such file or directory
*** Error code 1
Stop.
*** Error code 1
Stop.
Should that be just NXConstStr.h? It's in the same directory as the
source. Or, should there be some -nostdinc -I/altroot/usr/include
additions when DESTDIR's set? $DESTDIR/usr/include/objc/NXConstStr.h does
exist.
Take care,
Bill