you forgot to
cd /go/src
. 9setup

On Mon, Oct 31, 2011 at 9:41 AM, Stanley Lieber
<stanley.lie...@gmail.com> wrote:
> On Mon, Oct 31, 2011 at 10:11 AM, ron minnich <rminn...@gmail.com> 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
>
>

Reply via email to