From mboxrd@z Thu Jan 1 00:00:00 1970 MIME-Version: 1.0 Date: Thu, 16 May 2013 18:31:47 -0400 Message-ID: From: lamg To: 9fans@9fans.net Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Subject: [9fans] Installing Go Topicbox-Message-UUID: 5935acf2-ead8-11e9-9d60-3106f5b1d025 Anyone has installed Go, the source code has Makefiles and bash scripts for building, it doesn=B4t seem to be for plan9. From mboxrd@z Thu Jan 1 00:00:00 1970 MIME-Version: 1.0 In-Reply-To: References: Date: Fri, 17 May 2013 00:32:59 +0200 Message-ID: From: Gorka Guardiola To: Fans of the OS Plan 9 from Bell Labs <9fans@9fans.net> Content-Type: multipart/alternative; boundary=089e010d9264dd30bc04dcdd7246 Subject: Re: [9fans] Installing Go Topicbox-Message-UUID: 5939afa0-ead8-11e9-9d60-3106f5b1d025 --089e010d9264dd30bc04dcdd7246 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable You have a script called all.rc which does the work. G. On Fri, May 17, 2013 at 12:31 AM, lamg wrote: > Anyone has installed Go, the source code has Makefiles and bash > scripts for building, it doesn=B4t seem to be for plan9. > > --=20 - curiosity sKilled the cat --089e010d9264dd30bc04dcdd7246 Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable
You have a script called all.rc which does the work.
<= br>
G.



On Fri, May 17, 2013 at 12:31 AM,= lamg <gort.andres000@gmail.com> wrote:
=A0Anyone has installed Go, the source code = has Makefiles and bash
scripts for building, it doesn=B4t seem to be for plan9.




--
- curiosity = sKilled the cat
--089e010d9264dd30bc04dcdd7246-- From mboxrd@z Thu Jan 1 00:00:00 1970 MIME-Version: 1.0 In-Reply-To: References: Date: Fri, 17 May 2013 00:34:07 +0200 Message-ID: From: Gorka Guardiola To: Fans of the OS Plan 9 from Bell Labs <9fans@9fans.net> Content-Type: multipart/alternative; boundary=00151757386aea80c404dcdd76ce Subject: Re: [9fans] Installing Go Topicbox-Message-UUID: 59318078-ead8-11e9-9d60-3106f5b1d025 --00151757386aea80c404dcdd76ce Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Sorry, you also need to get the tip (use hg to get the latest without saying you want a release) In arm you will need lucio=B4s patch. On Fri, May 17, 2013 at 12:32 AM, Gorka Guardiola wrote: > You have a script called all.rc which does the work. > > G. > > > > On Fri, May 17, 2013 at 12:31 AM, lamg wrote: > >> Anyone has installed Go, the source code has Makefiles and bash >> scripts for building, it doesn=B4t seem to be for plan9. >> >> > > > -- > - curiosity sKilled the cat > --=20 - curiosity sKilled the cat --00151757386aea80c404dcdd76ce Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable
Sorry, you also need to get the tip (use hg to get thelatest without saying you want a release)
In arm you will ne= ed lucio=B4s patch.


On Fri, May 17, 2013 at 12:32 AM, Gorka Guardiola <paurea@gmail.com>= wrote:
You have a script called all.rc which does the work.
<= br>
G.



On Fri, May 17, 2013 at 12:= 31 AM, lamg <gort.andres000@gmail.com> wrote:
=A0Anyone has installed Go, the source code = has Makefiles and bash
scripts for building, it doesn=B4t seem to be for plan9.




--
- curiosity sKilled the cat



--
- curiosity = sKilled the cat --00151757386aea80c404dcdd76ce-- From mboxrd@z Thu Jan 1 00:00:00 1970 Message-ID: To: 9fans@9fans.net Date: Fri, 17 May 2013 07:07:38 +0200 From: lucio@proxima.alt.za In-Reply-To: MIME-Version: 1.0 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable Subject: Re: [9fans] Installing Go Topicbox-Message-UUID: 593d63de-ead8-11e9-9d60-3106f5b1d025 To Gorka, specially, but anybody else who may wish to know: > Sorry, you also need to get the tip (use hg to get the > latest without saying you want a release) > In arm you will need lucio=C2=B4s patch. I've been caught up in a lot of different things and haven't been able to focus on Go for Plan 9, but I'll try to re-focus in the next few days. I'll try out the 1.1 release as soon as I get a chance and report back here with the outcome. ++L From mboxrd@z Thu Jan 1 00:00:00 1970 MIME-Version: 1.0 In-Reply-To: References: Date: Fri, 17 May 2013 08:08:11 +0200 Message-ID: From: "Peter A. Cejchan" To: Fans of the OS Plan 9 from Bell Labs <9fans@9fans.net> Content-Type: multipart/alternative; boundary=089e01536b4ecb931504dce3cef9 Subject: Re: [9fans] Installing Go Topicbox-Message-UUID: 59416c36-ead8-11e9-9d60-3106f5b1d025 --089e01536b4ecb931504dce3cef9 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable If all fails, you can try out what worked for me some time ago: version go-93dc7f0e302b compiles out-of the box. Prerequisites: kernel post-Aug2012 8* suite post-March2012 VERSION file is needed if hg is not installed. Mercurial is only needed to generate the top-level VERSION file. You can work around this by creating the file yourself after pulling the code from the repository. Either create a fake VERSION file echo fake >VERSION or one that matches what the dist tool would have printed. With sh: v=3D`hg log -r tip --template '+{node|short} {date|date}'` echo devel $v >VERSION Afterwards you can run tar to generate an archive that can be moved to any system and built without Mercurial. Cd to go/src and run: make.rc --- ++pac On Fri, May 17, 2013 at 7:07 AM, wrote: > To Gorka, specially, but anybody else who may wish to know: > > > Sorry, you also need to get the tip (use hg to get the > > latest without saying you want a release) > > In arm you will need lucio=C2=B4s patch. > > I've been caught up in a lot of different things and haven't been able > to focus on Go for Plan 9, but I'll try to re-focus in the next few > days. > > I'll try out the 1.1 release as soon as I get a chance and report back > here with the outcome. > > ++L > > > --089e01536b4ecb931504dce3cef9 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: quoted-printable
If all fails, you can try out what worked for me some= time ago:

version go-93dc7f0e302b compiles out-of the box.
Prere= quisites:
kernel post-Aug2012
8* suite post-March2012
VERSION file= is needed if hg is not installed.
Mercurial is only needed to generate the top-level VERSION file.
You can= work around this by creating the file yourself after
pulling the code f= rom the repository.
Either create a fake VERSION file
=C2=A0=C2=A0=C2= =A0 echo fake >VERSION
or one that matches what the dist tool would have printed. With sh:
=C2= =A0=C2=A0=C2=A0 v=3D`hg log -r tip --template '+{node|short} {date|date= }'`
=C2=A0=C2=A0=C2=A0 echo devel $v >VERSION
Afterwards you c= an run tar to generate an archive that can
be moved to any system and built without Mercurial.
Cd to go/src and run= :
=C2=A0=C2=A0=C2=A0 make.rc

---
++pac


On Fri, May 17, 2013 = at 7:07 AM, <lucio@proxima.alt.za> wrote:
To Gorka, specially, but anybody else who ma= y wish to know:

> Sorry, you also need to get the tip (use hg to get the
> latest without saying you want a release)
> In arm you will need lucio=C2=B4s patch.

I've been caught up in a lot of different things and haven't = been able
to focus on Go for Plan 9, but I'll try to re-focus in the next few
days.

I'll try out the 1.1 release as soon as I get a chance and report back<= br> here with the outcome.

++L



--089e01536b4ecb931504dce3cef9-- From mboxrd@z Thu Jan 1 00:00:00 1970 Message-ID: <2f47120625ff266ff494f5419660bb28@proxima.alt.za> To: 9fans@9fans.net Date: Fri, 17 May 2013 09:22:06 +0200 From: lucio@proxima.alt.za In-Reply-To: MIME-Version: 1.0 Content-Type: text/plain; charset="US-ASCII" Content-Transfer-Encoding: 7bit Subject: Re: [9fans] Installing Go Topicbox-Message-UUID: 59456e76-ead8-11e9-9d60-3106f5b1d025 > If all fails, you can try out what worked for me some time ago: Building the VERSION file is a minor glitch that seems too much bother to fix in any practical way: those who have HG installed would in any case not want it fixed :-( On the other hand, applying the patch required (and probably by now insufficient) to compile Go for the ARM is hard to do without HG, so I suppose that says that we are a bit behind the curve. I'm hoping to do at least some of the necessary catching up now that Go 1.1 has been released, but of course the port to plan9/arm is only one of many issues put on hold ahead of the 1.1 release. Feel free to ontact me (at my Gmail address ) if you have specific issues you want to discuss. Also, there are quite few developers lurking on go-nuts, that is a good place to make suggestions as well as to ask questions. ++L PS: The VERSION file is a permanent version of VERSION.cache that is generated by the more conventional Go builds. All Go builds delete VERSION.cache and create a fresh one, unless there is a VERSION file in which case the latter is used unchanged. What works for me is to share the GOROOT between NetBSD and Plan 9 and build the NetBSD version of Go first (I use "tip" normally). Before building on the Plan 9 servers, I rename $GOROOT/VERSION.cache to $GOROOT/VERSION. I am convinced that there isn't a mechanism that will please everyone; I'll be pleased to be proven wrong. Oh, I also need to delete VERSION before building on NetBSD and usually I forget to do it :-(