码迷,mamicode.com
首页 > 系统相关 > 详细

linux安装yasm报错

时间:2019-12-02 13:32:25      阅读:154      评论:0      收藏:0      [点我收藏+]

标签:解决   install   管理   get   usr   failed   inux   ssi   进入   

进入yasm-1.2.0,

输入指令

./configure //编译yasm

make && make install   //安装yasm,安装完成即可。

报错信息

make[2]: Leaving directory '/home/star-net/srs/trunk/3rdparty/yasm-1.2.0/po'
Making install in .
make[2]: Entering directory '/home/star-net/srs/trunk/3rdparty/yasm-1.2.0'
make[3]: Entering directory '/home/star-net/srs/trunk/3rdparty/yasm-1.2.0'
test -z "/usr/local/bin" || /bin/mkdir -p "/usr/local/bin"
  /usr/bin/install -c yasm ytasm vsyasm '/usr/local/bin'
/usr/bin/install: cannot create regular file '/usr/local/bin/yasm': Permission denied
/usr/bin/install: cannot create regular file '/usr/local/bin/ytasm': Permission denied
/usr/bin/install: cannot create regular file '/usr/local/bin/vsyasm': Permission denied
Makefile:1829: recipe for target 'install-binPROGRAMS' failed

解决:

切换到超级管理员,再执行命令。

sudo su

linux安装yasm报错

标签:解决   install   管理   get   usr   failed   inux   ssi   进入   

原文地址:https://www.cnblogs.com/Pan-xi-yi/p/11969862.html

(0)
(0)
   
举报
评论 一句话评论(0
登录后才能评论!
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!