Closed pcolmer closed 4 years ago
I had the source for aws-smtp-relay
in the wrong place. Once it was in /home/ubuntu/go/src/github.com/blueimp
, the build worked.
Sorry for the noise
Hi @pcolmer, thanks for coming back and posting your solution.
For reference, it looks like you have an older Go version installed, one that does not yet support Go modules.
If you upgrade to a version that supports modules, you should be able to build this project from any folder (e.g. I'm developing from a folder which is not in the Go source path on my machine).
I'm trying to build
aws-smtp-relay
from source because I need an Arm-architecture version.I should start by saying that I know absolutely nothing about
go
or building software that usesgo
... but that may become readily apparent :)If I clone the git repository and try to build the software, I get these errors:
If I then run
go get
to fetch the missing packages and try again to build the software, I then get these errors:What steps do I need to take to correctly build the software? Curiously,
go get github.com/blueimp/aws-smtp-relay
does work but that isn't sufficient for me to be able to build a Docker image that I can then use on an Arm processor.Thanks.