openrdap / rdap

RDAP command line client
https://www.openrdap.org
MIT License
221 stars 32 forks source link

Failed to install #21

Open marek22k opened 1 year ago

marek22k commented 1 year ago
$go get -u github.com/openrdap/rdap/cmd/rdap
go: gopkg.in/alecthomas/kingpin.v2@v2.3.2: 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 commented 1 year ago

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

frank42hh commented 1 year ago

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 commented 1 year ago

I've opened https://github.com/openrdap/rdap/pull/22 to update Go and switch to Actions.

adamdecaf commented 1 year ago

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

go get -u github.com/openrdap/rdap@master
skip2 commented 1 year ago

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 commented 2 months ago

Is there a offline build procedure, too?