使用MacPorts安装FFmpeg时,使用依赖项x264遇到了一个错误:
...
---> Computing dependencies for ffmpeg
---> Dependencies to be installed: x264
---> Configuring x264
Error: Failed to configure x264, consult /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_multimedia_x264/x264/work/x264-956c8d8/config.log
Error: org.macports.configure for port x264 returned: configure failure: command execution failed
Error: Failed to install x264
...即使在更新和升级其他所有内容之后,...which仍然存在。
发布于 2015-01-01 22:53:00
为了用函数式(但可能不推荐)攻击来回答我自己的问题,我按照上面的错误消息所建议的那样咨询了..and。根据日志,问题在于clang不支持-falign-loops选项。x264在注释掉了包含“falign循环”的两个配置行之后成功地构建了它。在这里找到了配置文件:
/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_multimedia_x264/x264/work/x264-956c8d8/configure在注释掉这两个有问题的行之后,port install x264完美地工作了。
https://stackoverflow.com/questions/27735432
复制相似问题