Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 13 Dec 1999 10:42:36 +0100
From:      Marcel Moolenaar <marcel@scc.nl>
To:        current@FreeBSD.org
Subject:   Re: make world broken building fortunes
Message-ID:  <3854BF8C.ED803CBD@scc.nl>
References:  <99Dec13.132333est.40338@border.alcanet.com.au>, <99Dec13.154631est.40324@border.alcanet.com.au>

next in thread | previous in thread | raw e-mail | index | archive | help
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




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?3854BF8C.ED803CBD>