> On Sep 17, 2015, at 5:39 PM, Peter Toth <[email protected]> wrote:
> 
> Hi,
> 
> Anyone has instructions for building go 1.5 on SmartOS?
> 

That’s what worked for me:

1) Install GO 1.4 from dot software:

git clone https://github.com/fibo/.software.git
# source it in your profile and in current session
[ -f ~/.bash_profile ] && grep 'source ~/.software/etc/profile' ~/.bash_profile 
|| echo 'source ~/.software/etc/profile' >> ~/.bash_profile && source 
~/.software/etc/profile
# you are done!
# Now lunch
 
$ .software_install Golang

2) Extract GO:
git clone https://go.googlesource.com/go <https://go.googlesource.com/go>

3) Build it:

export GOROOT_BOOTSTRAP=~/.software/opt/golang 
cd go/src
./all.bash

You may checkout 1.5 or 1.5.1 branches if needed.

- Alex.




-------------------------------------------
smartos-discuss
Archives: https://www.listbox.com/member/archive/184463/=now
RSS Feed: https://www.listbox.com/member/archive/rss/184463/25769125-55cfbc00
Modify Your Subscription: 
https://www.listbox.com/member/?member_id=25769125&id_secret=25769125-7688e9fb
Powered by Listbox: http://www.listbox.com

Reply via email to