[go-nuts] Re: unable to install go1.1.2

2021-04-22 Thread Brian Candler
On Thursday, 22 April 2021 at 13:45:52 UTC+1 manlio@gmail.com wrote: > The solution was to simply remove the `-Werror` warning in cmd/dist and > disable CGO with CGO_ENABLED=0 > Glad it's working. That's also one of the things you'll find

[go-nuts] Re: unable to install go1.1.2

2021-04-22 Thread Manlio Perillo
Il giorno giovedì 22 aprile 2021 alle 11:06:09 UTC+2 Manlio Perillo ha scritto: > I tried to install go1.1.2 on my system, without success. > > I encountered the following problems: > > 1. There is no binary release > 2. Compilation fails due to warnings: > warning "_BSD_SOURCE and

[go-nuts] Re: unable to install go1.1.2

2021-04-22 Thread Brian Candler
Ah well, if it's just for fun then please knock yourself out, but don't be surprised if compiling old code on new compilers turns up problems like this. My suggestion is firing up a VM containing a Linux distribution of similar vintage (say Ubuntu 12.04) and compile inside that. Aside: you'd

[go-nuts] Re: unable to install go1.1.2

2021-04-22 Thread Manlio Perillo
Il giorno giovedì 22 aprile 2021 alle 11:46:15 UTC+2 Manlio Perillo ha scritto: > [...] > About the gcc warnings, the _BSD_SOURCE and _SVID_SOURCE macros where > defined in include/u.h; after removing them I got 2 other warnings: > >- argument to 'sizeof' in 'strncpy' call is the same

[go-nuts] Re: unable to install go1.1.2

2021-04-22 Thread Manlio Perillo
Il giorno giovedì 22 aprile 2021 alle 11:24:41 UTC+2 Brian Candler ha scritto: > Could you describe what platform you are trying to build on? > > Also, could you explain why you need to build such an ancient version? > There may be a better solution to whatever you're trying to do. > My

[go-nuts] Re: unable to install go1.1.2

2021-04-22 Thread Brian Candler
Could you describe what platform you are trying to build on? Also, could you explain why you need to build such an ancient version? There may be a better solution to whatever you're trying to do. -- You received this message because you are subscribed to the Google Groups "golang-nuts" group.