GNU assembler not found, install/update gas-preprocessor

        iOS编译ffmpeg库 遇到GNU assembler not found, install/update gas-preprocessor  If you think configure made a mistake, make sure you are using the latest version from Git.If the latest version fails, report the problem to the [email protected] mailing list or IRC #ffmpeg on irc.freenode.net. Include the log file "config.log" produced by configure as this will help solve the problem问题。

GNU assembler not found, install/update gas-preprocessor_第1张图片

直接上方法:下载gas-preprocessor,地址:https://github.com/libav/gas-preprocessor   下载后直接解压。将gas-preprocessor.pl复制到/usr/local/bin   然后执行命令行,chmod 777 /usr/local/bin/gas-preprocessor.pl   获得权限。

遇到的坑:下载gas-preprocessor.pl时开始在网上找到地址是  https://github.com/mansr/gas-preprocessor ,解压后文件夹中只有2个文件。然后复制获得权限之后重新编译ffmpeg库还是会遇到同样的问题,开机重启也不起作用。后来看到http://www.360doc.com/content/14/0121/16/13084517_346905472.shtml  受到启发是不是ffmpeg库版本不一样所以脚本文件也会有不同版本,所以又在网上搜解决办法,找到了不同的下载脚本地址,并尝试终于成功。对于网上说的是复制到/usr/bin 或者/usr/sbin即使使用sudo都未能成功。网上有开启权限的方法,本人不建议尝试。(出处:http://blog.csdn.net/a547720714/article/details/52678643   因为他只说了屏蔽做法,没有写开启方法,万一不能开启不就费了。)所以就复制到了/usr/local/bin  可行。只是脚本版本的问题导致没有解决。

GNU assembler not found, install/update gas-preprocessor_第2张图片

你可能感兴趣的:(GNU assembler not found, install/update gas-preprocessor)