安装 Podman DNSname - 安装:无法统计“bin/dnsname”:没有这样的文件或目录

发布于 2025-01-16 22:29:31 字数 1031 浏览 3 评论 0原文

我对实际提出问题还很陌生,但现在就开始吧。

我一直在尝试按照安装指南添加 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 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(2

随遇而安 2025-01-23 22:29:31

好的!
所以托雷克在这里帮助了我。
我只需要运行:

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

一向肩并 2025-01-23 22:29:31

谢谢,基本上: https://github.com/containers/dnsname 中缺少/blob/main/README_PODMAN.md

sudo yum -y install dnsmasq
git clone https://github.com/containers/dnsname.git
cd dnsname
make PREFIX=/usr
sudo make install PREFIX=/usr

Thanks, so basically: missing from https://github.com/containers/dnsname/blob/main/README_PODMAN.md:

sudo yum -y install dnsmasq
git clone https://github.com/containers/dnsname.git
cd dnsname
make PREFIX=/usr
sudo make install PREFIX=/usr
~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文