Date: Thu, 3 Sep 1998 08:09:58 -0700 (PDT) From: "Michael V. Harding" <mvh@netcom.com> To: ath@niksun.com Cc: spencer@gateway.com.hk, freebsd-stable@FreeBSD.ORG Subject: Re: yacc error Message-ID: <199809031509.IAA12840@netcom1.netcom.com> In-Reply-To: <85soi92qj8.fsf@stiegl.niksun.com> (message from Andrew Heybey on 03 Sep 1998 10:56:43 -0400) References: <Pine.BSF.4.01.9809031753270.12585-100000@www.opencreative.com> <85soi92qj8.fsf@stiegl.niksun.com>
next in thread | previous in thread | raw e-mail | index | archive | help
Do a cvsup update- the fix has already been commited. I built world
already this morning.
From: Andrew Heybey <ath@niksun.com>
Date: 03 Sep 1998 10:56:43 -0400
Sender: owner-freebsd-stable@FreeBSD.ORG
X-Loop: FreeBSD.ORG
X-UIDL: 73345920349fe2abc521050bbcbc3823
> 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 <ilcooper@tasc.com> 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
To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-stable" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199809031509.IAA12840>
