解决is not in the sudoers file. This incident will be reportetsudo make install这一步的时候出现xxx is not in the sudoers file. This incident will be reported的错误,原来是linux默认没有开启sudo权限,解决方法:#su - #chmod u+w /etc/sudoers #visudo 在root ALL=(ALL) ALLZ下添加xxx ALL=(ALL) ALL 然后按esc键,再输入:wq!保存退出#chmod u-w /etc/sudoers 问题解决!