安装ffmpeg的x264包执行configure出错

yyang0514 2017-12-05 08:33:34
从git clone git://git.videolan.org/x264获取X264文件
虚拟机的安装路径为~/ffmpeg-source/x264
在执行./configure --enable-shared,提示错误信息为:
Found no assembler
Minimum version is nasm-2.13
If you really want to compile without asm, configure with --disable-asm.
[root@localhost x264]# ./configure --enable-shared
Found no assembler
Minimum version is nasm-2.13
If you really want to compile without asm, configure with --disable-asm.
从网上另外找了一个命令
./configure --prefix=/usr/local/x264 --enable-shared --enable-static --enable-yasm仍然提示错误
Unknown option --enable-yasm, ignored
Found no assembler
Minimum version is nasm-2.13
If you really want to compile without asm, configure with --disable-asm.
这个命令后面prefix参数是否错误?应该在什么地方修改。
请问如何参看configure 的参数?
麻烦帮我看一下,谢谢!
正确执行configure的命令应该是什么样子的,

...全文
3472 4 打赏 收藏 转发到动态 举报
写回复
用AI写文章
4 条回复
切换为时间正序
请发表友善的回复…
发表回复
xengine-qyt 2018-01-08
  • 打赏
  • 举报
回复
你吧 NASM 关了不就行了 .configure --disable-asm. 或者升级你的版本 下载新的编译
zxin1997 2018-01-06
  • 打赏
  • 举报
回复 2
Minimum version is nasm-2.13 版本过低。官网有安装教程,给你地址:https://trac.ffmpeg.org/wiki/CompilationGuide
幽饮烛 2017-12-13
  • 打赏
  • 举报
回复
需要安装高版本的nasm
jklinux 2017-12-10
  • 打赏
  • 举报
回复
这是因为你的系统是没装yasm, 所以./configure应当带参数 --disable-asm

23,125

社区成员

发帖
与我相关
我的任务
社区描述
Linux/Unix社区 应用程序开发区
社区管理员
  • 应用程序开发区社区
加入社区
  • 近7日
  • 近30日
  • 至今
社区公告
暂无公告

试试用AI创作助手写篇文章吧