linux安装yasm报错
Posted 冰柠檬的夏天
tags:
篇首语:本文由小常识网(cha138.com)小编为大家整理,主要介绍了linux安装yasm报错相关的知识,希望对你有一定的参考价值。
进入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报错的主要内容,如果未能解决你的问题,请参考以下文章
错误记录Ubuntu 编译 ffmpeg 报错 ( nasm/yasm not found or too old. Use --disable-x86asm for a crippled bu )