安装 Podman DNSname - 安装:无法统计“bin/dnsname”:没有这样的文件或目录
我对实际提出问题还很陌生,但现在就开始吧。
我一直在尝试按照安装指南添加 dnsname:
https://github.com/containers/dnsname
https://github.com/containers/dnsname/blob/main/README_PODMAN。 md
我在这一步中遇到了问题:
make install PREFIX=/usr -- this will install the dnsname plugin into /usr/libexec/cni where your CNI plugins should already exist.
当我尝试运行它时,我收到此错误:
theuser@thecomputer:/usr/bin/dnsname$ make install PREFIX=/usr
install -d -m 755 /usr/libexec/cni
install -m 755 bin/dnsname /usr/libexec/cni/dnsname
install: cannot stat 'bin/dnsname': No such file or directory
make: *** [Makefile:76: install] Error 1
我也尝试在 ~ 中运行它,但这不会改变任何内容。我不知道该怎么做,因为我没有经常安装 Git 二进制文件(如果有的话)。我通过搜索来了解我缺少的步骤或未安装的部分,但没有找到任何内容。
我正在跑步:
Ubuntu 21.10
我已确保安装: make 及其依赖项
去
podman
域名解析
I am new to actually posing questions but here ya go.
I have been attempting to follow the install guide to add dnsname:
https://github.com/containers/dnsname
https://github.com/containers/dnsname/blob/main/README_PODMAN.md
I am having a problem though with this step:
make install PREFIX=/usr -- this will install the dnsname plugin into /usr/libexec/cni where your CNI plugins should already exist.
when I try to run it I get this error:
theuser@thecomputer:/usr/bin/dnsname$ make install PREFIX=/usr
install -d -m 755 /usr/libexec/cni
install -m 755 bin/dnsname /usr/libexec/cni/dnsname
install: cannot stat 'bin/dnsname': No such file or directory
make: *** [Makefile:76: install] Error 1
Ive tried running it in ~ as well but that doesnt change anything. I am lost as what to do as I have not installed Git Binaries very often (if at all). I haven't found anything by searching to understand what step I am missing or piece I don't have installed.
I am running:
Ubuntu 21.10
I have made sure to install:
make and its dependencies
go
podman
dnsmasq
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(2)
好的!
所以托雷克在这里帮助了我。
我只需要运行:
make PREFIX=/usr
之前的目录中
在make install PREFIX=/usr
OK!
so torek helped me here.
I needed to run just:
make PREFIX=/usr
in the directory BEFORE
make install PREFIX=/usr
谢谢,基本上: https://github.com/containers/dnsname 中缺少/blob/main/README_PODMAN.md:
Thanks, so basically: missing from https://github.com/containers/dnsname/blob/main/README_PODMAN.md: