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

Building from source is difficult #348

Open
vanrein opened this issue Apr 12, 2022 · 1 comment
Open

Building from source is difficult #348

vanrein opened this issue Apr 12, 2022 · 1 comment

Comments

@vanrein
Copy link

vanrein commented Apr 12, 2022

I love the design and actual use of acmetool but would like to include it into our ports tree by building from source. That would also help us cross-compile for Raspberry Pi.

Your otherwise excellent documentation just says "building from source is easy". Go is of course new territory to some, but while building v0.2.1 I am also encountering:

  • References to git.devever.net/hlandau/acmetool which does not exist
  • An import path from github.com/hlandau/acmetool/cli that I could not get to work by setting $GOROOT and/or $GOPATH
  • Apparent assumption that the source is in a directory named src and built with go build src/main.go so that a plain import cli can work
  • Failure to find standard library utilities, also after setting $GOPATH to either packages or sources

What I'm saying is that there seem to be assumptions about the environment in which the package is built that are useful to describe. Part of this may be my lack of experience programming with Go, but not everything, I suppose.

Could you please describe the building process? I would be happy to test-ride any text you might churn out.

@CL-Jeremy
Copy link

You could refer to either https://salsa.debian.org/go-team/packages/acmetool/-/blob/master/debian/rules or my Homebrew/Linuxbrew repo https://github.com/CL-Jeremy/homebrew-acmetool-v2/blob/master/Formula/acmetool.rb. I don't think anything has changed since last maintenance.

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

2 participants