From mboxrd@z Thu Jan 1 00:00:00 1970 MIME-Version: 1.0 In-Reply-To: References: Date: Mon, 31 Oct 2011 10:08:39 -0700 Message-ID: From: ron minnich To: Fans of the OS Plan 9 from Bell Labs <9fans@9fans.net> Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Subject: Re: [9fans] native (mostly) go for plan9 Topicbox-Message-UUID: 3cced9c2-ead7-11e9-9d60-3106f5b1d025 you forgot to cd /go/src . 9setup On Mon, Oct 31, 2011 at 9:41 AM, Stanley Lieber wrote: > 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=3D"'^$GOOS^'"' '-DGOARCH=3D"'^$GOARCH^'"' > '-DGOROOT=3D"'^$GOROOT^'"' '-DGOVERSION=3D"'^$GOVERSION^'"' > ../../lib9/goos.c > rc: null list in concatenation > mk: $HOST_CC '-DGOOS=3D"'^$GOOS^'"' '-DGOARCH=3D"'^$GOARCH^'"' ... =A0: e= xit > status=3Drc 4238: error > mk: for (i in ... =A0: exit status=3Drc 4227: rc 4235: mk 4237: error > mk: for (i in ... =A0: exit status=3Drc 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: =A0 =A0 =A0 echo 'all.bash must be run from $GOROOT/src' 1>&2 > clean.bash: =A0 =A0 echo 'clean.bash must be run from $GOROOT/src' 1>&2 > clean.bash: =A0 =A0 $MAKE -C "$GOROOT/src/$i" clean > ditunix:(cd $GOROOT/src/libbio && make install) > ditunix:(cd $GOROOT/src/lib9 && =A0make 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: =A0 =A0 =A0echo 'make.bash must be run from $GOROOT/src' 1>&2 > make.bash:sed -e "s|@CC@|$CC|" < "$GOROOT"/src/quietgcc.bash > "$GOBIN"/q= uietgcc > make.bash: =A0 =A0 =A0cd "$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: =A0 =A0 =A0 builtin cd "$GOROOT"/src/$1 > sudo.bash: =A0 =A0 =A0sudo cp "$GOROOT"/src/cmd/$i/6$i /usr/local/bin/6$i > piro% GOROOT=3D/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=3D"'^$GOOS^'"' '-DGOARCH=3D"'^$GOARCH^'"' > '-DGOROOT=3D"'^$GOROOT^'"' '-DGOVERSION=3D"'^$GOVERSION^'"' > ../../lib9/goos.c > rc: null list in concatenation > mk: 8c '-DGOOS=3D"'^$GOOS^'"' '-DGOARCH=3D"'^$GOARCH^'"' ... =A0: exit > status=3Drc 4288: error > mk: for (i in ... =A0: exit status=3Drc 4253: rc 4273: mk 4275: error > mk: for (i in ... =A0: exit status=3Drc 4245: rc 4247: mk 4249: error > > -sl > >