From owner-freebsd-current Mon Dec 13 1:57:57 1999 Delivered-To: freebsd-current@freebsd.org Received: from mail.scc.nl (node1374.a2000.nl [62.108.19.116]) by hub.freebsd.org (Postfix) with ESMTP id 9B1B015027 for ; Mon, 13 Dec 1999 01:57:51 -0800 (PST) (envelope-from freebsd-current@scc.nl) Received: (from daemon@localhost) by mail.scc.nl (8.9.3/8.9.3) id KAA35871 for current@FreeBSD.org; Mon, 13 Dec 1999 10:42:40 +0100 (CET) (envelope-from freebsd-current@scc.nl) Received: from GATEWAY by dwarf.hq.scc.nl with netnews for current@FreeBSD.org (current@FreeBSD.org) To: current@FreeBSD.org Date: Mon, 13 Dec 1999 10:42:36 +0100 From: Marcel Moolenaar Message-ID: <3854BF8C.ED803CBD@scc.nl> Organization: SCC vof Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit References: <99Dec13.132333est.40338@border.alcanet.com.au>, <99Dec13.154631est.40324@border.alcanet.com.au> Subject: Re: make world broken building fortunes Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG Peter Jeremy wrote: > > >===> games/fortune/datfiles > >PATH=$PATH:/usr/games:/usr/obj/3.0/cvs/src/games/fortune/datfiles/../strfile strfile -Crs /3.0/cvs/src/games/fortune/datfiles/fortunes fortunes.dat > >strfile: illegal option -- C > >strfile [-iorsx] [-c char] sourcefile [datafile] > >*** Error code 1 This is exactly why strfile is built as a tool. > Well, the following fixes that problem for me: > .for f in fortunes fortunes2 fortunes2-o limerick startrek zippy > $f.dat: $f > - PATH=$$PATH:/usr/games:${.OBJDIR}/../strfile \ > + LD_LIBRARY_PATH=${LIBRARY_PATH} \ > + PATH=${.OBJDIR}/../strfile:$$PATH:/usr/games \ > strfile -Crs ${.ALLSRC} ${.TARGET} > .endfor The problem basicly is that the strfile tool is installed in /usr/obj/.../usr/games, which isn't in the path. I think the easiest solution would be (instead of your patches of course): Index: Makefile.inc1 =================================================================== RCS file: /home/ncvs/src/Makefile.inc1,v retrieving revision 1.106 diff -u -r1.106 Makefile.inc1 --- Makefile.inc1 1999/12/12 22:24:08 1.106 +++ Makefile.inc1 1999/12/13 09:40:16 @@ -113,7 +113,7 @@ OBJTREE= ${MAKEOBJDIRPREFIX}/${MACHINE_ARCH} .endif WORLDTMP= ${OBJTREE}${.CURDIR}/${BUILD_ARCH} -STRICTTMPPATH= ${WORLDTMP}/bin:${WORLDTMP}/usr/bin +STRICTTMPPATH= ${WORLDTMP}/bin:${WORLDTMP}/usr/bin:${WORLDTMP}/usr/games TMPPATH= ${STRICTTMPPATH}:${PATH} # bootstrap/tools make Can you try it and tell me if that works? > And buildworld then dies at: > > colldef -I /3.0/cvs/src/share/colldef -o ru_SU.ISO_8859-5.out /3.0/cvs/src/share/colldef/ru_SU.ISO_8859-5.src > colldef: syntax error near line 1 > *** Error code 69 Yes. I had it built as a tool in my tests, but got lost somehow in the final commit. Thanks, -- Marcel Moolenaar mailto:marcel@scc.nl SCC Internetworking & Databases http://www.scc.nl/ The FreeBSD project mailto:marcel@FreeBSD.org To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message