当前位置: 首页 > 工具软件 > Yasm > 使用案例 >

linux yasm编译,linux安装yasm报错

曹建华
2023-12-01

进入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

 类似资料: