![](/img/trans.png)
[英]Cannot install NodeJs: /usr/bin/env: node: No such file or directory
[英]Installing Podman DNSname - install: cannot stat 'bin/dnsname': No such file or directory
我是实际提出问题的新手,但这里是 go。
我一直在尝试按照安装指南添加 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 及其依赖项
go
播客
DNSmasq
好的。 所以 torek 在这里帮助了我:我只需要运行:
使 PREFIX=/usr
在之前的目录中
安装前缀=/usr
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.