You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@mynewt.apache.org by Bill Rees <bi...@zglue.com> on 2017/03/08 02:10:56 UTC
building newt using go
I'm in a virtual box environment with Ubuntu yakkety and have installed go
1.6. When I build newt ala "go install" I see an error: "undefined
io.SeekCurrent" for which I can find no value.
Is this a sign of a bad install? A missing module?
Thanks,
Bill Rees
--
___________________________________________
: +1 (650) 533-4054 <(650)%20533-4054>
: zGlue Inc., Mountain View, CA
___________________________________________
Re: building newt using go
Posted by Christopher Collins <ch...@runtime.io>.
On Thu, Mar 09, 2017 at 07:52:58AM +0000, David Brown wrote:
> I would suggest we remove this particular dependency. Although it is nice
> to have symbolic names, go 1.6 is the latest version that is in a LTS
> ubuntu release, so I suspect it is the easiest version for a lot of people
> to have available.
>
> The symbol in question is just an integer constant.
[io.SeekCurrent]
That is a good idea. I didn't realize that symbol got added in 1.7. I
just used it because the Go docs said it is a replacement for a
deprecated symbol.
Chris
Re: building newt using go
Posted by David Brown <da...@linaro.org>.
I would suggest we remove this particular dependency. Although it is nice
to have symbolic names, go 1.6 is the latest version that is in a LTS
ubuntu release, so I suspect it is the easiest version for a lot of people
to have available.
The symbol in question is just an integer constant.
David
On Wed, Mar 8, 2017 at 9:18 AM aditi hilbert <ad...@runtime.io> wrote:
> Noted. The docs will be updated with the newer version.
>
> thanks,
> aditi
>
> > On Mar 8, 2017, at 3:36 AM, Simon Ratner <si...@proxy.co> wrote:
> >
> > Note to devs: docs still say "The Newt tool requires Go version 1.5 or
> > later."
> > http://mynewt.apache.org/latest/newt/install/newt_linux/
> >
> > On Tue, Mar 7, 2017 at 6:35 PM, Simon Ratner <si...@proxy.co> wrote:
> >
> >> Hey Bill,
> >>
> >> I ran into that recently, grab a newer version of go.
> >> This constant was added in 1.7: https://golang.org/doc/go1.7#io
> >>
> >> On Tue, Mar 7, 2017 at 6:10 PM, Bill Rees <bi...@zglue.com> wrote:
> >>
> >>> I'm in a virtual box environment with Ubuntu yakkety and have
> installed go
> >>> 1.6. When I build newt ala "go install" I see an error: "undefined
> >>> io.SeekCurrent" for which I can find no value.
> >>>
> >>> Is this a sign of a bad install? A missing module?
> >>>
> >>> Thanks,
> >>> Bill Rees
> >>>
> >>> --
> >>>
> >>> ___________________________________________
> >>> : +1 (650) 533-4054 <(650)%20533-4054> <(650)%20533-4054>
> >>> : zGlue Inc., Mountain View, CA
> >>> ___________________________________________
> >>>
> >>
> >>
>
>
Re: building newt using go
Posted by aditi hilbert <ad...@runtime.io>.
Noted. The docs will be updated with the newer version.
thanks,
aditi
> On Mar 8, 2017, at 3:36 AM, Simon Ratner <si...@proxy.co> wrote:
>
> Note to devs: docs still say "The Newt tool requires Go version 1.5 or
> later."
> http://mynewt.apache.org/latest/newt/install/newt_linux/
>
> On Tue, Mar 7, 2017 at 6:35 PM, Simon Ratner <si...@proxy.co> wrote:
>
>> Hey Bill,
>>
>> I ran into that recently, grab a newer version of go.
>> This constant was added in 1.7: https://golang.org/doc/go1.7#io
>>
>> On Tue, Mar 7, 2017 at 6:10 PM, Bill Rees <bi...@zglue.com> wrote:
>>
>>> I'm in a virtual box environment with Ubuntu yakkety and have installed go
>>> 1.6. When I build newt ala "go install" I see an error: "undefined
>>> io.SeekCurrent" for which I can find no value.
>>>
>>> Is this a sign of a bad install? A missing module?
>>>
>>> Thanks,
>>> Bill Rees
>>>
>>> --
>>>
>>> ___________________________________________
>>> : +1 (650) 533-4054 <(650)%20533-4054>
>>> : zGlue Inc., Mountain View, CA
>>> ___________________________________________
>>>
>>
>>
Re: building newt using go
Posted by Simon Ratner <si...@proxy.co>.
Note to devs: docs still say "The Newt tool requires Go version 1.5 or
later."
http://mynewt.apache.org/latest/newt/install/newt_linux/
On Tue, Mar 7, 2017 at 6:35 PM, Simon Ratner <si...@proxy.co> wrote:
> Hey Bill,
>
> I ran into that recently, grab a newer version of go.
> This constant was added in 1.7: https://golang.org/doc/go1.7#io
>
> On Tue, Mar 7, 2017 at 6:10 PM, Bill Rees <bi...@zglue.com> wrote:
>
>> I'm in a virtual box environment with Ubuntu yakkety and have installed go
>> 1.6. When I build newt ala "go install" I see an error: "undefined
>> io.SeekCurrent" for which I can find no value.
>>
>> Is this a sign of a bad install? A missing module?
>>
>> Thanks,
>> Bill Rees
>>
>> --
>>
>> ___________________________________________
>> : +1 (650) 533-4054 <(650)%20533-4054>
>> : zGlue Inc., Mountain View, CA
>> ___________________________________________
>>
>
>
Re: building newt using go
Posted by Bill Rees <bi...@zglue.com>.
Thanks! That is quite helpful.
On Tue, Mar 7, 2017 at 6:35 PM, Simon Ratner <si...@proxy.co> wrote:
> Hey Bill,
>
> I ran into that recently, grab a newer version of go.
> This constant was added in 1.7: https://golang.org/doc/go1.7#io
>
> On Tue, Mar 7, 2017 at 6:10 PM, Bill Rees <bi...@zglue.com> wrote:
>
> > I'm in a virtual box environment with Ubuntu yakkety and have installed
> go
> > 1.6. When I build newt ala "go install" I see an error: "undefined
> > io.SeekCurrent" for which I can find no value.
> >
> > Is this a sign of a bad install? A missing module?
> >
> > Thanks,
> > Bill Rees
> >
> > --
> >
> > ___________________________________________
> > : +1 (650) 533-4054 <(650)%20533-4054>
> > : zGlue Inc., Mountain View, CA
> > ___________________________________________
> >
>
--
___________________________________________
: +1 (650) 533-4054 <(650)%20533-4054>
: zGlue Inc., Mountain View, CA
___________________________________________
Re: building newt using go
Posted by Simon Ratner <si...@proxy.co>.
Hey Bill,
I ran into that recently, grab a newer version of go.
This constant was added in 1.7: https://golang.org/doc/go1.7#io
On Tue, Mar 7, 2017 at 6:10 PM, Bill Rees <bi...@zglue.com> wrote:
> I'm in a virtual box environment with Ubuntu yakkety and have installed go
> 1.6. When I build newt ala "go install" I see an error: "undefined
> io.SeekCurrent" for which I can find no value.
>
> Is this a sign of a bad install? A missing module?
>
> Thanks,
> Bill Rees
>
> --
>
> ___________________________________________
> : +1 (650) 533-4054 <(650)%20533-4054>
> : zGlue Inc., Mountain View, CA
> ___________________________________________
>