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

/build.sh: line 114: cd: /go/src/: No such file or directory #229

Open
liuyibox opened this issue Nov 7, 2023 · 3 comments
Open

/build.sh: line 114: cd: /go/src/: No such file or directory #229

liuyibox opened this issue Nov 7, 2023 · 3 comments

Comments

@liuyibox
Copy link

liuyibox commented Nov 7, 2023

Hi,

Thanks for maintaining this helpful repo. After I docker pull docker pull techknowlogick/xgo:latest, I can see the image being pulled down as "techknowlogick/xgo latest b3158d187afa 2 hours ago 7.52GB". However, I cannot run a container with this images on my ubuntu desktop as the picture shows.

  1. Can you let me how I should proceed?
  2. I was trying to use your xgo for cross-compiling blockchain repositories (e.g., Ethereum) for android platforms. Do you think that would work? Thanks.

techknowlogick_xgo

@liuyibox
Copy link
Author

Can you add support of cross-compiling go repositories for Android and iOS platforms?

@hansgylling
Copy link

hansgylling commented Nov 17, 2023

I'm not part of the xgo project, but we use xgo, so I can help out a bit. The normal way to use xgo is to run a command line program called xgo. You're not supposed to run the docker image directly. The xgo program will handle the docker image. How to install the xgo command line program is described in the documentation (just go install).

Mobile OSes are not listed among the supported targets right now. I guess it would be a substantial amount of work to support that.

@mcandre
Copy link

mcandre commented Oct 5, 2024

Same error on my machine. Never had this problem with crazy-max/xgo, only techknowlogick/xgo.

Working around this oddity by citing the local directory name of the Go project with period (.) rather than the Go package name.

Until techknowlogick/xgo fixes this, the README should recommend the same.

By the way, the crazy-max/xgo flag -docker-image for custom images appears to be called -image in technologick/xgo.

And techknowlogick/xgo has no arm64 images, only amd64.

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