在RHEL4上构建FFmpeg [英] Building FFmpeg on RHEL4

查看:172
本文介绍了在RHEL4上构建FFmpeg的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述



我需要在RHEL4上构建FFmpeg ...是的,4!



RHEL4上的 make 版本是 3.80 ,在配置FFmpeg似乎不兼容时,生成 ./ configure 的Makefile。当我 make 它每次都会引发一个解析错误。



这个事情发生在我尝试的每一个软件pkg上



我的应用程序组(在工作中)不会升级本机,因此请跳过升级到RHEL5或6的建议。



我有什么选择安装FFmpeg?

解决方案

您的问题指出,进行适当的升级,升级系统的GNU Make包)是不成问题的。但是,由于您具有系统C编译器的权限,因此建议您创建GNU Make 3.82(最新和最好的)并将其安装在您的主目录中以供个人使用。



软件位于: http://mirrors.kernel.org/gnu/make/



解压,配置,构建和安装:

  ./ configure  - -prefix = $ HOME 
make
make install

请注意,最后一步不以'sudo'为前缀。这将安装'make'为〜/ bin / make。配置FFmpeg后,调用'〜/ bin / make',一切都应该正常。



我只是自己测试了。


StackOverflow has yet to fail me, so don't let me down this time!

I need to build FFmpeg on RHEL4 ... yes, 4!

The version of make on RHEL4 is 3.80, and the Makefile that ./configure generates when configuring FFmpeg does not seem to be compatible. When I make it throws a parse error every time.

This happens on pretty much every software pkg I try and build.

My applications group (at work) will not upgrade this machine, so please skip the suggestions to upgrade to RHEL5 or 6.

What are my options for installing FFmpeg?

解决方案

Your question specified that doing a proper upgrade (i.e., upgrading the system's GNU Make package) is out of the question. However, since you have privileges to the system C compiler, I recommend building GNU Make 3.82 (latest and greatest) and installing it in your home directory for personal use.

Software is at: http://mirrors.kernel.org/gnu/make/

Unpack it, configure, build, and install:

./configure --prefix=$HOME
make
make install

Note that the last step is not prefixed by 'sudo'. This will install 'make' as ~/bin/make. After configuring FFmpeg, call '~/bin/make` and everything should build fine.

I just tested this myself.

这篇关于在RHEL4上构建FFmpeg的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆