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

相关文章:

  • 2022-12-23
  • 2021-06-07
  • 2022-02-07
  • 2022-12-23
  • 2022-01-21
  • 2021-07-24
  • 2021-06-17
  • 2022-12-23
猜你喜欢
  • 2021-09-20
  • 2021-11-18
  • 2021-04-05
  • 2021-06-11
  • 2022-02-27
  • 2022-01-21
相关资源
相似解决方案