Re: [9fans] various problems with installing go lang

2020-10-24 Thread Fazlul Shahriar
You don't need git. Try this:
% GO111MODULE=on go get github.com/henesy/disco

On Sat, Oct 24, 2020 at 1:32 AM  wrote:
>
> Since having the git rc script in either /bin/amd64, $home/bin or 
> $home/bin/rc didnt work
> i just had it put it in the same directory that i was running go get from
> it results in this ...
>
> term% go get github.com/henesy/disco
> # cd .; git clone -- https://github.com/henesy/disco 
> /usr/glenda/go/src/github.com/henesy/disco
> rc: git:2: syntax error
> package github.com/henesy/disco: exit status: 'git 569: syntax error'
>
> Do I have the wrong git? I compared this rc git wrapper to the one found on 
> 9legacy and it looks the same.
>
>
> 9fans / 9fans / see discussions + participants + delivery options Permalink

--
9fans: 9fans
Permalink: 
https://9fans.topicbox.com/groups/9fans/T80ee3327f2f3dc57-M8339a82acbe242653e04790a
Delivery options: https://9fans.topicbox.com/groups/9fans/subscription


Re: [9fans] various problems with installing go lang

2020-10-23 Thread Nick Owens
it probably doesn't work with newer go as it isn't well maintained. there
is no replacement for real git right now.

a contribution to git9 to do this would be welcome.

On Fri, Oct 23, 2020, 22:33  wrote:

> Since having the git rc script in either /bin/amd64, $home/bin or
> $home/bin/rc didnt work
> i just had it put it in the same directory that i was running go get from
> it results in this ...
>
> term% go get github.com/henesy/disco
> # cd .; git clone -- https://github.com/henesy/disco /usr/glenda/go/src/
> github.com/henesy/disco
> rc: git:2: syntax error
> package github.com/henesy/disco: exit status: 'git 569: syntax error'
>
> Do I have the wrong git? I compared this rc git wrapper to the one found
> on 9legacy and it looks the same.
>
>
> *9fans * / 9fans / see discussions
>  + participants
>  + delivery options
>  Permalink
> 
>

--
9fans: 9fans
Permalink: 
https://9fans.topicbox.com/groups/9fans/T80ee3327f2f3dc57-Ma8317a78d8ec02281fa027bb
Delivery options: https://9fans.topicbox.com/groups/9fans/subscription


Re: [9fans] various problems with installing go lang

2020-10-23 Thread nydldmcd2
Since having the git rc script in either /bin/amd64, $home/bin or $home/bin/rc 
didnt work
i just had it put it in the same directory that i was running go get from
it results in this ...

term% go get github.com/henesy/disco
# cd .; git clone -- https://github.com/henesy/disco 
/usr/glenda/go/src/github.com/henesy/disco 
rc: git:2: syntax error 
package github.com/henesy/disco: exit status: 'git 569: syntax error'

Do I have the wrong git? I compared this rc git wrapper to the one found on 
9legacy and it looks the same. 


--
9fans: 9fans
Permalink: 
https://9fans.topicbox.com/groups/9fans/T80ee3327f2f3dc57-M662e84a2602304b2c0303ace
Delivery options: https://9fans.topicbox.com/groups/9fans/subscription


Re: [9fans] various problems with installing go lang

2020-10-23 Thread Nick Owens
9front nor go come with a CA certificate bundle. a certificate bundle that
go can use can be downloaded at https://curl.haxx.se/docs/caextract.html.

On Fri, Oct 23, 2020, 21:16  wrote:

> Hi, for the past few days I have been wrestling with getting go lang to
> work on 9front (latest version)
> I have been referencing these guidelines:
> http://docs.9front.org/building-go
>
> here is a brief paste detailing what I did:
> https://dpaste.com/6D26TWPXA.txt
>
> go seems to run, go env and go version return their expected results. the
> problems come from actually trying to fetch things
>
> go get github.com/bwmarrin/discordgo
> go: golang.org/x/crypto@v0.0.0-20200622213623-75b288015ac9: Get 
> "https://proxy.golang.org/golang.org/x/crypto/@v/v0.0.0-20200622213623-75b288015ac9.mod":
>  x509: failed to load system roots and no roots provided; open 
> /sys/lib/tls/ca.pem: '/sys/lib/tls/ca.pem' does not exist
>
>
> Seems to be a tls issue?  There was supposedly a thread on the issue but
> it is gone and not in any archives that I know of...
> http://comments.gmane.org/gmane.os.plan9.general/74781 being the dead link
>
> *9fans * / 9fans / see discussions
>  + participants
>  + delivery options
>  Permalink
> 
>

--
9fans: 9fans
Permalink: 
https://9fans.topicbox.com/groups/9fans/T80ee3327f2f3dc57-M166b9969a86e9fe89d6e67f9
Delivery options: https://9fans.topicbox.com/groups/9fans/subscription


[9fans] various problems with installing go lang

2020-10-23 Thread nydldmcd2
Hi, for the past few days I have been wrestling with getting go lang to work on 
9front (latest version) 
I have been referencing these guidelines: http://docs.9front.org/building-go 

here is a brief paste detailing what I did: https://dpaste.com/6D26TWPXA.txt

go seems to run, go env and go version return their expected results. the 
problems come from actually trying to fetch things 

go get github.com/bwmarrin/discordgo
go: golang.org/x/crypto@v0.0.0-20200622213623-75b288015ac9: Get 
"https://proxy.golang.org/golang.org/x/crypto/@v/v0.0.0-20200622213623-75b288015ac9.mod":
 x509: failed to load system roots and no roots provided; open 
/sys/lib/tls/ca.pem: '/sys/lib/tls/ca.pem' does not exist

Seems to be a tls issue?  There was supposedly a thread on the issue but it is 
gone and not in any archives that I know of... 
http://comments.gmane.org/gmane.os.plan9.general/74781 being the dead link

--
9fans: 9fans
Permalink: 
https://9fans.topicbox.com/groups/9fans/T80ee3327f2f3dc57-M111deac6f99ad745a0a7e036
Delivery options: https://9fans.topicbox.com/groups/9fans/subscription