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

Failed to install #21

Open
marek22k opened this issue Apr 26, 2023 · 6 comments
Open

Failed to install #21

marek22k opened this issue Apr 26, 2023 · 6 comments

Comments

@marek22k
Copy link

$go get -u github.com/openrdap/rdap/cmd/rdap
go: gopkg.in/alecthomas/[email protected]: parsing go.mod:
	module declares its path as: github.com/alecthomas/kingpin/v2
	        but was required as: gopkg.in/alecthomas/kingpin.v2
$go version
go version go1.19.6 linux/amd64
@adamdecaf
Copy link
Contributor

The deps are pretty out of date in general. We'd need to update them all to fix install/build issues.

@frank42hh
Copy link

frank42hh commented May 10, 2023

Same here, but I would additionally mention this, which happens when using go > 1.17:

'go get' is no longer supported outside a module. To build and install a command, use 'go install' with a version, like 'go install example.com/cmd@latest'
[See the announcement here for details]

Not much of a problem with manual install (just needs the FAQ to be updated), but should be communicated to the package maintainers, because Manjaro pkg for example is still using "go get".

@adamdecaf
Copy link
Contributor

I've opened #22 to update Go and switch to Actions.

@adamdecaf
Copy link
Contributor

Does the rdap dependency install/update after the latest changes?

go get -u github.com/openrdap/rdap@master

@skip2
Copy link
Member

skip2 commented May 15, 2023

Both
go get -u github.com/openrdap/rdap@master
and
go install github.com/openrdap/rdap/cmd/rdap@master

work for me. (I updated README.md for the latter command to add @master).

@arekm
Copy link

arekm commented Jul 30, 2024

Is there a offline build procedure, too?

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

5 participants