make测试的权限被拒绝

webghufk  于 2021-06-08  发布在  Redis
关注(0)|答案(0)|浏览(260)

有人知道为什么在安装过程中 Redis 我在运行时遇到这些错误 make test 在我已经跑了之后 sudo apt install build-esential ```
$ make test
cd src && make test
make[1]: Entering directory '/home/alek/redis-6.0.8/src'
touch: cannot touch 'release.h': Permission denied
...
touch: cannot touch 'release.c': Permission denied
/bin/sh: 1: pkg-config: not found
...
CC Makefile.dep
/bin/sh: 1: cannot create Makefile.dep: Permission denied
...
echo STD=-std=c11 -pedantic -DREDIS_STATIC='' >> .make-settings
/bin/sh: 1: cannot create .make-settings: Permission denied

如果这有帮助:

$ make --version
GNU Make 4.2.1
Built for x86_64-pc-linux-gnu

暂无答案!

目前还没有任何答案,快来回答吧!

相关问题