簡體   English   中英

安裝 Podman DNSname - install: cannot stat 'bin/dnsname': 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.

 
粵ICP備18138465號  © 2020-2024 STACKOOM.COM