Skip to content

Installation instructions failing #4

@phlummox

Description

@phlummox

I've been attempting to install podman-proxy by following the current installation instructions, which say to run

$ go install github.com/Dadard29/podman-proxy

However, using recent versions of go (I tried versions 1.17.1 and 1.19.1), this results in the error message:

go install: version is required when current directory is not in a module
	Try 'go install github.com/Dadard29/podman-proxy@latest' to install the latest version

Do the installation instructions need to be updated to reflect this?

If I follow the suggestion in the error message, add @latest to the URL, and run go install github.com/Dadard29/podman-proxy@latest, installation still fails: after the usual messages about packages downloading, go reports:

# pkg-config --cflags  -- devmapper
Package devmapper was not found in the pkg-config search path.
Perhaps you should add the directory containing `devmapper.pc'
to the PKG_CONFIG_PATH environment variable
No package 'devmapper' found
pkg-config: exit status 1
# github.com/mtrmac/gpgme
/go/pkg/mod/github.com/mtrmac/gpgme@v0.1.2/data.go:4:11: fatal error: gpgme.h: No such file or directory
    4 | // #include <gpgme.h>
      |           ^~~~~~~~~
compilation terminated.

I am assuming from this that podman-proxy has C library dependencies which aren't stated in the README. Could the installation documentation be updated to state what the prerequisites for a successful build are?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions