我正在尝试在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
有人能帮我找出这个错误的原因,并建议一个解决方案,以成功安装奇点?
1条答案
按热度按时间2wnc66cl1#
您的
builddir
可能有错误的权限。尝试删除它sudo rm -r builddir
,然后重新运行install命令。