我在我的RasPi上运行弓形臂,想安装圆孔.我在八月找到了https://aur.archlinux.org/packages/pi-hole-server/,克隆它需要一些依赖,它不能单独安装。好吧,我找到并安装了:
net-toolslogrotatefakerootbind-toolsstrip在使用pacman的普通arch存储库中,pi-hole-ftl也将从AUR安装。于是我克隆了回购程序,并执行了我得到的makepkg -si。
CMake Error: CMake was unable to find a build program corresponding to "Unix Makefiles". CMAKE_MAKE_PROGRAM is not set. You probably need to select a different build tool.好吧,我可以export CMAKE_MAKE_PROGRAM=/usr/bin/cmake,这似乎对此有所帮助,但我也得到了:
CMake Error: CMAKE_C_COMPILER not set, after EnableLanguageexport CMAKE_C_COMPILER=/usr/bin/gcc没有解决这个问题。为什么会这样呢?我怎么才能解决这个问题?
我有:
$ echo $CMAKE_C_COMPILER
/usr/bin/gccbase-delvel已经安装好了,我得到了:
warning: autoconf-2.69-7 is up to date -- reinstalling
warning: automake-1.16.2-3 is up to date -- reinstalling
warning: binutils-2.34-5 is up to date -- reinstalling
warning: bison-3.6.4-1 is up to date -- reinstalling
warning: fakeroot-1.24-2 is up to date -- reinstalling
warning: file-5.39-1 is up to date -- reinstalling
warning: findutils-4.7.0-2 is up to date -- reinstalling
warning: flex-2.6.4-3 is up to date -- reinstalling
warning: gawk-5.1.0-1 is up to date -- reinstalling
warning: gcc-10.1.0-2 is up to date -- reinstalling
warning: gettext-0.20.2-1 is up to date -- reinstalling
warning: grep-3.4-1 is up to date -- reinstalling
warning: groff-1.22.4-3 is up to date -- reinstalling
warning: gzip-1.10-3 is up to date -- reinstalling
warning: libtool-2.4.6+42+gb88cebd5-13 is up to date -- reinstalling
warning: m4-1.4.18-3 is up to date -- reinstalling
warning: make-4.3-3 is up to date -- reinstalling
warning: pacman-5.2.2-1 is up to date -- reinstalling
warning: patch-2.7.6-8 is up to date -- reinstalling
warning: pkgconf-1.7.3-1 is up to date -- reinstalling
warning: sed-4.8-1 is up to date -- reinstalling
warning: sudo-1.9.2-1 is up to date -- reinstalling
warning: texinfo-6.7-3 is up to date -- reinstalling
warning: which-2.21-5 is up to date -- reinstalling发布于 2020-08-16 15:13:33
最后,我从AUR克隆了yay,用makepkg -si安装了它(也需要pacman -S make),然后用yay安装了工作正常的pi-hole-server!
发布于 2020-08-16 03:45:46
如果您想要从AUR构建任何内容,则应该安装base-devel,因为大多数包都假定这个组中的所有内容都已安装,而不是将其作为依赖项添加。
https://unix.stackexchange.com/questions/604704
复制相似问题