Go语言 运行时Singularity 3.11.0安装失败,/mconfig

ezykj2lf  于 2023-09-28  发布在  Go
关注(0)|答案(1)|浏览(121)

我正在尝试在Ubuntu 20.04 LTS上安装Singularity 3.11.0版,请按照此链接中提供的说明进行操作。但是,当我运行./mconfig命令时,安装失败,并出现以下错误:

bool876@bool876:~/singularity-ce-3.11.0$ go version
go version go1.20.1 linux/amd64
bool876@bool876:~/singularity-ce-3.11.0$ ./mconfig && \
>     make -C builddir && \
>     sudo make -C builddir install
rm: cannot remove '/home/bool876/singularity-ce-3.11.0/builddir/config.h': Permission denied
rm: cannot remove '/home/bool876/singularity-ce-3.11.0/builddir/config.c': Permission denied
rm: cannot remove '/home/bool876/singularity-ce-3.11.0/builddir/makeit-intermediate/base.mk': Permission denied
rm: cannot remove '/home/bool876/singularity-ce-3.11.0/builddir/makeit-intermediate/testprogs': Permission denied

有人能帮我找出这个错误的原因,并建议一个解决方案,以成功安装奇点?

2wnc66cl

2wnc66cl1#

您的builddir可能有错误的权限。尝试删除它sudo rm -r builddir,然后重新运行install命令。

相关问题