进入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
原文地址:https://www.cnblogs.com/Pan-xi-yi/p/11969862.html
时间: 2024-10-09 15:11:30