本文介绍了即使安装了Yasm也找不到的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我遇到一个奇怪的问题.我尝试安装x264.当运行sudo ./configure --enable-shared时,它给出了:

I got a strange problem. I tried to install x264. When run sudo ./configure --enable-shared,it gave:

未找到汇编器最低版本是yasm-0.7.0如果您确实要在没有asm的情况下进行编译,请使用--disable-asm进行配置.

但是我已经安装了yasm-0.7.0,以证明我运行了yasm --version,它给出了:

But I already installed yasm-0.7.0 ,to prove that ,i run yasm --version,it gave:

* yasm 0.7.0.2066于2012年5月8日编译.版权所有(c)2001-2008 Peter Johnson和其他Yasm开发人员.运行yasm --license获取许可概述和摘要. *

*yasm 0.7.0.2066Compiled on May 8 2012.Copyright (c) 2001-2008 Peter Johnson and other Yasm developers.Run yasm --license for licensing overview and summary.*

我将yasm安装到/usr/local/yasm,为什么找不到Yasm?

I install yasm to /usr/local/yasm,Why can it not find yasm?

推荐答案

仅在有人从Google来到这里的情况下,才需要寻找最新的解决方案.

Just in case of someone got here from Google, looking for a recent solution.

x264的最新版本从yasm更改为nasm,因此破坏了一些FFMPEG安装脚本或教程.要检查是否存在这种情况,请查看输出.如果读取

Recent versions of x264 moved from yasm to nasm, hence breaking some FFMPEG install scripts or tutorials. To check if it is the case, look at the output. If it reads

Minimum version is nasm-2.13

然后您将安装nasm.在Ubuntu 16.04仓库中,有nasm 2.11.因此您必须遵循官方说明 http://www.linuxfromscratch.org/blfs/view/svn/general/nasm.html .

then you are to install nasm. In Ubuntu 16.04 repos there's nasm 2.11; so you'll have to build from sources, following official instruction http://www.linuxfromscratch.org/blfs/view/svn/general/nasm.html.

这篇关于即使安装了Yasm也找不到的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!

05-30 23:30