Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Get fails on Ubuntu 16.04 #155

Open
jpmcneely opened this issue Apr 20, 2020 · 5 comments
Open

Get fails on Ubuntu 16.04 #155

jpmcneely opened this issue Apr 20, 2020 · 5 comments

Comments

@jpmcneely
Copy link

jpmcneely commented Apr 20, 2020

Running 'go get github.com/GeertJohan/go.rice' completes without issue.
Running 'go get github.com/GeertJohan/go.rice/rice' fails with the following:
`root@apps:~# go get github.com/GeertJohan/go.rice/rice

github.com/akavel/rsrc/coff

go/src/github.com/akavel/rsrc/coff/coff.go:169:18: undefined: pe.IMAGE_FILE_MACHINE_ARMNT
go/src/github.com/akavel/rsrc/coff/coff.go:265:7: undefined: pe.IMAGE_FILE_MACHINE_ARMNT
`
Since rsrc appears to be a Windows-specific project, there seems to be no reason why it should be called on a linux system.

@GeertJohan
Copy link
Owner

What version of Go are you using?

@jpmcneely
Copy link
Author

jpmcneely commented Apr 21, 2020

I have 1.11 for linux/amd64. I downloaded the tarball and built on the box. The default would have been 1.6, which I think is too old.

@GeertJohan
Copy link
Owner

I think Go 1.11 is quite old. I'm not 100% sure if it's the source of the issue you're having, but could you please try updating Go first? pe.IMAGE_FILE_MACHINE_ARMNT is a constant in the standard library and I guess it wasn't available in 1.11 yet.

@jpmcneely
Copy link
Author

I'll try an upgrade - Thank you very much.

@pravic
Copy link

pravic commented May 4, 2020

pe.IMAGE_FILE_MACHINE_ARMNT is a constant in the standard library and I guess it wasn't available in 1.11 yet.

@GeertJohan Is it possible to workaround this on older Go versions?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants