Date: Wed, 4 Dec 1996 13:45:25 -0800 (PST) From: mark thompson <thompson@tgsoft.com> To: freebsd-questions@freebsd.org Subject: building 2.2 Message-ID: <199612042145.NAA25758@squirrel.tgsoft.com>
next in thread | raw e-mail | index | archive | help
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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199612042145.NAA25758>
