From mboxrd@z Thu Jan 1 00:00:00 1970 MIME-Version: 1.0 In-Reply-To: References: From: Stanley Lieber Date: Mon, 31 Oct 2011 11:41:58 -0500 Message-ID: To: Fans of the OS Plan 9 from Bell Labs <9fans@9fans.net> Content-Type: text/plain; charset=UTF-8 Subject: Re: [9fans] native (mostly) go for plan9 Topicbox-Message-UUID: 3cc19406-ead7-11e9-9d60-3106f5b1d025 On Mon, Oct 31, 2011 at 10:11 AM, ron minnich wrote: [snip] > You can try it. Thanks, Ron. I ran into some problems: piro% cd piro% ls acme.dump bin books dump go gout img lib mkfile paint tmp piro% bind -ac . / piro% cd /go piro% cd 9/prebuilt piro% rc install piro% cd /go/src piro% mk install cmd cc warning: skipping missing include file: /src/9bootstrap.mk: '/src' directory entry not found ar vu cc.a8 y.tab.8 lex.8 mac.8 dcl.8 acid.8 godefs.8 bits.8 com.8 scon.8 funct.8 sub.8 com64.8 dpchk.8 omachcap.8 gc warning: skipping missing include file: /src/9bootstrap.mk: '/src' directory entry not found $HOST_CC '-DGOOS="'^$GOOS^'"' '-DGOARCH="'^$GOARCH^'"' '-DGOROOT="'^$GOROOT^'"' '-DGOVERSION="'^$GOVERSION^'"' ../../lib9/goos.c rc: null list in concatenation mk: $HOST_CC '-DGOOS="'^$GOOS^'"' '-DGOARCH="'^$GOARCH^'"' ... : exit status=rc 4238: error mk: for (i in ... : exit status=rc 4227: rc 4235: mk 4237: error mk: for (i in ... : exit status=rc 4219: rc 4221: mk 4223: error piro% grep -e '\/src' * Make.cmd:include $(QUOTED_GOROOT)/src/Make.common Make.pkg:include $(QUOTED_GOROOT)/src/Make.common all.bash: echo 'all.bash must be run from $GOROOT/src' 1>&2 clean.bash: echo 'clean.bash must be run from $GOROOT/src' 1>&2 clean.bash: $MAKE -C "$GOROOT/src/$i" clean ditunix:(cd $GOROOT/src/libbio && make install) ditunix:(cd $GOROOT/src/lib9 && make install) ditunix:(cd $GOROOT/src/./cmd/6l && sh -x ./ditunix) ditunix:(cd $GOROOT/src/./cmd/8a && sh -x ./ditunix) ditunix:(cd $GOROOT/src/./cmd/8l && sh -x ./ditunix) ditunix:(cd $GOROOT/src/./cmd/cc && sh -x ./ditunix) ditunix:(cd $GOROOT/src/./cmd/gc && sh -x ./ditunix) ditunix:(cd $GOROOT/src/./pkg/ && sh ./deps.bash && cp Make.deps mk.deps) make.bash: echo 'make.bash must be run from $GOROOT/src' 1>&2 make.bash:sed -e "s|@CC@|$CC|" < "$GOROOT"/src/quietgcc.bash > "$GOBIN"/quietgcc make.bash: cd "$GOROOT"/src/pkg; make.bash:bash "$GOROOT"/src/clean.bash mk.cmd:< $GOROOT/src/mk.common mk.pkg:< $GOROOT/src/mk.common quietgcc.bash:# The master for this file is $GOROOT/src/quietgcc.bash run.bash: builtin cd "$GOROOT"/src/$1 sudo.bash: sudo cp "$GOROOT"/src/cmd/$i/6$i /usr/local/bin/6$i piro% GOROOT=/go piro% mk install cmd cc ar vu cc.a8 y.tab.8 lex.8 mac.8 dcl.8 acid.8 godefs.8 bits.8 com.8 scon.8 funct.8 sub.8 com64.8 dpchk.8 omachcap.8 gc 8c '-DGOOS="'^$GOOS^'"' '-DGOARCH="'^$GOARCH^'"' '-DGOROOT="'^$GOROOT^'"' '-DGOVERSION="'^$GOVERSION^'"' ../../lib9/goos.c rc: null list in concatenation mk: 8c '-DGOOS="'^$GOOS^'"' '-DGOARCH="'^$GOARCH^'"' ... : exit status=rc 4288: error mk: for (i in ... : exit status=rc 4253: rc 4273: mk 4275: error mk: for (i in ... : exit status=rc 4245: rc 4247: mk 4249: error -sl