From owner-freebsd-stable Thu Sep 3 07:58:01 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id HAA26767 for freebsd-stable-outgoing; Thu, 3 Sep 1998 07:58:01 -0700 (PDT) (envelope-from owner-freebsd-stable@FreeBSD.ORG) Received: from arjun.niksun.com (gw.niksun.com [206.20.52.122]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id HAA26760 for ; Thu, 3 Sep 1998 07:57:57 -0700 (PDT) (envelope-from ath@niksun.com) Received: from stiegl.niksun.com (stiegl.niksun.com [10.0.0.44]) by arjun.niksun.com (8.8.8/8.8.8) with ESMTP id LAA28187; Thu, 3 Sep 1998 11:10:31 -0400 (EDT) Received: (from ath@localhost) by stiegl.niksun.com (8.8.7/8.8.7) id KAA21174; Thu, 3 Sep 1998 10:56:44 -0400 (EDT) (envelope-from ath) To: Spencer Chan , freebsd-stable@FreeBSD.ORG Subject: Re: yacc error References: From: Andrew Heybey Date: 03 Sep 1998 10:56:43 -0400 In-Reply-To: Spencer Chan's message of Thu, 3 Sep 1998 17:57:29 +0800 (CST) Message-ID: <85soi92qj8.fsf@stiegl.niksun.com> Lines: 47 X-Mailer: Gnus v5.3/Emacs 19.34 Sender: owner-freebsd-stable@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG > After cvsup -stable to 2.2.5-RELEASE source tree, make world stops > complaining the followings : > > But my yacc do not have the -o option, any help? > > Regards, > Spencer CHAN > > > To Unsubscribe: send mail to majordomo@FreeBSD.org > with "unsubscribe freebsd-stable" in the body of the message > I just tried to do exactly the same thing yesterday. You need the following patch (which I grabbed out of the mailing list archives--sorry for the lack of attribution to the originator). It causes yacc to be built as one of the bootstrap tools. RCS file: /usr/fbsdcvs/src/Makefile,v retrieving revision 1.109.2.33 diff -c -r1.109.2.33 Makefile *** Makefile 1998/07/03 14:28:32 1.109.2.33 --- Makefile 1998/09/02 19:58:10 *************** *** 445,450 **** --- 445,453 ---- cd ${.CURDIR}/usr.bin/xinstall && ${MAKE} depend && \ ${MAKE} ${MK_FLAGS} all && \ ${MAKE} ${MK_FLAGS} -B install ${CLEANDIR} ${OBJDIR} + cd ${.CURDIR}/usr.bin/yacc; ${MAKE} ${MK_FLAGS} ${_DEPEND}; \ + ${MAKE} ${MK_FLAGS} all; \ + ${MAKE} ${MK_FLAGS} -B install ${CLEANDIR} ${OBJDIR} cd ${.CURDIR}/usr.bin/lex && ${MAKE} bootstrap && ${MAKE} depend && \ ${MAKE} ${MK_FLAGS} -DNOLIB all && \ ${MAKE} ${MK_FLAGS} -DNOLIB -B install ${CLEANDIR} However, your build will still die trying to compile compile_et. There was a piece of mail from earlier today with a patch to fix this, though I haven't tried it yet. Yesterday I made the build work by diking out the compile_et from /usr/src/Makefile, then copying my existing compile_et binary into /usr/obj/tmp/bin while the make buildworld was running. andrew To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-stable" in the body of the message