Skip site navigation (1)Skip section navigation (2)
Date:      03 Sep 1998 10:56:43 -0400
From:      Andrew Heybey <ath@niksun.com>
To:        Spencer Chan <spencer@gateway.com.hk>, freebsd-stable@FreeBSD.ORG
Subject:   Re: yacc error
Message-ID:  <85soi92qj8.fsf@stiegl.niksun.com>
In-Reply-To: Spencer Chan's message of Thu, 3 Sep 1998 17:57:29 %2B0800 (CST)
References:  <Pine.BSF.4.01.9809031753270.12585-100000@www.opencreative.com>

next in thread | previous in thread | raw e-mail | index | archive | help

> 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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?85soi92qj8.fsf>