From owner-freebsd-questions Wed Dec 4 13:49:04 1996 Return-Path: owner-questions Received: (from root@localhost) by freefall.freebsd.org (8.8.3/8.7.3) id NAA17441 for questions-outgoing; Wed, 4 Dec 1996 13:49:04 -0800 (PST) Received: from squirrel.tgsoft.com (sdts3-80.znet.com [207.167.65.80]) by freefall.freebsd.org (8.7.5/8.7.3) with ESMTP id NAA17433 for ; Wed, 4 Dec 1996 13:49:00 -0800 (PST) Received: (from thompson@localhost) by squirrel.tgsoft.com (8.8.3/8.6.12) id NAA25758; Wed, 4 Dec 1996 13:45:25 -0800 (PST) Date: Wed, 4 Dec 1996 13:45:25 -0800 (PST) Message-Id: <199612042145.NAA25758@squirrel.tgsoft.com> From: mark thompson To: freebsd-questions@freebsd.org Subject: building 2.2 Reply-to: thompson@znet.com Sender: owner-questions@freebsd.org X-Loop: FreeBSD.org Precedence: bulk I am trying to build 2.2 on a 2.1.6.1 system... I have an isolated build tree that is more or less copied from my system root. I type: chroot /u/build2.2/Root \ sh -c 'cd /usr/src && make -DNOPROFILE "-DSHARED=copies" world' It take off and things proceed apace for a while, then: ===> gnu/usr.bin/groff/troff rm -f a.out Errs errs mklog troff env.o node.o input.o div.o symbol.o dictionary.o reg.o number.o majorminor.o majorminor.cc troff.1 troff.1.gz rm -f .depend tags ===> gnu/usr.bin/groff/devX100 "Makefile", line 6: Could not find /usr/src/gnu/usr.bin/groff/devX100/../../../../contrib/groff/devX100/Makefile.sub Fatal errors encountered -- cannot continue *** Error code 1 Stop. The proximate cause of this is that the makefile is trying to .include "${DIST_DIR}/Makefile.sub" and this is set in ../Makefile.inc to: GROFF_DIST?= ${.CURDIR}/../../../../contrib/groff DIST_DIR= ${GROFF_DIST}/${.CURDIR:T} There are other problems during the clean step because in src/gnu/usr.bin/cc/Makefile.inc the following appears: .if !defined(GCCDIR) GCCDIR= ${.CURDIR}/../../../../contrib/gcc .PATH: ../cc_tools ${GCCDIR} ${GCCDIR}/cp ${GCCDIR}/objc Who is supposed to be setting these variables? Or am i supposed to have a contrib directory? Please respond to thompson@sd.znet.com -mark