From owner-freebsd-current Sun May 31 01:34:24 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id BAA23291 for freebsd-current-outgoing; Sun, 31 May 1998 01:34:24 -0700 (PDT) (envelope-from owner-freebsd-current@FreeBSD.ORG) Received: from tortuga.com.au (issi.tortuga.com.au [203.101.253.28]) by hub.freebsd.org (8.8.8/8.8.8) with SMTP id BAA23272 for ; Sun, 31 May 1998 01:34:08 -0700 (PDT) (envelope-from ianh@tortuga.com.au) Received: from frabjous.tortuga.com.au by tortuga.com.au (SMI-8.6/SMI-SVR4) id SAA22502; Sun, 31 May 1998 18:31:02 +1000 Received: (from ianh@localhost) by frabjous.tortuga.com.au (8.8.7/8.8.5) id SAA18663 for current@FreeBSD.ORG; Sun, 31 May 1998 18:29:12 +1000 (EST) From: Ian Holland Message-Id: <199805310829.SAA18663@frabjous.tortuga.com.au> Subject: bootstrap in make buildworld To: current@FreeBSD.ORG Date: Sun, 31 May 1998 18:29:10 +1000 (EST) X-Mailer: ELM [version 2.4ME+ PL22 (25)] MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG -current (CTM cvs-cur 4339) During a "make buildworld" on the aforementioned source view, the make failed with a syntax error on "yacc". Specifically, the "-o" option was not recognised. It appeared that the local (installed) version of "yacc" was being used: ie "yacc" from FreeBSD 2.2.5. My assumption was that "yacc" needs to be bootstraped a la "lex", "xinstall", etc. So, based on that assumption, I applied the following patch: *** Makefile.orig Sun May 31 17:54:22 1998 --- Makefile Sun May 31 18:02:18 1998 *************** *** 488,493 **** --- 488,496 ---- cd ${.CURDIR}/usr.bin/xinstall; ${MAKE} ${MK_FLAGS} ${_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} ${MK_FLAGS} ${_DEPEND}; \ ${MAKE} ${MK_FLAGS} -DNOLIB all; \ The version of the unadulterated Makefile was 1.190. Caveat: this is my first run at -current, so I may be completely off base. Feel free to point and chuckle. -- Ian Holland In a world without fences, ianh@tortuga.com.au Who needs Gates? To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message