当我以某种方式从终端编译“lkl keylogger”时出现此错误。
rohit@rohit-Vostro-15-3568:~/Downloads/tor-browser_en-US/Browser/Downloads/lkl$ make install
make[1]: Entering directory '/home/rohit/Downloads/tor-browser_en-US/Browser/Downloads/lkl'
/bin/bash ./mkinstalldirs /usr/local/bin
/usr/bin/install -c lkl /usr/local/bin/lkl
/usr/bin/install: cannot create regular file '/usr/local/bin/lkl': Permission denied
Makefile:153: recipe for target 'install-binPROGRAMS' failed
make[1]: *** [install-binPROGRAMS] Error 1
make[1]: Leaving directory '/home/rohit/Downloads/tor-browser_en-US/Browser/Downloads/lkl'
Makefile:318: recipe for target 'install-am' failed
make: *** [install-am] Error 2
答案1
显然,您运行的用户没有安装该文件所需的权限:
/usr/bin/install: cannot create regular file '/usr/local/bin/lkl': Permission denied
运行make install
as root
,通过:
sudo make install