edisonwsk / golang-on-cygwin

Automatically exported from code.google.com/p/golang-on-cygwin
BSD 3-Clause "New" or "Revised" License
2 stars 1 forks source link

Installation error #8

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. ./all.bash

What is the expected output? What do you see instead?

%%%% making cmd %%%%

rm -f *.o *.6 enam.c 6.out a.out y.tab.h y.tab.c cc.ao
rm -f *.o 6l  *.6 enam.c 6.out a.out
rm -f *.o 6a  *.6 enam.c 6.out a.out y.tab.h y.tab.c
rm -f *.o 6c  *.6 enam.c 6.out a.out
rm -f *.o 8l  *.8 enam.c 8.out a.out
rm -f *.o 8a  *.6 enam.c 6.out a.out y.tab.h y.tab.c
rm -f *.o 8c  *.8 8.out a.out
rm -f *.o 8g *.8 enam.c 8.out a.out
rm -f *.o 5l  *.5 enam.c 5.out a.out
rm -f *.o 5a  *.5 enam.c 5.out a.out y.tab.h y.tab.c
rm -f *.o 5c  *.5 enam.c 5.out a.out
rm -f *.o 5g *.5 enam.c 5.out a.out
rm -f *.[568o] enam.c [568].out a.out y.tab.h y.tab.c gc.ao  mkbuiltin1 
builtin.c _builtin.c
rm -f 6g enam.c 6.out a.out *.o *.6
rm -f *.o gopack
rm -f *.o 6nm
rm -f *.[568vq] cgo
rm -f *.o 6cov
rm -f *.[568vq] ebnflint
rm -f *.o godefs
rm -f *.[568vq] godoc
rm -f *.[568vq] gofmt
rm -f *.[568vq] goyacc
rm -f *.[568vq] hgpatch
rm -f *.o 6prof
mkenam: line 31: ed: command not found

What version of the product are you using? On what operating system?
Cygwin: CYGWIN_NT-6.1
OS: Windows 7

Please provide any additional information below.

Original issue reported on code.google.com by kengchew...@gmail.com on 4 Aug 2011 at 6:02

GoogleCodeExporter commented 9 years ago
You need to install 'ed'.  It's a standard cygwin package.

Original comment by clayton....@gmail.com on 9 Sep 2011 at 9:57

GoogleCodeExporter commented 9 years ago
Hi,

Thanks, problem resolved after installing 'ed' and 'bison'. But this came up 
next;

%%%% making pkg %%%%

cd runtime && make install
cd unicode && make install
cd sort && make install
cd math && make install
make[1]: Entering directory `/home/kengchew.soo/gocyg/src/pkg/runtime'
8g -o _go_.8 extern.go type.go
make[1]: Entering directory `/home/kengchew.soo/gocyg/src/pkg/unicode'
8g -o _go_.8 digit.go letter.go tables.go
make[1]: Entering directory `/home/kengchew.soo/gocyg/src/pkg/sort'
8g -o _go_.8 sort.go
make[1]: Entering directory `/home/kengchew.soo/gocyg/src/pkg/math'
8g -o _go_.8 asin.go atan.go atan2.go bits.go const.go exp.go fabs.go floor.go 
fmod.go hypot.go log.go pow.go pow10.go sin.go sinh.go sqrt.go tan.go tanh.go 
unsafe.go
8c -a proc.c >runtime.acid.386
rm -f _obj/sort.a
gopack grc _obj/sort.a _go_.8
8c -Ilinux -Ilinux/386 -wF   cgocall.c
rm -f _obj/unicode.a
rm -f _obj/math.a
8c -Ilinux -Ilinux/386 -wF   chan.c
gopack grc _obj/unicode.a _go_.8
gopack grc _obj/math.a _go_.8
8c -Ilinux -Ilinux/386 -wF   386/closure.c
make[1]: *** [/home/kengchew.soo/gocyg/pkg/linux_386/sort.a] Error 1
make[1]: Leaving directory `/home/kengchew.soo/gocyg/src/pkg/sort'
make: *** [sort.install] Error 2
8c -Ilinux -Ilinux/386 -wF   float.c
make: *** Waiting for unfinished jobs....
8c -Ilinux -Ilinux/386 -wF   hashmap.c
make[1]: *** [/home/kengchew.soo/gocyg/pkg/linux_386/math.a] Error 1
make[1]: Leaving directory `/home/kengchew.soo/gocyg/src/pkg/math'
8c -Ilinux -Ilinux/386 -wF   iface.c
make: *** [math.install] Error 2
quietgcc -o cgo2c cgo2c.c
make[1]: *** [/home/kengchew.soo/gocyg/pkg/linux_386/unicode.a] Error 1
make[1]: Leaving directory `/home/kengchew.soo/gocyg/src/pkg/unicode'
make: *** [unicode.install] Error 2
8c -Ilinux -Ilinux/386 -wF   mcache.c
8c -Ilinux -Ilinux/386 -wF   mcentral.c
8c -Ilinux -Ilinux/386 -wF   mem.c
8c -Ilinux -Ilinux/386 -wF   mfixalloc.c
8c -Ilinux -Ilinux/386 -wF   mgc0.c
8c -Ilinux -Ilinux/386 -wF   mheap.c
8c -Ilinux -Ilinux/386 -wF   mheapmap32.c
8c -Ilinux -Ilinux/386 -wF   msize.c
8c -Ilinux -Ilinux/386 -wF   print.c
8c -Ilinux -Ilinux/386 -wF   proc.c
8c -Ilinux -Ilinux/386 -wF   rune.c
8c -Ilinux -Ilinux/386 -wF   runtime.c
8c -Ilinux -Ilinux/386 -wF   linux/386/signal.c
8c -Ilinux -Ilinux/386 -wF   slice.c
8c -Ilinux -Ilinux/386 -wF   symtab.c
linux/386/signal.c:76 function args not checked: sigaltstack
8c -Ilinux -Ilinux/386 -wF   linux/thread.c
8c -Ilinux -Ilinux/386 -wF   386/traceback.c
8c -Ilinux -Ilinux/386 -wF   386/vlrt.c
./mkasmh.sh >386/asm.h.x
mv -f 386/asm.h.x 386/asm.h
8a 386/asm.s
8a linux/386/rt0.s
8a linux/386/sys.s
chmod 777 *.exe
8a 386/vlop.s
./cgo2c malloc.cgo > malloc.c.tmp
./cgo2c reflect.cgo > reflect.c.tmp
./cgo2c sema.cgo > sema.c.tmp
./cgo2c string.cgo > string.c.tmp
mv -f malloc.c.tmp malloc.c
mv -f string.c.tmp string.c
mv -f sema.c.tmp sema.c
mv -f reflect.c.tmp reflect.c
8c -Ilinux -Ilinux/386 -wF   malloc.c
8c -Ilinux -Ilinux/386 -wF   string.c
8c -Ilinux -Ilinux/386 -wF   sema.c
8c -Ilinux -Ilinux/386 -wF   reflect.c
rm -f _obj/runtime.a
gopack grc _obj/runtime.a _go_.8 asm.8 cgocall.8 chan.8 closure.8 float.8 
hashmap.8 iface.8 malloc.8 mcache.8 mcentral.8 mem.8 mfixalloc.8 mgc0.8 mheap.8 
mheapmap32.8 msize.8 print.8 proc.8 reflect.8 rune.8 runtime.8 rt0.8 sema.8 
signal.8 slice.8 string.8 symtab.8 sys.8 thread.8 traceback.8 vlop.8 vlrt.8
make[1]: *** [/home/kengchew.soo/gocyg/pkg/linux_386/runtime.a] Error 1
rm reflect.c string.c sema.c malloc.c
make[1]: Leaving directory `/home/kengchew.soo/gocyg/src/pkg/runtime'
make: *** [runtime.install] Error 2

Original comment by kengchew...@gmail.com on 7 Oct 2011 at 3:15