[go-nuts] Re: install go compiler without sudo right

2016-12-26 Thread peterGo
You tell us that you tried some stuff and it didn't work. The first step in debugging is to provide a simple, reproducible example. For example, here's a statement of a problem, a recipe for the Go boostrap compiler step, and a log of the output and the results. It's reproducible. Sudo is only r

[go-nuts] Re: install go compiler without sudo right

2016-12-25 Thread Dave Cheney
If it is is possible can you always post the complete failure log, including the commands you entered. My guess is one or more of these things have happened 1. You have one or more existing go installations on your system already 2. You have set GOROOT, you should not set GOROOT when compiling

[go-nuts] Re: install go compiler without sudo right

2016-12-25 Thread tungcheungleong
I was using all.bash, just tried make.bash. It failed for the same reason: ``` /go/src/runtime/os_linux.go:310: undefined: sigtable /go/src/runtime/os_linux.go:311: undefined: sigtable /go/src/runtime/signal1_unix.go:43: undefined: sigtable /go/src/runtime/signal1_unix.go:44: undefined: sigtable /g

[go-nuts] Re: install go compiler without sudo right

2016-12-23 Thread peterGo
Bill, The OP said: "I tried to install go1.4 then use it to install latest go." Then you asked the OP: "Do you want to use Go version 1.4 specifically for some reason?" Peter On Thursday, December 22, 2016 at 12:57:40 PM UTC-5, bill.h...@gmail.com wrote: > > Do you want to use Go version 1.4

[go-nuts] Re: install go compiler without sudo right

2016-12-22 Thread bill . hathaway
Do you want to use Go version 1.4 specifically for some reason? If not, I'd recommend going with the most recent stable release (1.7.4). Besides the git clone/build process Dave Cheney mentioned, you can download a binary build of the compiler/tools for Linux at: https://storage.googleapis.co

[go-nuts] Re: install go compiler without sudo right

2016-12-20 Thread tungcheungleong
lscpu output: ``` Architecture: x86_64 CPU op-mode(s):32-bit, 64-bit Byte Order:Little Endian CPU(s):4 On-line CPU(s) list: 0-3 Thread(s) per core:1 Core(s) per socket:4 Socket(s): 1 NUMA node(s): 1 Vendor ID: G

[go-nuts] Re: install go compiler without sudo right

2016-12-20 Thread Dave Cheney
Yes, it is possible to install Go without sudo, here is the procedure % git clone https://go.googlesource.com/go go1.4 % cd go1.4/src % git checkout release-branch.go1.4 % ./make.bash % cd ~ % git clone https://go.googlesource.com/go % cd go/src % git checkout release-branch.go1.7 % ./make.bash

[go-nuts] Re: install go compiler without sudo right

2016-12-20 Thread tungcheungleong
The server is running CENTOS 7.1.15 , Xeon(R) lscpu result ``` Architecture: x86_64 CPU op-mode(s):32-bit, 64-bit Byte Order:Little Endian CPU(s):4 On-line CPU(s) list: 0-3 Thread(s) per core:1 Core(s) per socket:4 Socket(s): 1 NUM